The markers array is reactive and gets loaded async when the components mounts. It seems like on the first render each marker has the correct icon. But as the next marker loads, the previous one fall back to the default icon.
Let me know if I can help you debug this in any way.
Hey @ngyewch, thanks for building this awesome wrapper for leafletjs.
I'm currently trying to render multiple markers with a custom icon and came across this strange result.
So only one marker ends up with the correct icon.
Below is my code.
The markers array is reactive and gets loaded async when the components mounts. It seems like on the first render each marker has the correct icon. But as the next marker loads, the previous one fall back to the default icon.
Let me know if I can help you debug this in any way.