Page 1 of 1

Geolocation in Google maps not working

Posted: Tue May 06, 2014 3:58 am
by Deon

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


Geolocation in Google maps not working

Posted: Tue May 06, 2014 4:36 am
by Yurii Orishchuk

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.


Geolocation in Google maps not working

Posted: Tue May 06, 2014 7:33 am
by Deon

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


Geolocation in Google maps not working

Posted: Tue May 06, 2014 5:16 pm
by Deon

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.


Geolocation in Google maps not working

Posted: Tue May 06, 2014 5:36 pm
by Kateryna Grynko

Hi Deon,

Thank you for the update!