parent
14a2e94c9d
commit
a5e03adb45
@ -745,7 +745,7 @@ export var GridLayer = Layer.extend({
|
|||||||
bounds = new LatLngBounds(nw, se);
|
bounds = new LatLngBounds(nw, se);
|
||||||
|
|
||||||
if (!this.options.noWrap) {
|
if (!this.options.noWrap) {
|
||||||
map.wrapLatLngBounds(bounds);
|
bounds = map.wrapLatLngBounds(bounds);
|
||||||
}
|
}
|
||||||
|
|
||||||
return bounds;
|
return bounds;
|
||||||
|
Loading…
Reference in New Issue
Block a user