I am using dynamic layers to retrieve data depending on the zoom level and it's working great. However, the user would like to be able to hide certain map pins by checking a show/hide checkbox on the form.
Is it possible to hide items on a dynamic layer? Or even set the visibility of the layer?
I did think about refreshing it's datasource but I cannot find a way to force the map to rebind, I could move the map center programmatically which would cause the ItemsRequest to fire but that seems like a hack.
Is there a way to force a rebind of the data or hide the pins?
Many thanks,
Mark
Is it possible to hide items on a dynamic layer? Or even set the visibility of the layer?
I did think about refreshing it's datasource but I cannot find a way to force the map to rebind, I could move the map center programmatically which would cause the ItemsRequest to fire but that seems like a hack.
Is there a way to force a rebind of the data or hide the pins?
Many thanks,
Mark