Hi,
I am using informationlayer and visualization layer to render my data. I am also using PolygonData to create my shapes. Here i want to hide my entire layer at certain zoom level. I have used below mentioned function but it is not working properly on entire layer. If i use it for a single label for example then it properly hide and show this label.
I am using this
MapLayer.SetZoomRange(myLayer, new ZoomRange(13, 18));
I am also not able to use this for my individual item which is PolygonData because of DepedencyObject.
Please let me know if i am getting something wrong or can anyone provide any alternate solution to show entire layer at certain zoomrange.
Thanks
Waqas Habib
I am using informationlayer and visualization layer to render my data. I am also using PolygonData to create my shapes. Here i want to hide my entire layer at certain zoom level. I have used below mentioned function but it is not working properly on entire layer. If i use it for a single label for example then it properly hide and show this label.
I am using this
MapLayer.SetZoomRange(myLayer, new ZoomRange(13, 18));
I am also not able to use this for my individual item which is PolygonData because of DepedencyObject.
Please let me know if i am getting something wrong or can anyone provide any alternate solution to show entire layer at certain zoomrange.
Thanks
Waqas Habib