You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But interesting that the default Leaflet Icon doesn't scale either and people kind of prefer clustering markers over displaying scaled versions (of course that is mostly performance driven).
I see the point here though since this marker is modeled after a physical object and watching a fleet of ships would look funny non-scaled. And I believe an interim solution for you could be to apply the CSS3 scale property to the marker DOM according to the current zoom level.
Nice little library!
What about handling proper scale/zoom ratios? Screenshot example of zooming out:
(That's quite a big boat!)
The text was updated successfully, but these errors were encountered: