viewchangeend triggered when map first displayed RRS feed

  • Question

  • Is the Map Class event "viewchangeend" triggered when the map is first displayed?  If I write a handler ("Microsoft.Maps.Events.addHandler(map, "viewchangeend", functionName)"), will the function "functionName" be called when the map is loaded and displayed for the first time?


    In fact, I have done this, and it appears to be the case, but I want to know if this can be relied upon as stable behavior for the map.

    Thanks for any help.

    • Edited by Jack Herr Monday, April 16, 2012 10:10 AM
    Monday, April 16, 2012 10:09 AM


  • This is how it works. The map loads and the first thing the map does is sets the maps position which fires a viewchange event.


    Monday, April 23, 2012 7:52 AM