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?
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?