Skip to content
Snippets Groups Projects
Commit 785b7a67 authored by Roang's avatar Roang
Browse files

Merge branch 'fix/603' into 'develop'

Fix default marker icon path

Closes #603

See merge request hub/hub!1035
parents a4090d98 8382ba20
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
window.addEventListener("load", function () { window.addEventListener("load", function () {
const initial_floor_idx = {% if floor_id %}document.getElementById('{{ floor_id }}').value{% else %}null{% endif %}; const initial_floor_idx = {% if floor_id %}document.getElementById('{{ floor_id }}').value{% else %}null{% endif %};
L.Icon.Default.imagePath = "{% static "map/images/marker-icon.png" %}/../"; L.Icon.Default.imagePath = "{% static "vendor/map/images/marker-icon.png" %}/../";
const map = L.map('{{ mapid }}', { const map = L.map('{{ mapid }}', {
crs: L.CRS.Simple, crs: L.CRS.Simple,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment