Hi,
I have an InMemoryFeatureLayer representing points on a map. The layer as a DefaulTextStyle defined for the labels for each of the points. My question is this: Is there a way whereby I can show/hide the labels by means of user interaction like checking a checkbox in a custom UI.
My current implementation is to create a separate "LabelLayer" for each "PointLayer". I was just wondering if it was possible to do it all in one layer?
Thanks,
Chris
Show/Hide Labels
Hi Chris,
What you are guessing is correct, there is a property named
"IsActive" in TextStyle can control its visibility. So, we don’t need
to separate the labels into another layer.
Hope it helps and if any more questions, please feel free to let us know.
Thanks,
Johnny
Hi Chris,
What you are guessing is correct, there is a property named
"IsActive" in TextStyle can control its visibility. So, we don’t need
to separate the labels into another layer.
Hope it helps and if any more questions, please feel free to let us know.
Thanks,
Johnny