This project has moved. For the latest updates, please go here.

ViewportChanged event

Mar 23, 2015 at 1:22 PM
There are several actions that are triggered when the view is done changing. In xamlMap exists the ViewportChanged event but I can not distinguish when the view is definitively changed. Can anyone give me any suggestions on how to implement the behavior I'm looking for?
Coordinator
Mar 23, 2015 at 6:00 PM
The view has "definitively changed" each time the event is fired. You may however start a timer to trigger an action when it isn't changing any more for a certain time span. Take a look at the MapImageLayer class for an example.
Mar 24, 2015 at 2:54 PM
thanks a lot for the tip! As you suggested, I implemented an event based on timespan and it works! Great!