Ti.Geolocation has a good start, but is not complete.
Extends Evented.
Methods:
* forwardGeocoder() - call to api.appcelerator.net/p/v1/geo using require()
* getCurrentHeading() - use webkitCompassHeading:
http://tinyurl.com/85a7rjo
* getCurrentPosition()
* reverseGeocoder() - call to api.appcelerator.net/p/v1/geo using require()
Properties:
* distanceFilter - iOS specific, but may be doable
* headingFilter - iOS specific, but may be doable
* preferredProvider - is this doable?
Constants:
* locationServicesEnabled - true if navigator.geolocation is not undefined
Remove all AUTHORIZATION_* constants.
Update API docs show correct support of methods/constants/properties.
Might find some useful bits here:
http://code.google.com/p/geo-location-javascript/source/browse/trunk/js/geo.js
forward and reverse geocoders will remains stubbed out but unimplemented until TIMOB-4880 is resolved.
TIMOB-4880 will not be resolved as per the recent decision to go with mapquest. We should fix this ticket in the current form.
Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1573
Here is my relevant nginx config. A proxy must be configured to access api.appcelerator.net.
Closing ticket due to MobileWeb no longer being supported.