none
Resetting or Removing some or all MapUIElementCollection elements from Map. RRS feed

  • Question

  • Hi All,

    Is there any method that support of removing or resetting some or all MapUIElementCollection elements from Map, In my application I am attaching MapPolygon,MapPolyline and Puspin etc .. and i have the requirement to remove some of them on the basic of user interaction.

    Thanks,


    Praveen kumar Sharma

    Monday, July 2, 2012 5:54 AM

Answers

  • This was marked as a discussion rather than a question so it was likely overlooked. You can easily remove elements from the map simply by getting a reference to the element and then using the remove method on the children of the map or children of a MapLayer. You can get a reference from the sender of a user interaction of the map when using events (i.e. touch or mouse events)

    http://rbrundritt.wordpress.com

    Thursday, July 12, 2012 8:26 AM

All replies

  • Hi All,

    I am still waiting for the answer 

    Thanks,


    Praveen kumar Sharma

    Thursday, July 12, 2012 3:44 AM
  • This was marked as a discussion rather than a question so it was likely overlooked. You can easily remove elements from the map simply by getting a reference to the element and then using the remove method on the children of the map or children of a MapLayer. You can get a reference from the sender of a user interaction of the map when using events (i.e. touch or mouse events)

    http://rbrundritt.wordpress.com

    Thursday, July 12, 2012 8:26 AM