|
Online Maps v3
|
Controls map using GPS.
Online Maps Location Service is a wrapper for Unity Location Service.
http://docs.unity3d.com/ScriptReference/LocationService.html.
More...
Public Member Functions | |
| void | StartLocationService (float? desiredAccuracyInMeters=null, float? updateDistanceInMeters=null) |
| Starts location service updates. Last location coordinates could be. | |
Properties | |
| double | distance [get] |
| Distance in meters from the last location. | |
Properties inherited from OnlineMapsLocationServiceGenericBase< OnlineMapsLocationService > | |
| static T | instance [get] |
| Instance of LocationService. | |
Controls map using GPS.
Online Maps Location Service is a wrapper for Unity Location Service.
http://docs.unity3d.com/ScriptReference/LocationService.html.
| void OnlineMapsLocationService.StartLocationService | ( | float? | desiredAccuracyInMeters = null, |
| float? | updateDistanceInMeters = null ) |
Starts location service updates. Last location coordinates could be.
| desiredAccuracyInMeters | Desired service accuracy in meters. Using higher value like 500 usually does not require to turn GPS chip on and thus saves battery power. Values like 5-10 could be used for getting best accuracy. Default value is 10 meters. |
| updateDistanceInMeters | The minimum distance (measured in meters) a device must move laterally before Input.location property is updated. Higher values like 500 imply less overhead. |