Update to leaflet 1.0.2

This commit is contained in:
Tom Hughes 2016-11-21 13:17:39 +00:00
parent d17ecc9b83
commit 72855280e7
3 changed files with 1178 additions and 1051 deletions

View file

@ -11,13 +11,13 @@ folder 'vendor/assets' do
end
folder 'leaflet' do
file 'leaflet.js', 'https://unpkg.com/leaflet@1.0.1/dist/leaflet-src.js'
file 'leaflet.css', 'https://unpkg.com/leaflet@1.0.1/dist/leaflet.css'
file 'leaflet.js', 'https://unpkg.com/leaflet@1.0.2/dist/leaflet-src.js'
file 'leaflet.css', 'https://unpkg.com/leaflet@1.0.2/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.0.1/dist/images/#{image}"
file "images/#{image}", "https://unpkg.com/leaflet@1.0.2/dist/images/#{image}"
end
from 'git://github.com/kajic/leaflet-locationfilter.git' do

View file

@ -5,8 +5,8 @@
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-map-pane svg,
.leaflet-map-pane canvas,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
@ -43,6 +43,7 @@
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg,
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer {
max-width: none !important;

File diff suppressed because it is too large Load diff