BMFMapOptions constructor Null safety

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

BMFMapOptions构造方法

Implementation

BMFMapOptions({
  this.mapType = BMFMapType.Standard,
  this.languageType = BMFMapLanguageType.Chinese,
  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,
});