The Esri Community
ArcGIS Viewer for Silverlight
to create and rate content, and to follow, bookmark, and share content with other members.
Map.Layers.CollectionChanged event not firing when removing layers
Discussion created by
on Mar 23, 2012
on Mar 29, 2012 by rzwaap-esristaff
Show 0 Likes
The Map.Layers.CollectionChanged event fires when a layer is added to the map, but not when a layer is removed. What's up?
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Mar 29, 2012 5:14 PM
I was unable to reproduce this issue. I created a behavior that hooks to Layers.CollectionChanged and displays a notification when this occurs. I've attached the add-in I used to test. I tried it in the Application Builder as well as in a deployed Viewer that included the Browse and Remove Layer tools.
Hope this helps.
Show 0 Likes
Retrieving data ...
Add Intelligence to Your Apps & Maps with Rich Data from Esri’s GeoEnrichment Service by Esri Startup Program
How well does ArcGIS 10 work on Parallels?
New install of ArcMap 10.4 won't open on machine with Parallels 11
How do I clip a raster with a polygon in ArcGIS 10?
I have 3 devices, Samsung Note 4, 8, & 10.1. they all appear to have slowed dipped in accuracy...