Loading multiple maps libraries with javascript

后端 未结 2 1652
醉酒成梦
醉酒成梦 2020-12-17 08:59

I am trying to load both the maps library and the places library with javascript so I can embed a map into my page, use google.maps.geometry.spherical functions and make pla

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-17 09:29

    The first script doesn't point to a javascript, this will try to load the maps-homepage as a script(of course this will fail).

    There is no need to include multiple scripts, simply use:

    
    
                                     
                  
提交回复
热议问题