Although this issue does not occur when DEBUG mode is on, in the production version of my app, the marker-icon.png image for point markers is broken.
If I'm not mistaken, instead of linking to just marker-icon.png, the correct path would be /static/leaflet/images/marker-icon.png.
I poked around and it sounds like this is a known issue with Whitenoise. This branch from @faaizajaz seems to have addressed it, although it is now four years old.
Here are the library versions I'm currently running:
Although this issue does not occur when DEBUG mode is on, in the production version of my app, the
marker-icon.png
image for point markers is broken.If I'm not mistaken, instead of linking to just
marker-icon.png
, the correct path would be/static/leaflet/images/marker-icon.png
.I poked around and it sounds like this is a known issue with Whitenoise. This branch from @faaizajaz seems to have addressed it, although it is now four years old.
Here are the library versions I'm currently running: