]> git.openstreetmap.org Git - rails.git/blob - Vendorfile
Update Leaflet
[rails.git] / Vendorfile
1 folder 'vendor/assets' do
2   folder 'leaflet' do
3     from 'https://github.com/CloudMade/Leaflet.git' do
4       file 'leaflet.css',    'dist/leaflet.css'
5       file 'leaflet.ie.css', 'dist/leaflet.ie.css'
6       file 'leaflet.js',     'dist/leaflet-src.js'
7       folder 'images', 'dist/images'
8     end
9
10     from 'https://github.com/jfirebaugh/leaflet-locationfilter.git', :branch => 'osm' do
11       file 'leaflet.locationfilter.css', 'src/locationfilter.css'
12       file 'leaflet.locationfilter.js',  'src/locationfilter.js'
13       folder 'img', 'src/img'
14     end
15
16     file 'leaflet.pan.js',  'https://raw.github.com/kartena/Leaflet.Pancontrol/master/src/L.Control.Pan.js'
17     file 'leaflet.zoom.js', 'https://raw.github.com/kartena/Leaflet.zoomslider/master/src/L.Control.Zoomslider.js'
18     # CSS and sprite image are our own
19
20     from 'https://github.com/jfirebaugh/leaflet-osm.git' do
21       file 'leaflet.osm.js', 'leaflet-osm.js'
22     end
23   end
24 end