Project: titanium
Issue TIMOB-18719: Windows: Implement Ti.Geolocation geocoding methods
Note that each method returns a specialized Object as argument to the callback function. We'll need to wrap it in a struct as we do for Font/Point/Dimension. Additionally, the reverseGeocoder response object has a specialized property value that should also be a struct. h2. Methods - forwardGeocoder http://docs.appcelerator.com/titanium/3.0/#!/api/ForwardGeocodeResponse - reverseGeocoder http://docs.appcelerator.com/titanium/3.0/#!/api/ReverseGeocodeResponse http://docs.appcelerator.com/titanium/3.0/#!/api/GeocodedAddress {code} forwardGeocoder( address, callback ) : void Resolves an address to a location. Parameters address : String (optional) address to resolve. callback : Callback (optional) Function to invoke on success or failure. Returns void ----------- reverseGeocoder( latitude, longitude, callback ) : void Tries to resolve a location to an address. The callback receives a ReverseGeocodeResponse object. If the request is successful, the object includes one or more addresses that are possible matches for the requested coordinates. Parameters latitude : Number (optional) Latitude to search, specified in decimal degrees. longitude : Number (optional) Longitude to search, specified in decimal degrees. callback : Callback (optional) Function to invoke on success or failure. Returns void {code}
Story points: 5