AvinashKrSharma / vehicle-movement-animation-google-maps

A very very very basic vehicle(marker) animation on (a) route(s)
15 stars 9 forks source link

code throws error at #206 #2

Open anupamN opened 4 years ago

anupamN commented 4 years ago

polyLine[index].Distance is not a function

AvinashKrSharma commented 3 years ago

Hi, sorry I missed this one. Have you used your own API key in the index.html?

More details will be helpful :)

ldimuro commented 3 years ago

I have also been getting this same error. I have been working to convert script.js into an Angular environment and my code always fails at "polyLine[index].Distance()"