Skip to content

Commit

Permalink
Update to leaflet 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Aug 9, 2017
1 parent 9ed1fe2 commit ff7244d
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 54 deletions.
6 changes: 3 additions & 3 deletions Vendorfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ folder 'vendor/assets' do
end

folder 'leaflet' do
file 'leaflet.js', 'https://unpkg.com/leaflet@1.1.0/dist/leaflet-src.js'
file 'leaflet.css', 'https://unpkg.com/leaflet@1.1.0/dist/leaflet.css'
file 'leaflet.js', 'https://unpkg.com/leaflet@1.2.0/dist/leaflet-src.js'
file 'leaflet.css', 'https://unpkg.com/leaflet@1.2.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.1.0/dist/images/#{image}"
file "images/#{image}", "https://unpkg.com/leaflet@1.2.0/dist/images/#{image}"
end

from 'git://github.com/aratcliffe/Leaflet.contextmenu.git', :tag => 'v1.2.1' do
Expand Down
1 change: 1 addition & 0 deletions vendor/assets/leaflet/leaflet.css
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@
}
.leaflet-control-layers-scrollbar {
overflow-y: scroll;
overflow-x: hidden;
padding-right: 5px;
}
.leaflet-control-layers-selector {
Expand Down
Loading

0 comments on commit ff7244d

Please sign in to comment.