fix du marker manquant en prod (static)
This commit is contained in:
parent
24020c7a88
commit
20dfa0a4c1
@ -60,6 +60,7 @@
|
||||
<div>
|
||||
<div id="map_location" style="width: 100%; aspect-ratio: 16/16"></div>
|
||||
<script>
|
||||
L.Icon.Default.imagePath = "{% static "location_field/leaflet/images/" %}";
|
||||
var map = L.map('map_location').setView([{{ object.location }}], 13);
|
||||
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
maxZoom: 19,
|
||||
|
Loading…
Reference in New Issue
Block a user