Use leaflet.restoreview.js plugin to save and restore last user's map position between sessions (#48)
This commit is contained in:
parent
42d04e52c2
commit
66abb83c60
5 changed files with 69 additions and 63 deletions
|
|
@ -20,7 +20,8 @@
|
|||
"Leaflet.EasyButton": "*",
|
||||
"bootbox": "~4.4.0",
|
||||
"seiyria-bootstrap-slider": "~4.8.1",
|
||||
"url-search-params": "~0.5.0"
|
||||
"url-search-params": "~0.5.0",
|
||||
"Leaflet.RestoreView": "makinacorpus/Leaflet.RestoreView#master"
|
||||
},
|
||||
"overrides": {
|
||||
"leaflet": {
|
||||
|
|
@ -79,6 +80,9 @@
|
|||
},
|
||||
"url-search-params": {
|
||||
"main": "build/url-search-params.js"
|
||||
},
|
||||
"Leaflet.RestoreView": {
|
||||
"main": "leaflet.restoreview.js"
|
||||
}
|
||||
},
|
||||
"resolutions": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue