Skip to content

Icon Symbolizer self alignment #208

@ycouble

Description

@ycouble

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions