AMapOptions constructor

AMapOptions({
  1. required String apiKey,
  2. LocationMode? locationMode = LocationMode.hightAccuracy,
  3. bool? isNeedAddress = false,
  4. bool? isOnceLocation = false,
  5. bool? isMockEnable = true,
  6. int? interval = 5000,
  7. bool? isGpsFirst = true,
  8. int? distanceFilter = 0,
})

Implementation

AMapOptions(
    {required this.apiKey,
    this.locationMode = LocationMode.hightAccuracy,
    this.isNeedAddress = false,
    this.isOnceLocation = false,
    this.isMockEnable = true,
    this.interval = 5000,
    this.isGpsFirst = true,
    this.distanceFilter = 0});