POST
|
Thanks! What I ended up hooking up to was the PropertyChanged event of the layers themselves, once I realized that the layers werent always being removed, were just having their visibility set to false.
... View more
03-27-2012
04:10 AM
|
0
|
0
|
260
|
POST
|
I'm using version 2.4 of the API, 1.0 of the Viewer, 2.4 of the Extensibility SDK. Here is my code: In the ctor of my class: map.Layers.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(Layers_CollectionChanged); The handler: void Layers_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
{
//some code here
}
... View more
03-26-2012
03:46 AM
|
0
|
0
|
260
|
POST
|
The Map.Layers.CollectionChanged event is firing just fine when layers are added to the Map, but not when they are removed. It should. Has anyone else seen this behaviour (or lack of it)?
... View more
03-23-2012
12:08 PM
|
0
|
4
|
781
|
POST
|
The Map.Layers.CollectionChanged event fires when a layer is added to the map, but not when a layer is removed. What's up?
... View more
03-23-2012
12:04 PM
|
0
|
1
|
255
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|