fix
authorRadek Czajka <rczajka@rczajka.pl>
Fri, 16 Jun 2023 08:36:51 +0000 (10:36 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Fri, 16 Jun 2023 08:36:51 +0000 (10:36 +0200)
src/references/templates/references/map.html

index 7cd391c..a65224a 100644 (file)
@@ -21,6 +21,7 @@
   <script src="{% static 'contrib/leaflet.markercluster-1.4.1/leaflet.markercluster.js' %}"></script>
   <script>
    var map = L.map('references-map').setView([52, 20], 7);
   <script src="{% static 'contrib/leaflet.markercluster-1.4.1/leaflet.markercluster.js' %}"></script>
   <script>
    var map = L.map('references-map').setView([52, 20], 7);
+   L.Icon.Default.imagePath='{{ STATIC_URL }}contrib/leaflet-1.9.4/images/'
 
    if (navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(function(position) {
 
    if (navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(function(position) {