diff --git a/apps/map/templates/map/index.html b/apps/map/templates/map/index.html
index a5d10e7..8355cae 100644
--- a/apps/map/templates/map/index.html
+++ b/apps/map/templates/map/index.html
@@ -126,6 +126,10 @@ function poiPopup(feature, layer) {
// This is called when the map is initialized
function main_app_init(map, options) {
+ // This is a workaround for FORCE_IMAGE_PATH not working
+ // Upstream pull request - https://github.com/makinacorpus/django-leaflet/pull/243
+ L.Icon.Default.imagePath = "{% static "leaflet/images" %}/";
+
var hash = new L.hash(map);
// Pull data as GeoJSON and add to map with a modal
diff --git a/ojusomap/settings.py b/ojusomap/settings.py
index 7a90b99..f25cd73 100644
--- a/ojusomap/settings.py
+++ b/ojusomap/settings.py
@@ -281,6 +281,7 @@ LEAFLET_CONFIG = {
'auto-include': True
}
},
+ 'FORCE_IMAGE_PATH': True
}
# Error reporting & logging