Microsoft.Maps.Map Error: Object doesn't support this action RRS feed

  • Question

  • Hi,

    Whenever I try to do

    map = new Microsoft.Maps.Map

    I get this error "Error: Object doesn't support this action"

    Microsoft and Microsoft.Maps are both non-null.   But Microsoft.Maps doesn't seem to contain the Map object.  What is the problem here?


    Thursday, January 24, 2013 8:39 PM


  • Is this with the standard AJAX control or with the Windows Store App JavaScript control? If it is with the Windows Store control you will want to load the map module as documented here: http://msdn.microsoft.com/en-us/library/hh852186.aspx

    If you are using the standard AJAX control it is possible you are loading your map before the Bing Maps control has fully downloaded. How/when are you loading the map?


    Friday, January 25, 2013 1:12 PM