Page 1 of 1

Dynamic Geolocation help

Posted: Wed Jun 11, 2014 11:47 pm
by David Lattimer

Is there a way to have Google Maps zoom in one on specific area of a map, stay in that area, and show user's locations in real time as they traverse that one area?

What I'm trying to do is have Google Maps track visitors to a park and show their location in real-time on the app. The goal is to have visitors find their way to specific areas of the park via the map. If they get close to an attraction, a pop-up will appear on the app giving them more information. I need some help with that too, but for right now, the geolocation part is what I need the most help with.

Any help would be greatly appreciated.


Dynamic Geolocation help

Posted: Thu Jun 12, 2014 1:13 am
by Yurii Orishchuk

Hi David.

You can use all google maps API as you need.

In your described case you can:

  1. set specific ZOOM

  2. set specific center(and stay here as long as you need)

  3. set marker(like - "I'm here") and modify it in real time(for example - move it, delete it and replace it with other marker).

    Please pass these tutorials to understand how to work with google maps component and set all items above.

    http://devcenter.appery.io/tutorials/...

    http://blog.appery.io/2014/02/buildin...

    http://devcenter.appery.io/tutorials/...

    Regards.


Dynamic Geolocation help

Posted: Thu Jun 12, 2014 11:11 pm
by David Lattimer

Thank you for your quick response, Yurii! I've already made the app in the "Building an app with Google Maps and Geolocation" and it works beautifully. What I want to do is make the "show my location" part automatic and without any buttons. Is there a way to do that?

Thanks again for all your help!!!!


Dynamic Geolocation help

Posted: Fri Jun 13, 2014 11:00 am
by Kateryna Grynko

Hi David,

Run this service on Page show event instead of 'Show my location' button Click event.


Dynamic Geolocation help

Posted: Fri Jun 13, 2014 9:35 pm
by David Lattimer

Thanks, Katya. I tried it out and it seems to work but the marker for my location is missing. Any ideas as to how I can get it back?


Dynamic Geolocation help

Posted: Fri Jun 13, 2014 11:41 pm
by Alena Prykhodko

Hello David,

Do you have Show marker property checked?

Image


Dynamic Geolocation help

Posted: Sat Jun 14, 2014 12:34 am
by David Lattimer

That did it! Thank you, Alena!