makinacorpus / django-leaflet

Use Leaflet in your Django projects
GNU Lesser General Public License v3.0
716 stars 282 forks source link

Default marker icon is not showing in prod environment #342

Closed Bakhtiyar-Garashov closed 1 year ago

Bakhtiyar-Garashov commented 3 years ago

It seems default marker icon path is somehow ruined when deploying app to production. The same issue which is described here https://stackoverflow.com/questions/41144319/leaflet-marker-not-found-production-env

Screenshot 2021-09-05 at 01 05 09

More about issue with original Leaflet project : https://github.com/Leaflet/Leaflet/issues/4968

Gagaro commented 1 year ago

See https://github.com/Leaflet/Leaflet/issues/4968#issuecomment-483402699 for possible solutions.