Update leaflet to 1.3.1
This commit is contained in:
parent
80c83be68d
commit
56448b50d0
2 changed files with 6 additions and 6 deletions
|
@ -11,13 +11,13 @@ folder 'vendor/assets' do
|
|||
end
|
||||
|
||||
folder 'leaflet' do
|
||||
file 'leaflet.js', 'https://unpkg.com/leaflet@1.3.0/dist/leaflet-src.js'
|
||||
file 'leaflet.css', 'https://unpkg.com/leaflet@1.3.0/dist/leaflet.css'
|
||||
file 'leaflet.js', 'https://unpkg.com/leaflet@1.3.1/dist/leaflet-src.js'
|
||||
file 'leaflet.css', 'https://unpkg.com/leaflet@1.3.1/dist/leaflet.css'
|
||||
|
||||
[ 'layers.png', 'layers-2x.png',
|
||||
'marker-icon.png', 'marker-icon-2x.png',
|
||||
'marker-shadow.png' ].each do |image|
|
||||
file "images/#{image}", "https://unpkg.com/leaflet@1.3.0/dist/images/#{image}"
|
||||
file "images/#{image}", "https://unpkg.com/leaflet@1.3.1/dist/images/#{image}"
|
||||
end
|
||||
|
||||
from 'git://github.com/aratcliffe/Leaflet.contextmenu.git', :tag => 'v1.5.0' do
|
||||
|
|
6
vendor/assets/leaflet/leaflet.js
vendored
6
vendor/assets/leaflet/leaflet.js
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue