Shai Alon
Posts: 0
Joined: Sat Mar 01, 2014 11:55 pm

Google map, geolocation, and custom language

Hi,
I tried to load google maps with a custom language from 'User-defined resources' in application settings.
This seems to break the geolocation service.

Any ideas on a sleek solution to using google maps manually (plain js) and removing the Appery google maps ?

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

Google map, geolocation, and custom language

Hello Shai,

Please specify what do you mean here
[quote:]This seems to break the geolocation service[/quote]
What happens exactly ?
Do you test in as native or in browser?

Shai Alon
Posts: 0
Joined: Sat Mar 01, 2014 11:55 pm

Google map, geolocation, and custom language

invoking the geolocation service returns the fail callback (instead of success with coordinates).
It works fine in browser, but breaks in native Android.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Google map, geolocation, and custom language

Hi Shai -

What Android version do you use?
Have you possibility to post a public link?

Shai Alon
Posts: 0
Joined: Sat Mar 01, 2014 11:55 pm

Google map, geolocation, and custom language

Hi,

Public link to apk file:
https://appery.io/app/project/5e2da80...

Public link to web version:
http://appery.io/app/mobile-frame?src...

I am usingAndroid 4.2.2
Software version D80210d-HKG-xx

(The standard LG G2 install)

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Google map, geolocation, and custom language

Hi Shai,

As you know GPS is async and device-depending service.

That's means GPS service could answer success only when device got coordinates.

The process of getting coordinates can take for a while. It is specified by GPS.

For this reason in service request you can found "timeout" parameter. By default it have value 5000(5s).

If your device generates an error - it means your device GPS can't receive coordinates in this timeout(5s).

Please change it to 600000(10min) for make sure the GPS works correctly.

Return to “Issues”