Hi,
How to identify which layer has been clicked?
Dim dyOverlay As New LayerOverlay()
dyOverlay.Name = "DynamicOverlay"
for each loop
adding multiple shape files to the above Dynamic Overlay witha key.
Next
And there are many Dynamic Overlays added to the map and are shown at different zoom levels. Each Dynamic overlay contains many shape files.
Now,
In the Map.Click event, using "e.PointShape" how would I find which layer was clicked. Is there a way to the find the corresponding layer without looping through all the ShapeLayers within the dynamic overlay?
On the Client Side, OnClientClick, does this function know which layer was clicked?
Appreciate your help on this.
Thanks!