Update leaflet to 1.6.0

This commit is contained in:
Simon Legner 2020-04-01 00:28:25 +02:00
parent b5c778b662
commit da07b633c2
2 changed files with 92 additions and 32 deletions

View file

@ -11,13 +11,13 @@ folder 'vendor/assets' do
end
folder 'leaflet' do
file 'leaflet.js', 'https://unpkg.com/leaflet@1.5.1/dist/leaflet-src.js'
file 'leaflet.css', 'https://unpkg.com/leaflet@1.5.1/dist/leaflet.css'
file 'leaflet.js', 'https://unpkg.com/leaflet@1.6.0/dist/leaflet-src.js'
file 'leaflet.css', 'https://unpkg.com/leaflet@1.6.0/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.5.1/dist/images/#{image}"
file "images/#{image}", "https://unpkg.com/leaflet@1.6.0/dist/images/#{image}"
end
from 'git://github.com/aratcliffe/Leaflet.contextmenu.git', :tag => 'v1.5.0' do