BMFMapOptions constructor Null safety

BMFMapOptions(
  1. {BMFMapType mapType = BMFMapType.Standard,
  2. BMFMapLanguageType languageType = BMFMapLanguageType.Chinese,
  3. Color? backgroundColor,
  4. BMFMapFontSizeLevel fontSizeLevel = BMFMapFontSizeLevel.Standard,
  5. BMFCoordinateBounds? limitMapBounds,
  6. BMFPoint? compassPosition,
  7. bool compassEnabled = false,
  8. BMFCoordinate? center,
  9. int? zoomLevel,
  10. int? minZoomLevel,
  11. int? maxZoomLevel,
  12. bool? showZoomControl = true,
  13. double? rotation,
  14. double? overlooking,
  15. int? minOverlooking,
  16. bool buildingsEnabled = true,
  17. bool showMapPoi = true,
  18. bool trafficEnabled = false,
  19. bool baiduHeatMapEnabled = false,
  20. bool gesturesEnabled = true,
  21. bool zoomEnabled = true,
  22. bool zoomEnabledWithTap = true,
  23. bool zoomEnabledWithDoubleClick = true,
  24. bool scrollEnabled = true,
  25. bool overlookEnabled = true,
  26. bool rotateEnabled = true,
  27. bool? forceTouchEnabled = false,
  28. bool showMapScaleBar = true,
  29. BMFPoint? mapScaleBarPosition,
  30. BMFPoint? mapZoomControlPosition,
  31. BMFLogoPosition? logoPosition = BMFLogoPosition.LeftBottom,
  32. BMFCoordinateBounds? visibleMapBounds,
  33. BMFEdgeInsets? mapPadding,
  34. bool? updateTargetScreenPtWhenMapPaddingChanged = true,
  35. bool? changeWithTouchPointCenterEnabled = false,
  36. bool changeCenterWithDoubleTouchPointEnabled = true,
  37. bool baseIndoorMapEnabled = false,
  38. bool showIndoorMapPoi = true,
  39. 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,
});