AMapOptions constructor
const
AMapOptions({
- int logoPosition = LOGO_POSITION_BOTTOM_LEFT,
- bool zOrderOnTop = false,
- int mapType = MAP_TYPE_NORMAL,
- CameraPosition? camera,
- bool scaleControlsEnabled = false,
- bool zoomControlsEnabled = true,
- bool compassEnabled = false,
- bool scrollGesturesEnabled = true,
- bool zoomGesturesEnabled = true,
- bool tiltGesturesEnabled = true,
- Map? params,
- bool rotateGesturesEnabled = true,
- @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,
});