Reverse Geolocation works from Pc but no from IOS

4 posts / 0 new
Last post
victorlm125
Reverse Geolocation works from Pc but no from IOS

 

Hi all,

when I call the reverse geolocation API from a Pc with windows all works ok and the location is resolved but when I try the same call from my phone (Iphone) always returns and error:

Status= 0

Status Text = 'Unkown error'

I don't understand the reason. Any idea?

Regards,

Víctor


MapQBrianCoakley
Are you submitting the API
Are you submitting the API request via a mobile browser or application? There should not be any difference in the API response regardless of the source. Many mobile devices, including iPhones, use the APIs successfully.

victorlm125
I am submitting the API by a

I am submitting the API by a GET API REST:

const url = `http://www.mapquestapi.com/geocoding/v1/reverse?key=${this.key}&location=${point.lat},${point.long}`;

return this.http.get<any>(url).toPromise();

 

from a mobile browser. This is the point. There is no difference between calling from PC or a mobile browser aparently (just the browser itself, Chrome or Safari).

 

Regards,

Víctor


MapQBrianCoakley
Since the API works from the
Since the API works from the PC, this may be an issue with the mobile browser rather than the API. It works great for me from my Android device.