BMFMapOptions constructor Null safety
- {BMFMapType mapType = BMFMapType.Standard,
- BMFMapLanguageType languageType = BMFMapLanguageType.Chinese,
- Color? backgroundColor,
- BMFMapFontSizeLevel fontSizeLevel = BMFMapFontSizeLevel.Standard,
- BMFCoordinateBounds? limitMapBounds,
- BMFPoint? compassPosition,
- bool compassEnabled = false,
- BMFCoordinate? center,
- int? zoomLevel,
- int? minZoomLevel,
- int? maxZoomLevel,
- bool? showZoomControl = true,
- double? rotation,
- double? overlooking,
- int? minOverlooking,
- bool buildingsEnabled = true,
- bool showMapPoi = true,
- bool trafficEnabled = false,
- bool baiduHeatMapEnabled = false,
- bool gesturesEnabled = true,
- bool zoomEnabled = true,
- bool zoomEnabledWithTap = true,
- bool zoomEnabledWithDoubleClick = true,
- bool scrollEnabled = true,
- bool overlookEnabled = true,
- bool rotateEnabled = true,
- bool? forceTouchEnabled = false,
- bool showMapScaleBar = true,
- BMFPoint? mapScaleBarPosition,
- BMFPoint? mapZoomControlPosition,
- BMFLogoPosition? logoPosition = BMFLogoPosition.LeftBottom,
- BMFCoordinateBounds? visibleMapBounds,
- BMFEdgeInsets? mapPadding,
- bool? updateTargetScreenPtWhenMapPaddingChanged = true,
- bool? changeWithTouchPointCenterEnabled = false,
- bool changeCenterWithDoubleTouchPointEnabled = true,
- bool baseIndoorMapEnabled = false,
- bool showIndoorMapPoi = true,
- bool showOperateLayer = true}
BMFMapOptions构造方法
Implementation
BMFMapOptions({
this.mapType = BMFMapType.Standard,
this.languageType = BMFMapLanguageType.Chinese,
this.backgroundColor,
this.fontSizeLevel = BMFMapFontSizeLevel.Standard,
this.limitMapBounds,
this.compassPosition,
this.compassEnabled = false,
this.center,
this.zoomLevel,
this.minZoomLevel,
this.maxZoomLevel,
this.showZoomControl = true,
this.rotation,
this.overlooking,
this.minOverlooking,
this.buildingsEnabled = true,
this.showMapPoi = true,
this.trafficEnabled = false,
this.baiduHeatMapEnabled = false,
this.gesturesEnabled = true,
this.zoomEnabled = true,
this.zoomEnabledWithTap = true,
this.zoomEnabledWithDoubleClick = true,
this.scrollEnabled = true,
this.overlookEnabled = true,
this.rotateEnabled = true,
this.forceTouchEnabled = false,
this.showMapScaleBar = true,
this.mapScaleBarPosition,
this.mapZoomControlPosition,
this.logoPosition = BMFLogoPosition.LeftBottom,
this.visibleMapBounds,
this.mapPadding,
this.updateTargetScreenPtWhenMapPaddingChanged = true,
this.changeWithTouchPointCenterEnabled = false,
this.changeCenterWithDoubleTouchPointEnabled = true,
this.baseIndoorMapEnabled = false,
this.showIndoorMapPoi = true,
this.showOperateLayer = true,
});