const
AMapView(- {Key? key,
- bool autoLocateAfterInit = false,
- LocationType locationType = LocationType.LOCATE,
- int locationInterval = 2000,
- bool showZoomControl = true,
- bool showCompass = false,
- bool showLocationButton = false,
- bool showScaleControl = false,
- bool? allGestureEnable,
- bool zoomGestureEnable = true,
- bool rotateGestureEnable = true,
- bool scrollGestureEnable = true,
- bool tiltGestureEnable = true,
- bool isGestureScaleByMapCenter = false,
- ZoomPosition zoomPosition = ZoomPosition.RIGHT_BOTTOM,
- LogoPosition logoPosition = LogoPosition.BOTTOM_LEFT,
- LogoMargin? logoMargin,
- CompassMargin? compassMargin,
- ScaleMargin? scaleMargin}
)
Implementation
const AMapView({
Key? key,
this.autoLocateAfterInit = false,
this.locationType = LocationType.LOCATE,
this.locationInterval = 2000,
this.showZoomControl = true,
this.showCompass = false,
this.showLocationButton = false,
this.showScaleControl = false,
this.allGestureEnable,
this.zoomGestureEnable = true,
this.rotateGestureEnable = true,
this.scrollGestureEnable = true,
this.tiltGestureEnable = true,
this.isGestureScaleByMapCenter = false,
this.zoomPosition = ZoomPosition.RIGHT_BOTTOM,
this.logoPosition = LogoPosition.BOTTOM_LEFT,
this.logoMargin,
this.compassMargin,
this.scaleMargin,
}) : super(key: key);