Vendor leaflet.locatecontrol
This commit is contained in:
parent
12c4ce6147
commit
c4415e1e99
6 changed files with 3253 additions and 1072 deletions
1
Makefile
1
Makefile
|
@ -41,6 +41,7 @@ vendors:
|
||||||
mkdir -p umap/static/umap/vendors/georsstogeojson/ && cp -r node_modules/georsstogeojson/GeoRSSToGeoJSON.js umap/static/umap/vendors/georsstogeojson/
|
mkdir -p umap/static/umap/vendors/georsstogeojson/ && cp -r node_modules/georsstogeojson/GeoRSSToGeoJSON.js umap/static/umap/vendors/georsstogeojson/
|
||||||
mkdir -p umap/static/umap/vendors/togpx/ && cp -r node_modules/togpx/togpx.js umap/static/umap/vendors/togpx/
|
mkdir -p umap/static/umap/vendors/togpx/ && cp -r node_modules/togpx/togpx.js umap/static/umap/vendors/togpx/
|
||||||
mkdir -p umap/static/umap/vendors/tokml && cp -r node_modules/tokml/tokml.js umap/static/umap/vendors/tokml
|
mkdir -p umap/static/umap/vendors/tokml && cp -r node_modules/tokml/tokml.js umap/static/umap/vendors/tokml
|
||||||
|
mkdir -p umap/static/umap/vendors/locatecontrol/ && cp -r node_modules/leaflet.locatecontrol/{dist/L.Control.Locate.css,src/L.Control.Locate.js} umap/static/umap/vendors/locatecontrol/
|
||||||
installjs:
|
installjs:
|
||||||
npm install
|
npm install
|
||||||
testjsfx:
|
testjsfx:
|
||||||
|
|
4320
package-lock.json
generated
4320
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -48,6 +48,7 @@
|
||||||
"leaflet-minimap": "^3.6.1",
|
"leaflet-minimap": "^3.6.1",
|
||||||
"leaflet-toolbar": "umap-project/Leaflet.toolbar",
|
"leaflet-toolbar": "umap-project/Leaflet.toolbar",
|
||||||
"leaflet.heat": "0.2.0",
|
"leaflet.heat": "0.2.0",
|
||||||
|
"leaflet.locatecontrol": "^0.78.0",
|
||||||
"leaflet.markercluster": "^1.4.0",
|
"leaflet.markercluster": "^1.4.0",
|
||||||
"leaflet.path.drag": "0.0.6",
|
"leaflet.path.drag": "0.0.6",
|
||||||
"leaflet.photon": "0.8.0",
|
"leaflet.photon": "0.8.0",
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
<script src="../vendors/toolbar/leaflet.toolbar-src.js"></script>
|
<script src="../vendors/toolbar/leaflet.toolbar-src.js"></script>
|
||||||
<script src="../vendors/formbuilder/Leaflet.FormBuilder.js"></script>
|
<script src="../vendors/formbuilder/Leaflet.FormBuilder.js"></script>
|
||||||
<script src="../vendors/measurable/Leaflet.Measurable.js"></script>
|
<script src="../vendors/measurable/Leaflet.Measurable.js"></script>
|
||||||
|
<script src="../vendors/locatecontrol/L.Control.Locate.js"></script>
|
||||||
<script src="../js/umap.core.js"></script>
|
<script src="../js/umap.core.js"></script>
|
||||||
<script src="../js/umap.autocomplete.js"></script>
|
<script src="../js/umap.autocomplete.js"></script>
|
||||||
<script src="../js/umap.popup.js"></script>
|
<script src="../js/umap.popup.js"></script>
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}umap/vendors/toolbar/leaflet.toolbar.css" />
|
<link rel="stylesheet" href="{{ STATIC_URL }}umap/vendors/toolbar/leaflet.toolbar.css" />
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}umap/vendors/measurable/Leaflet.Measurable.css" />
|
<link rel="stylesheet" href="{{ STATIC_URL }}umap/vendors/measurable/Leaflet.Measurable.css" />
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}umap/vendors/fullscreen/leaflet.fullscreen.css" />
|
<link rel="stylesheet" href="{{ STATIC_URL }}umap/vendors/fullscreen/leaflet.fullscreen.css" />
|
||||||
|
<link rel="stylesheet" href="{{ STATIC_URL }}umap/vendors/locatecontrol/L.Control.Locate.css" />
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}umap/font.css">
|
<link rel="stylesheet" href="{{ STATIC_URL }}umap/font.css">
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}umap/base.css">
|
<link rel="stylesheet" href="{{ STATIC_URL }}umap/base.css">
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}umap/content.css">
|
<link rel="stylesheet" href="{{ STATIC_URL }}umap/content.css">
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
<script src="{{ STATIC_URL }}umap/vendors/measurable/Leaflet.Measurable.js"></script>
|
<script src="{{ STATIC_URL }}umap/vendors/measurable/Leaflet.Measurable.js"></script>
|
||||||
<script src="{{ STATIC_URL }}umap/vendors/togpx/togpx.js"></script>
|
<script src="{{ STATIC_URL }}umap/vendors/togpx/togpx.js"></script>
|
||||||
<script src="{{ STATIC_URL }}umap/vendors/tokml/tokml.js"></script>
|
<script src="{{ STATIC_URL }}umap/vendors/tokml/tokml.js"></script>
|
||||||
|
<script src="{{ STATIC_URL }}umap/vendors/locatecontrol/L.Control.Locate.js"></script>
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
{% if locale %}
|
{% if locale %}
|
||||||
<script src="{{ STATIC_URL }}umap/locale/{{ locale }}.js"></script>
|
<script src="{{ STATIC_URL }}umap/locale/{{ locale }}.js"></script>
|
||||||
|
|
Loading…
Reference in a new issue