Javascript 在Google-maps-v3方向API中传递LatLng值
Google如何在Directions API的请求参数中传递Origin/Destination参数的LatLng值 请访问此链接:Javascript 在Google-maps-v3方向API中传递LatLng值,javascript,google-maps,google-maps-api-3,Javascript,Google Maps,Google Maps Api 3,Google如何在Directions API的请求参数中传递Origin/Destination参数的LatLng值 请访问此链接: 您应该能够使用新的Google lat/lng对。例如: origin: new google.maps.LatLng(51.2244, -12.12221) 使用文档中指定的。我已经尝试过了,但给出的LatLng值不正确。现在开始工作了 origin: new google.maps.LatLng(51.2244, -12.12221)
您应该能够使用新的Google lat/lng对。例如:
origin: new google.maps.LatLng(51.2244, -12.12221)
使用文档中指定的。我已经尝试过了,但给出的LatLng值不正确。现在开始工作了
origin: new google.maps.LatLng(51.2244, -12.12221)