[TIMOB-772] reverseGeocoder needs to have definable endpoint ie: not api.appcelerator.net
|Labels||gps, ios, location, maps, reversegeocoder|
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)
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">
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?
- Stephen Tramer 2011-04-15
This is still an issue for any services which use the Appcelerator servers, including analytics.
- Vikramjeet Singh 2011-07-28 Bug Scrub: Valid. No test case exists