jjzjj

curPosition

全部标签

javascript - 谷歌地图错误 - a.lng 不是函数

我计划在我的一个应用程序中使用谷歌地图“containsLocation()”API。文档链接是-https://goo.gl/4BFHCz我正在使用相同的示例。这是我的代码。Polygonarrayshtml,body{height:100%;margin:0;padding:0;}#map{height:100%;}//ThisexamplerequirestheGeometrylibrary.Includethelibraries=geometry//parameterwhenyoufirstloadtheAPI.Forexample://functioninitMap(){va