fix du marker manquant en prod (static)

This commit is contained in:
Jean-Marie Favreau 2024-04-28 20:26:47 +02:00
parent 24020c7a88
commit 20dfa0a4c1

View File

@ -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,