Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16676] iOS: Geolocation.forwardGeocoder doesn't find locations outside region specified in system settings

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.2.2
Fix Version/sn/a
ComponentsiOS
Labelsios
ReporterMatteo Landi
AssigneeUnknown
Created2014-03-04T22:02:20.000+0000
Updated2018-02-28T20:03:30.000+0000

Description

As specified in the summary, it seems like it is not possible to retrieve the coordinates of locations outside the configured region: every time I invoke forwardGeocoder I get back an error message (i.e. it was not possible to retrieve the coordinates for the specified address). Is there a way to disable this restriction? On Android on the other hand, everything is working fine.

Attachments

FileDateSize
BrokenForwardGeocoder.tgz2014-03-05T23:19:50.000+0000676355

Comments

  1. Ritu Agrawal 2014-03-05

    Can you please attach a simple runnable test case so that we can investigate more and try to reproduce the issue?
  2. Matteo Landi 2014-03-05

    Please have a look at the attached application. Hope it helps.
  3. Ritu Agrawal 2014-03-06

    I noticed that "London, UK" does not work but "London" does but coordinates are not that of "London, UK". Would it be possible for you to specify a USA address without the country name (for example, Denver, CO) outside the region specified in system settings and see if it works? It would help us to narrow down the issue.
  4. Matteo Landi 2014-04-06

    I am so sorry for the very late answer but I did not notice you got back to me -- I did not received any notification email. By the way, unfortunately I can't try it right now as I don't have neither my iPhone nor my emulator handy, but I can guarantee that with the system region set to France, I was able to look up French locations only. How come everything is working fine on Android? Does this mean different API calls are done depending on the OS?

JSON Source