diff --git a/apps/map/templates/map/index.html b/apps/map/templates/map/index.html index 8355cae..68b277d 100644 --- a/apps/map/templates/map/index.html +++ b/apps/map/templates/map/index.html @@ -126,9 +126,8 @@ 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" %}/"; + // This is a workaround for hi-dpi marker images not being found in the right place + L.Icon.Default.imagePath = "/static/leaflet/images/" var hash = new L.hash(map);