BingMap - getting prototype of null error

后端 未结 4 421
无人共我
无人共我 2021-01-15 14:24

I have searched google and stackoverflow, but could not find a solution for this issue. I am loading the map like this, in my vi

4条回答
  •  时光说笑
    2021-01-15 15:13

    Seems BING MAP API 8 has some issues with reference order, will try to report to Rick.

    Does not Work:

    
    
    

    This fails on:

    mapcontrol:11 Uncaught TypeError: Cannot read property 'prototype' of null
        at k (mapcontrol:11)
        at n.h [as create] (mapcontrol:11)
        at e (mapcontrol:11)
        at t.l [as instance] (mapcontrol:11)
        at n.h [as create] (mapcontrol:11)
        at e (mapcontrol:11)
        at t.l [as instance] (mapcontrol:11)
        at new Microsoft.Maps.Map (mapcontrol:13)
        at ChildScope.$scope.init (maptest.html:92)
        at HTMLDocument. (maptest.html:99)
    

    Does Work:

    
    
    

    But... that breaks epoch and is not how Angular is to be loaded. So back to the drawingboard.

提交回复
热议问题