Try again with image URL

This commit is contained in:
Anna Sidwell 2018-12-02 03:22:55 +00:00
parent 12ef9ed774
commit 71a223ccf3

View File

@ -126,9 +126,8 @@ function poiPopup(feature, layer) {
// This is called when the map is initialized // This is called when the map is initialized
function main_app_init(map, options) { function main_app_init(map, options) {
// This is a workaround for FORCE_IMAGE_PATH not working // This is a workaround for hi-dpi marker images not being found in the right place
// Upstream pull request - https://github.com/makinacorpus/django-leaflet/pull/243 L.Icon.Default.imagePath = "/static/leaflet/images/"
L.Icon.Default.imagePath = "{% static "leaflet/images" %}/";
var hash = new L.hash(map); var hash = new L.hash(map);