BMFMapOptions constructor

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

BMFMapOptions构造方法

Implementation

BMFMapOptions({
  this.mapType: BMFMapType.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,
  this.showMapPoi,
  this.trafficEnabled,
  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,
});