Google maps api 3 Google Direction API以10位数字响应航路点顺序
我们使用googledirectionapi(lib)。我们这样称呼它:Google maps api 3 Google Direction API以10位数字响应航路点顺序,google-maps-api-3,google-api,directions,Google Maps Api 3,Google Api,Directions,我们使用googledirectionapi(lib)。我们这样称呼它: var directionsService = new window.google.maps.DirectionsService(); directionsService.route(request, function (result, status) { } waypoint_order: Array(23) 0: 3 1: 9 ... 21: 6 22: 15 length: 23 大多数情况下,回应如下: v
var directionsService = new window.google.maps.DirectionsService();
directionsService.route(request, function (result, status) { }
waypoint_order: Array(23)
0: 3
1: 9
...
21: 6
22: 15
length: 23
大多数情况下,回应如下:
var directionsService = new window.google.maps.DirectionsService();
directionsService.route(request, function (result, status) { }
waypoint_order: Array(23)
0: 3
1: 9
...
21: 6
22: 15
length: 23
但有时我们会收到这样的回应,这会导致错误:
waypoint_order: Array(23)
0: 4294967295
1: 4294967295
...
22: 4294967295
length: 23
这是从哪里来的?这一问题已于6月20日(欧洲的晚间时间)得到解决,如谷歌的公共问题跟踪报告所述:
如果您仍然遇到错误,您可以在上面的问题链接上发表意见,供工程师进一步调查。您能否提供一份说明问题的报告?您4294967295的结果是0xFFFFFFFF(或者可能是-1),我不希望它来自API。我最近遇到了相同的问题。你还在经历它吗?是的,但我们不知道如何重现它。它只是偶尔出现。其余的回答正确吗?不,它们看起来都一样。谢谢。