Map.Layers.CollectionChanged event  not firing when removing layers

249
1
03-23-2012 12:04 PM
JudyOgg
New Contributor
The Map.Layers.CollectionChanged event fires when a layer is added to the map, but not when a layer is removed. What's up?
0 Kudos
1 Reply
RichZwaap
Occasional Contributor III
Hi Judy:

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.
0 Kudos