Store return value from wrapLatLngBounds (#5715)

Fixes #5536.
carto
Per Liedman 7 years ago committed by Vladimir Agafonkin
parent 14a2e94c9d
commit a5e03adb45

@ -745,7 +745,7 @@ export var GridLayer = Layer.extend({
bounds = new LatLngBounds(nw, se);
if (!this.options.noWrap) {
map.wrapLatLngBounds(bounds);
bounds = map.wrapLatLngBounds(bounds);
}
return bounds;

Loading…
Cancel
Save