Titanium.Geolocation
Properties
No properties.
Methods
- clearWatch ( watchId )
- Stop watching geolocation events.
- getCurrentPosition ( success, failure, options )
- Query the device for the last known position. On Android, this method does not cause the radio to start.
- watchPosition ( success, failure, options )
- Register to receive geolocation updates.
Objects
No objects.
Additional Functions (requiring further documentation)
- getCurrentHeading( success, failed ); - see Kitchen Sink (line 214)
- watchHeading( success, failed ); - see Kitchen Sink (line 192)
- forwardGeocoder( address, callback ) - see Kitchen Sink (line 244)
- reverseGeocoder( lat, long, callback ) - see Kitchen Sink (line 94)
Additional Properties
- hasCompass - see Kitchen Sink (line 191)
Notes
All additional functionality can be found within the geo.html document, in the Kitchen Sink application available in Code Examples section
Titanium Mobile Dev Center