initMap is not a function

前端 未结 4 370
南旧
南旧 2021-01-23 01:35

I can\'t understand what is the problem? I used this example from Google Map APIs: Simple Map


   
   
4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-23 02:20

    Having the same issue, I personally removed the &callback=initMap to make it work. Other threads seams to show that initMap is a function you should build yourself.

提交回复
热议问题