Try again with image URL
This commit is contained in:
parent
12ef9ed774
commit
71a223ccf3
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user