Leaflet / Leaflet

πŸƒ JavaScript library for mobile-friendly interactive maps πŸ‡ΊπŸ‡¦
https://leafletjs.com
BSD 2-Clause "Simplified" License
41.04k stars 5.81k forks source link

Default marker image src broken #9466

Open LukeTOBrien opened 2 weeks ago

LukeTOBrien commented 2 weeks ago

Checklist

Steps to reproduce

  1. Go through the quick start tutorials

Expected behavior

Img src should be: https://unpkg.com/leaflet/dist/images/marker-icon-2x.png

Current behavior

Img src is: https://unpkg.com/leaflet/distmarker-icon-2x.png

image

Minimal example reproducing the issue

No response

Environment

steffenz commented 1 day ago

Hi! I thought this might be a good issue for me to start with - but I cannot seem to reproduce it. I followed the quick start guide both locally and in a new CodePen and the asset seems to be loading correctly on my end.

Would you mind posting some code or sharing some more details about your environment to make it easier to reproduce this issue? Seems like a missing / is causing it which might be something related to your environment configuration.

Thanks in advance 😊