Page 1 of 2

Geolocation

Posted: Tue Sep 17, 2013 11:40 am
by Deon

Hi

I am using your Geolocation Service as per your tutorial.

The map has a map component and a marker component.

  1. Your tutorial only has a map component. It seems that your tutorial is outdated?

  2. With "Show Marker Off", I can map the Lat/lon to the lat/lon of the map component as per your tutorial and the correct area is displayed but no marker is displayed. This seems fine.

  3. With "Show Marker" on, and setting the mapping either to map or marker, the marker is displayed on a blue background. Even if I map to both components I have the same effect.

    What should the mapping be?
    Why am I getting a blue background?


Geolocation

Posted: Tue Sep 17, 2013 1:07 pm
by Kateryna Grynko

Hi Deon,

You probably missed this section: http://docs.appery.io/tutorials/build...

Please note, there is a problem with Google Maps that will be fixed soon. That is why you can face a strange behaviour now. As a workaround you can replace the maps component with a classic maps connecting and work with them without mapping.


Geolocation

Posted: Tue Sep 17, 2013 2:24 pm
by Deon

Hi Katya

No, did not miss that section. And as I said, your tutorial is not up to date with what is actually displayed.

Maybe it is the problem with Google Maps that is causing my problem?

How can I achieve the following.

  1. Display my current position on map.
  2. Display other markers from database that is within a certain radius from where I am?
  3. Click on marker to navigate to it?

Geolocation

Posted: Tue Sep 17, 2013 2:26 pm
by Deon

What is a "classic maps"?
I need to map my location.


Geolocation

Posted: Tue Sep 17, 2013 2:32 pm
by Deon

Do you have any other tutorials on the GoogleMap component? I see you can add components to the marker. Where do I find out about that?


Geolocation

Posted: Tue Sep 17, 2013 4:34 pm
by Maryna Brodina

Hi,
1) http://docs.appery.io/tutorials/build... - this tutorial works for me, could you give your public app link?
2) here is how to add a few markers on map http://docs.appery.io/tutorials/addin...,
http://docs.appery.io/tutorials/addin...
3) https://getsatisfaction.com/apperyio/...
You can also find a lot of information regarding map and markers here on forum.


Geolocation

Posted: Wed Sep 18, 2013 5:09 am
by Deon

Hi Marina

  1. It does not work for me.... I have folllowed tutorial, however tutorial and actual IDE differ see screenshot. I think your tutorial is outdated. Result, marker is displayed on a blue background.

    Image

  2. I know that. It was not my question. My question was, how do I display only the markers in my immediate surrounding.

    3.I have searched the forum but cant find what I am looking for.


Geolocation

Posted: Wed Sep 18, 2013 5:11 am
by Deon

PS My public App link is "Spar Shopping"


Geolocation

Posted: Wed Sep 18, 2013 5:40 am
by Kateryna Grynko

Hi Deon,
We'll take a look.


Geolocation

Posted: Wed Sep 18, 2013 6:11 am
by Deon

After some more investigation I found that it works on the browser but is not accurate. I presume this is because GPS is taken from IP.

It however does not work on the phone. I am using the appery Tester on a Samsung SIII