David Lattimer
Posts: 0
Joined: Wed Jun 11, 2014 11:47 pm

Dynamic Geolocation help

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.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Dynamic Geolocation help

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.

David Lattimer
Posts: 0
Joined: Wed Jun 11, 2014 11:47 pm

Dynamic Geolocation help

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!!!!

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

Dynamic Geolocation help

Hi David,

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

David Lattimer
Posts: 0
Joined: Wed Jun 11, 2014 11:47 pm

Dynamic Geolocation help

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?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Dynamic Geolocation help

Hello David,

Do you have Show marker property checked?

Image

David Lattimer
Posts: 0
Joined: Wed Jun 11, 2014 11:47 pm

Dynamic Geolocation help

That did it! Thank you, Alena!

Return to “Issues”