+ Reply to Thread
Results 1 to 2 of 2

Thread: Map.Layers.CollectionChanged event not firing when removing layers

  1. #1
    Judy Ogg
    Join Date
    Jul 2011
    Posts
    4
    Points
    0
    Answers Provided
    0


    0

    Default Map.Layers.CollectionChanged event not firing when removing layers

    The Map.Layers.CollectionChanged event fires when a layer is added to the map, but not when a layer is removed. What's up?

  2. #2
    Rich Zwaap
    Join Date
    Mar 2010
    Posts
    77
    Points
    44
    Answers Provided
    5


    0

    Default Re: Map.Layers.CollectionChanged event not firing when removing layers

    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.
    Attached Files
    Rich Zwaap
    Software Developer
    ArcGIS Runtime SDK for .NET, ArcGIS Viewer for Silverlight

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts