AMapLocationOption constructor

AMapLocationOption({
  1. int locationInterval = 2000,
  2. bool needAddress = true,
  3. AMapLocationMode locationMode = AMapLocationMode.Hight_Accuracy,
  4. GeoLanguage geoLanguage = GeoLanguage.DEFAULT,
  5. bool onceLocation = false,
  6. bool pausesLocationUpdatesAutomatically = false,
  7. DesiredAccuracy desiredAccuracy = DesiredAccuracy.Best,
  8. double distanceFilter = -1,
  9. AMapLocationAccuracyAuthorizationMode desiredLocationAccuracyAuthorizationMode = AMapLocationAccuracyAuthorizationMode.FullAccuracy,
})

Implementation

AMapLocationOption(
    {this.locationInterval = 2000,
    this.needAddress = true,
    this.locationMode = AMapLocationMode.Hight_Accuracy,
    this.geoLanguage = GeoLanguage.DEFAULT,
    this.onceLocation = false,
    this.pausesLocationUpdatesAutomatically = false,
    this.desiredAccuracy = DesiredAccuracy.Best,
    this.distanceFilter = -1,
    this.desiredLocationAccuracyAuthorizationMode =
        AMapLocationAccuracyAuthorizationMode.FullAccuracy});