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

Location and route calculation

Laura,

Could you please share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? We would need to test it.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Location and route calculation

Hello! Most likely geolocation service isn't invoked. Please go to App Settings--External resources and change Libraries version 1.1 (don't forget to click Apply)

laura6372139
Posts: 0
Joined: Wed Oct 30, 2013 11:54 am

Location and route calculation

Hello!

I change Libraries, but on my test computer continuous works, but my phone still does not locate me.
the calculation of the route on the computer test works, but I get on the mobile:

ZERO_RESULTS

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Location and route calculation

As we can see from the screenshot there is a typo. Should be prevar map = Appery("googlemap1");
.../pre instead prevar map = Appery("map");
.../prebecause your component name is googlemap1. "ZERO_RESULTS" error can occure if device while 30 second didn't connect to GPS to define coordinates. To fix it on "Data" tab in Geolocation service parameters specify enableHighAccuracy=false (see the screenshot). After you do this device will define coordinates using Wi-Fi.
Image

laura6372139
Posts: 0
Joined: Wed Oct 30, 2013 11:54 am

Location and route calculation

Thanks for your help!!!!!!!

Alvi
Posts: 0
Joined: Thu Apr 23, 2015 6:22 pm

Location and route calculation

Hi enableHighAccuracy = false did not help in my case , on mobile get ZERO_RESULT but works fine on desktop.
Any other suggestion?

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

Location and route calculation

Hello,

Could you please be more specific.
This thread is quite old, clarify what you have tried and what does not work.
What exactly are you willing to achieve?

Alvi
Posts: 0
Joined: Thu Apr 23, 2015 6:22 pm

Location and route calculation

I have a Map page, when use opens the page it shows them there current location on the map , a get directions button , that shows route on the map to a predefined office location.
This works fine on test/emulation but on actual device it shows "ZERO_RESULT", application is basically same as geolocation example on your site.

One solution provided for this error in this post was "enableHighAccuracy = false" for the service, that did not help in my case.

Hope this is clear now.

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

Location and route calculation

Hi saudalvi,

Please try following geolocation service datasource "before send" mapping:

Details: http://prntscr.com/6yz0oo/direct

Regards.

Return to “Issues”