]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/assets/leaflet/leaflet.js
Update leaflet to 1.3.1
[rails.git] / vendor / assets / leaflet / leaflet.js
index fff1e831cc5c51edfed4859b5526e9155166bf8f..63f6fb790cac8c3a9674ea57f9b47edcf5611e5a 100644 (file)
@@ -1,5 +1,5 @@
 /* @preserve
- * Leaflet 1.3.0, a JS library for interactive maps. http://leafletjs.com
+ * Leaflet 1.3.1, a JS library for interactive maps. http://leafletjs.com
  * (c) 2010-2017 Vladimir Agafonkin, (c) 2010-2011 CloudMade
  */
 
@@ -9,7 +9,7 @@
        (factory((global.L = {})));
 }(this, (function (exports) { 'use strict';
 
-var version = "1.3.0";
+var version = "1.3.1";
 
 /*
  * @namespace Util
@@ -11498,7 +11498,7 @@ var TileLayer = GridLayer.extend({
                        s: this._getSubdomain(coords),
                        x: coords.x,
                        y: coords.y,
-                       z: coords.z ? coords.z : this._getZoomForUrl()
+                       z: this._getZoomForUrl()
                };
                if (this._map && !this._map.options.crs.infinite) {
                        var invertedY = this._globalTileRange.max.y - coords.y;