Page 1 of 1

google maps - TypeError: Cannot read property 'watchPosition' of undefined {stack: (...), message: "Cannot read property

Posted: Thu Mar 12, 2015 6:43 am
by Nick7420609

I'm following a tutorial provided by Appery.io and getting the following error in console, when trying to get markers on my location :

google maps - TypeError: Cannot read property 'watchPosition' of undefined {stack: (...), message: "Cannot read property 'watchPosition' of

I've noticed that the Appery.io in the tutorial has a different interface, assuming it's an older version.

Did something change regarding the google map component?

This is the JS I'm using, again provided by Appery

http://pastebin.com/XY6tVSGY

Thank you in advance,


google maps - TypeError: Cannot read property 'watchPosition' of undefined {stack: (...), message: "Cannot read property

Posted: Thu Mar 12, 2015 9:35 am
by Evgene Karachevtsev

Hello Nerso,

Could you please specify what tutorial are you trying to follow?


google maps - TypeError: Cannot read property 'watchPosition' of undefined {stack: (...), message: "Cannot read property

Posted: Thu Mar 12, 2015 1:38 pm
by Nick7420609

Hi Evgene,

Thank you for looking into this issue. The tutorial can be accessed on youtube from the link below :

https://www.youtube.com/watch?v=LZOC_...

Thanks again


google maps - TypeError: Cannot read property 'watchPosition' of undefined {stack: (...), message: "Cannot read property

Posted: Thu Mar 12, 2015 2:24 pm
by Evgene Karachevtsev

Nerso,

Yes, unfortunately this tutorial may be outdated, please take a look at this one:
http://devcenter.appery.io/tutorials/...