Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to access LeafletMarkerState Fields? #196

Open
mahibi opened this issue Oct 1, 2018 · 1 comment
Open

How to access LeafletMarkerState Fields? #196

mahibi opened this issue Oct 1, 2018 · 1 comment

Comments

@mahibi
Copy link

mahibi commented Oct 1, 2018

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?

@gpedro
Copy link

gpedro commented Oct 14, 2018

Same problem here. I use Tooltip content to detect marker type to execute different action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants