From 71a223ccf33965ef1b5d28958f4864e7c290db56 Mon Sep 17 00:00:00 2001 From: Anna Sidwell Date: Sun, 2 Dec 2018 03:22:55 +0000 Subject: [PATCH] Try again with image URL --- apps/map/templates/map/index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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);