AMapOptions constructor

const AMapOptions({
  1. int logoPosition = LOGO_POSITION_BOTTOM_LEFT,
  2. bool zOrderOnTop = false,
  3. int mapType = MAP_TYPE_NORMAL,
  4. CameraPosition? camera,
  5. bool scaleControlsEnabled = false,
  6. bool zoomControlsEnabled = true,
  7. bool compassEnabled = false,
  8. bool scrollGesturesEnabled = true,
  9. bool zoomGesturesEnabled = true,
  10. bool tiltGesturesEnabled = true,
  11. Map? params,
  12. bool rotateGesturesEnabled = true,
  13. @Deprecated('在AMapController.setMyLocationStyle中去设置我的位置相关的配置') bool myLocationEnabled = false,
})

Implementation

const AMapOptions({
  this.logoPosition = LOGO_POSITION_BOTTOM_LEFT,
  this.zOrderOnTop = false,
  this.mapType = MAP_TYPE_NORMAL,
  this.camera,
  this.scaleControlsEnabled = false,
  this.zoomControlsEnabled = true,
  this.compassEnabled = false,
  this.scrollGesturesEnabled = true,
  this.zoomGesturesEnabled = true,
  this.tiltGesturesEnabled = true,
  this.params,
  this.rotateGesturesEnabled = true,
  @Deprecated('在AMapController.setMyLocationStyle中去设置我的位置相关的配置') this.myLocationEnabled = false,
});