BMFMapOptions constructor

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

BMFMapOptions构造方法

Implementation

BMFMapOptions({
  this.mapType = BMFMapType.Standard,
  this.languageType = BMFMapLanguageType.Chinese,
  this.backgroundColor,
  this.backgroundImage,
  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.flingEnable = true,
  this.doubleClickGesturesEnable = false,
  this.pointGestures,
  this.latLngGestures,
  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,
  this.showDEMLayer = false,
});