Round zoom for flyto float values
This commit is contained in:
parent
813b3b60dc
commit
4cfbe82ae1
@ -110,6 +110,8 @@ L.Mixin.TileLoader = {
|
||||
center = bounds.getCenter(),
|
||||
zoom = this._map.getZoom();
|
||||
|
||||
zoom = Math.round(zoom);
|
||||
|
||||
var j, i, point;
|
||||
|
||||
for (j = bounds.min.y; j <= bounds.max.y; j++) {
|
||||
|
Loading…
Reference in New Issue
Block a user