-
Notifications
You must be signed in to change notification settings - Fork 0
ClassLuaLocation
hp-sam edited this page May 26, 2014
·
2 revisions
| name | parameters | return value | description |
| distanceFromLocation | location:LuaLocation | meters:float | Returns the lateral distance between two locations. |
| getCoordinate | void | latitude:float, longitude:float | Returns the coordinate of the current location. |
Attributes(r readonly,w writeonly,rw readwrite)
| name | RW | description |
| timestamp:float | r | the timestamp when this location was determined. |
| altitude:float | r | Returns the altitude of the location. Can be positive (above sea level) or negative (below sea level). |
| course:float | r | Returns the course of the location in degrees true North. Negative if course is invalid. 0.0 - 359.9 degrees, 0 being true North |
| speed:float | r | the speed of the location in m/s. Negative if speed is invalid. |