Use leaflet.locatecontrol plugin to have a "show my position" button below zoom buttons
This commit is contained in:
parent
66abb83c60
commit
a74894824a
5 changed files with 17 additions and 10 deletions
|
|
@ -21,7 +21,8 @@
|
|||
"bootbox": "~4.4.0",
|
||||
"seiyria-bootstrap-slider": "~4.8.1",
|
||||
"url-search-params": "~0.5.0",
|
||||
"Leaflet.RestoreView": "makinacorpus/Leaflet.RestoreView#master"
|
||||
"Leaflet.RestoreView": "makinacorpus/Leaflet.RestoreView#master",
|
||||
"leaflet.locatecontrol": "^0.52.0"
|
||||
},
|
||||
"overrides": {
|
||||
"leaflet": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue