protomaps-leaflet icon indicating copy to clipboard operation
protomaps-leaflet copied to clipboard

Icon Symbolizer self alignment

Open ycouble opened this issue 4 months ago • 0 comments

Is it possible to center an IconSymbolizer at the position rather than the lower-right corner ?

The code is not that explicit about how the icon aligns with the anchor, would be nice to use justify/align props on the IconSymbolizer directly to choose how to anchor.

Below : IconSymbolizer of a point and a L.circleMarker of the same point. Also tried to use the CircleSymbolizer and it matches the circleMarker position.

Image

ycouble avatar Oct 08 '25 20:10 ycouble