Merge pull request #286 from CartoDB/zoom-round-fix
Round zoom for flyto float values
This commit is contained in:
commit
03bc7695a3
@ -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