leaflet.boatmarker icon indicating copy to clipboard operation
leaflet.boatmarker copied to clipboard

Zoom in/out not to scale.

Open mikeatlas opened this issue 9 years ago • 1 comments

Nice little library!

What about handling proper scale/zoom ratios? Screenshot example of zooming out:

That's a big boat

(That's quite a big boat!)

mikeatlas avatar Jul 31 '15 18:07 mikeatlas

Definitely worth thinking about.

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.

thomasbrueggemann avatar Aug 01 '15 10:08 thomasbrueggemann