diff --git a/src/map/anim/Map.FlyTo.js b/src/map/anim/Map.FlyTo.js index d9af494e..81128f1a 100644 --- a/src/map/anim/Map.FlyTo.js +++ b/src/map/anim/Map.FlyTo.js @@ -9,6 +9,7 @@ L.Map.include({ size = this.getSize(), startZoom = this._zoom; + targetCenter = L.latLng(targetCenter); targetZoom = targetZoom === undefined ? startZoom : targetZoom; var w0 = Math.max(size.x, size.y),