Page 2 of 3

Google Maps geolocation

Posted: Fri Apr 11, 2014 2:33 pm
by Colin Snowmann

Please note that the app was customized by removing the directions panel


Google Maps geolocation

Posted: Fri Apr 11, 2014 3:58 pm
by Kateryna Grynko

Hi Colin,

What errors do you see in console (F12)?


Google Maps geolocation

Posted: Fri Apr 11, 2014 6:05 pm
by Colin Snowmann

Hey Katya.. The issue has been resolved and the issue was due to naming the objects..I have question..How do I invoke a new window or a pop when A specified destination has been reached ?


Google Maps geolocation

Posted: Fri Apr 11, 2014 7:28 pm
by Kateryna Grynko

Colin,

You should check the current position with some frequency, and in the case of occurrence of a certain circle - call popup:
preAppery.navigateTo('popupName', {
transition: 'pop'
});/preWhere 'popupName' is a popup name.


Google Maps geolocation

Posted: Sat Apr 12, 2014 1:04 pm
by Colin Snowmann

Thank you very much for your assistance, however I'm still in state of confusion here. Where do I place that code? Do I put in the popup page and redirect it to the inputdestination and equate that to my desired location of which I need the pop up to be activated ?


Google Maps geolocation

Posted: Sat Apr 12, 2014 5:36 pm
by Colin Snowmann

Hey, I don't know if this is possible, but rather than the user entering the input source how do I automate this so that the user's current location is used rather?


Google Maps geolocation

Posted: Sat Apr 12, 2014 6:56 pm
by Illya Stepanov

Hi Colin - you can check the example described here, it should help:
:: http://docs.appery.io/tutorials/build...


Google Maps geolocation

Posted: Sat Apr 12, 2014 7:03 pm
by Illya Stepanov

You should place it in the code where you made check of the current position of a user and after some condition is met - made transition to your popup page that you will need to create before in the project.


Google Maps geolocation

Posted: Sat Apr 12, 2014 11:48 pm
by Colin Snowmann

Hey thanks I have looked at that ..tutorial but I wanted to do that using the above .. and then invoking a new screen once a destination has been reached


Google Maps geolocation

Posted: Sun Apr 13, 2014 10:53 pm
by Illya Stepanov

Hi Colin,

Sorry, but it's not quite clear for us.

All code you'll need we have gave you.

If you want some detailed and a logic-specific help, you should provide us with more details about your logic you'll need.

So, please made screen shots of your pages and describe it with details what exactly you want to do. At what stage you are now, and what is now not working.