Skip to content

How to access LeafletMarkerState Fields? #196

@mahibi

Description

@mahibi

I try to read some fields from an LMarker Object (for Example "divIcon").
There are no getters for that.
I see that the desired fields are inside LeafletMarkerState (but getState() is protected).
I tried to get the fields by reflection but was not successful.

getState() should be public as suggested here ?
If not, how to access the fields from LeafletMarkerState?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions