Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-772] reverseGeocoder needs to have definable endpoint ie: not api.appcelerator.net

GitHub Issuen/a
Resolution Date2011-07-28T16:55:19.000+0000
Affected Version/sn/a
Fix Version/sBacklog
Labelsgps, ios, location, maps, reversegeocoder
AssigneeReggie Seagraves



I noticed frequent crashing today in my apps while they used reverseGeocoder and it took me a while to realise what the issue was: the 'Appclerator cloud' is down.

After inspecting GeolocationModule.m I see that it uses http://api.appcelerator.net/p/v1/geo">http://api.appcelerator.net/p/v1/geo as its endpoint to get data. Since the site was down and the app has no way of dealing with outage such as this, I wonder if it's possible for a developer to override this and use another, such as Google's service (which would make sense, given that the Maps use them too)

http://code.google.com/apis/maps/documentation/geocoding/index.html#ReverseGeocoding"> http://code.google.com/apis/maps/documentation/geocoding/index.html...

eg: To get the place details from latlng we could use:

json : http://maps.google.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=false"> http://maps.google.com/maps/api/geocode/json?latlng=40.714224,-73.9...
xml : http://maps.google.com/maps/api/geocode/xml?latlng=40.714224,-73.961452&sensor=false"> http://maps.google.com/maps/api/geocode/xml?latlng=40.714224,-73.96...

(Note 'sensor' must be set to either true or false)

The Google Geocoding API no longer needs a Maps API key, so this should be easy to implement surely? (Or does the terms and conditions 'require' that this data is always used in conjuction with a map display?


  1. Stephen Tramer 2011-04-15

    This is still an issue for any services which use the Appcelerator servers, including analytics.

  2. Vikramjeet Singh 2011-07-28

    Bug Scrub: Valid. No test case exists

JSON Source