I\'m trying to port my googlemaps v2 functions to v3.
But somehow i stuck in a strange error and i could not find, what i\'m doing wrong.
Erro
I had the same problem, and resolved it. In my case it was error due to the non-proper format. Please check the first and last coordinates array in geometry coordinates they must be same then and only then it will work. Hope it may help you!