Browse Source

Update leaflet-locatecontrol

- revert to npm package - see also 7d2e2383b2
master
parent
commit
a6c181ecee
  1. 2
      index.php
  2. 5
      package-lock.json
  3. 2
      package.json

2
index.php

@ -45,7 +45,7 @@ html_export_var(array(
<link rel="stylesheet" href="node_modules/leaflet.locatecontrol/dist/L.Control.Locate.min.css" />
<link rel="stylesheet" href="node_modules/leaflet.polylinemeasure/Leaflet.PolylineMeasure.css" />
<script src="node_modules/leaflet/dist/leaflet.js"></script>
<script src="node_modules/leaflet.locatecontrol/src/L.Control.Locate.js"></script>
<script src="node_modules/leaflet.locatecontrol/dist/L.Control.Locate.min.js"></script>
<script src="node_modules/leaflet-textpath/leaflet.textpath.js"></script>
<script src="node_modules/leaflet-polylineoffset/leaflet.polylineoffset.js"></script>
<script src="node_modules/leaflet.polylinemeasure/Leaflet.PolylineMeasure.js"></script>

5
package-lock.json

@ -4779,8 +4779,9 @@
}
},
"leaflet.locatecontrol": {
"version": "git+https://github.com/plepe/leaflet-locatecontrol.git#ff034f7fc600dcf7ac7d1301949d3ca8d1a7ef23",
"from": "git+https://github.com/plepe/leaflet-locatecontrol.git#initialZoomLevel"
"version": "0.72.0",
"resolved": "https://registry.npmjs.org/leaflet.locatecontrol/-/leaflet.locatecontrol-0.72.0.tgz",
"integrity": "sha512-enAf10UG9Z1bV0siTP/+vG/ZVncDqSA3V8c6iZ3s6KWL5Ngkk4A4mk9Ssefj46ey98I9HSYWqoS+k2Y7EaKjwQ=="
},
"leaflet.polylinemeasure": {
"version": "git+https://github.com/ppete2/Leaflet.PolylineMeasure.git#b85a4b9d3541e4339f9b25ca2264f5af8b42344d",

2
package.json

@ -28,7 +28,7 @@
"leaflet-geosearch": "^2.4.0",
"leaflet-polylineoffset": "^1.1.0",
"leaflet-textpath": "git+https://github.com/makinacorpus/Leaflet.TextPath.git#leaflet0.8-dev",
"leaflet.locatecontrol": "git+https://github.com/plepe/leaflet-locatecontrol.git#initialZoomLevel",
"leaflet.locatecontrol": "^0.72.0",
"leaflet.polylinemeasure": "git+https://github.com/ppete2/Leaflet.PolylineMeasure.git",
"md5": "^2.2.1",
"measure-ts": "^3.3.2",

Loading…
Cancel
Save