Colin Snowmann
Posts: 0
Joined: Sat Apr 05, 2014 11:00 pm

Google Maps geolocation

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Google Maps geolocation

Hi Colin,

What errors do you see in console (F12)?

Colin Snowmann
Posts: 0
Joined: Sat Apr 05, 2014 11:00 pm

Google Maps geolocation

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 ?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Google Maps geolocation

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.

Colin Snowmann
Posts: 0
Joined: Sat Apr 05, 2014 11:00 pm

Google Maps geolocation

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 ?

Colin Snowmann
Posts: 0
Joined: Sat Apr 05, 2014 11:00 pm

Google Maps geolocation

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?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Google Maps geolocation

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Google Maps geolocation

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.

Colin Snowmann
Posts: 0
Joined: Sat Apr 05, 2014 11:00 pm

Google Maps geolocation

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Google Maps geolocation

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.

Return to “Issues”