Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-772

reverseGeocoder needs to have definable endpoint ie: not api.appcelerator.net

    Details

      Description

      {html}<div><p>Hi,</p>
      <p>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.</p>
      <p>After inspecting GeolocationModule.m I see that it uses <a href=
      "http://api.appcelerator.net/p/v1/geo">http://api.appcelerator.net/p/v1/geo</a>
      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)</p>
      <p><a href=
      "http://code.google.com/apis/maps/documentation/geocoding/index.html#ReverseGeocoding">
      http://code.google.com/apis/maps/documentation/geocoding/index.html...</a></p>
      <p>eg: To get the place details from latlng we could use:</p>
      <p>json : <a href=
      "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...</a><br>
      xml : <a href=
      "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...</a></p>
      <p>(Note 'sensor' must be set to either true or false)</p>
      <p>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?</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              rseagraves Reggie Seagraves
              Reporter:
              kosso kosso
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-740
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration