Update to Leaflet 0.7

This commit is contained in:
Tom Hughes 2013-11-18 17:34:22 +00:00
parent 41e45bad51
commit 214ff28cd9
6 changed files with 749 additions and 526 deletions

View file

@ -9,14 +9,13 @@ folder 'vendor/assets' do
end
folder 'leaflet' do
file 'leaflet.js', 'http://cdn.leafletjs.com/leaflet-0.6.3/leaflet-src.js'
file 'leaflet.css', 'http://cdn.leafletjs.com/leaflet-0.6.3/leaflet.css'
file 'leaflet.ie.css', 'http://cdn.leafletjs.com/leaflet-0.6.3/leaflet.ie.css'
file 'leaflet.js', 'http://cdn.leafletjs.com/leaflet-0.7/leaflet-src.js'
file 'leaflet.css', 'http://cdn.leafletjs.com/leaflet-0.7/leaflet.css'
[ 'layers.png', 'layers-2x.png',
'marker-icon.png', 'marker-icon-2x.png',
'marker-shadow.png' ].each do |image|
file "images/#{image}", "http://cdn.leafletjs.com/leaflet-0.6.3/images/#{image}"
file "images/#{image}", "http://cdn.leafletjs.com/leaflet-0.7/images/#{image}"
end
from 'git://github.com/kajic/leaflet-locationfilter.git' do