Page 1 of 1

Can ́t show user location

Posted: Fri Aug 01, 2014 8:09 pm
by Carlos Castillo6909856

I gone true several tutorials and I cant get the pin that shows the current location from the user.

I did enable several pins over the map which is great

I just need the user to find him self since it is a golf course no streets

Im adding all my screens so that you can see all the code that I have customized from the tutorials.

When ever I do get in the teste asks me if I want appery know my location.

The only error I do see when I open my App is:
Failed to load resource: the server responded with a status of 404 (Not Found) http://ajax.googleapis.com/ajax/libs/...

  1. That’s an error.

    The requested URL /ajax/libs/jqueryui/1.10.3/themes//jquery-ui.min.css?ver=1.10.3 was not found on this server.

    Image Image Image Image Image Image


Can ́t show user location

Posted: Sat Aug 02, 2014 7:07 pm
by Alena Prykhodko

Hi Carlos,

Please check whether browser let you show your location, for example https://support.google.com/chrome/ans...


Can ́t show user location

Posted: Tue Aug 05, 2014 2:57 am
by Carlos Castillo6909856

As you can see on the las image on the URL right side, there is the crome mark that the location permit is granted


Can ́t show user location

Posted: Tue Aug 05, 2014 4:42 am
by Yurii Orishchuk

Hi Carlos,

You have reinit your mapp with code:

pre

new google.maps.map(....

/pre

Try to comment/delete this code:

http://prntscr.com/49ohoc/direct

Also if it will be culprit of your problem try to use following code instead of yours:

pre

//Note: you need replace "mapName" with your map component name.
var map = Appery("mapName").options.mapElement.gmap('get', 'map');

/pre

Regards.