开发者

"Error in property <waypoints>"

I am using google map api v3,

I store coordinates into an array and supply the whole array to the waypoints as below:

开发者_如何学JAVA
var request{
origin:start,
destination:end,
waypoints:arrayOfCoordinates,
}

When I run my code it gives me following error:

Uncaught Error: Error in property <waypoints>: (Invalid value: [object Object],[object Object],[object Object],[object Object],[object Object] (Error in element at position 4: (Unknown property <x>)))
gen_204:-1Resource interpreted as Image but transferred with MIME type text/html.

Any idea?


One of the arguments, the fourth one, is missing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜