Get map markers working again
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user