Why isn't this an instance of map of google.maps.Map? InvalidValueError: setMap: not an instance of Map;

前端 未结 3 880
予麋鹿
予麋鹿 2021-02-20 06:19

I am getting the error Assertion failed: InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama on a google map web page. I th

3条回答
  •  执笔经年
    2021-02-20 07:17

    For IE, If you are using InfoBox to display google maps marker. Please make sure that you put type="text/javascript" in the InfoBox script tag. Example:

    
    

    Hope it helpful

提交回复
热议问题