Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Geolocation in Google maps not working

Hi
Following your tutorial "Multiple location points and custom icons for Google Maps", my location is not displayed. I have tried it on my device as well to make sure it is not the browser.

I get the following error with this code
var map = Appery('map1');
map.options['address']='';
map.refresh();

Error: ['address'] is better written in dot notation.

So I change the code

var map = Appery('map1');
map.options.address='';
map.refresh();

Still cant pick up my location

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

Geolocation in Google maps not working

Hi Deon.

Please provide us screen shots of your code.

Also please take a look browser debuger console. May be there is some errors..

Regards.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Geolocation in Google maps not working

?
I have given you the code, please read above.I also gave you the error. No errors in Browser debug console.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Geolocation in Google maps not working

Hi
I found the issue. For some reason even when enabling location services within Chrome, it does not work. I took my device outside and hey, something about roofes that satelites do not like I suppose. Sorry for wasting your time.

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

Geolocation in Google maps not working

Hi Deon,

Thank you for the update!

Return to “Issues”