BMFMapOptions class
mapView属性集合
Constructors
- BMFMapOptions({BMFMapType mapType: BMFMapType.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, bool showMapPoi, bool trafficEnabled, 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})
- BMFMapOptions构造方法
Properties
- baiduHeatMapEnabled ↔ bool
-
设定地图是否打开百度城市热力图图层(百度自有数据), [...]
read / write
- baseIndoorMapEnabled ↔ bool
-
设定地图是否显示室内图(包含室内图标注),默认不显示
read / write
- buildingsEnabled ↔ bool
-
设定地图是否现显示3D楼块效果
read / write
- center ↔ BMFCoordinate
-
当前地图的中心点,改变该值时,地图的比例尺级别不会发生变化
read / write
- changeCenterWithDoubleTouchPointEnabled ↔ bool
-
设定双击手势放大地图时,BMKMapView的放大效果的中心点。 [...]
read / write
- changeWithTouchPointCenterEnabled ↔ bool
-
设定双指手势操作时,BMKMapView的旋转和缩放效果的中心点。 [...]
read / write
- compassEnabled ↔ bool
-
是否显示指南针
read / write
- compassPosition ↔ BMFPoint
-
指南针的位置,设定坐标以BMKMapView左上角为原点,向右向下增长
read / write
- forceTouchEnabled ↔ bool
-
设定地图是否回调force touch事件,默认为false,仅适用于支持3D Touch的情况, [...]
read / write
- gesturesEnabled ↔ bool
-
设定地图View能否支持所有手势操作
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- limitMapBounds ↔ BMFCoordinateBounds
-
限制地图的显示范围(地图状态改变时,该范围不会在地图显示范围外。设置成功后,会调整地图显示该范围)
read / write
- logoPosition ↔ BMFLogoPosition
-
logo位置 默认BMFLogoPositionLeftBottom
read / write
- mapPadding ↔ BMFEdgeInsets
-
地图预留边界,默认:(top:0, left:0, bottom:0, right:0)。 [...]
read / write
- mapScaleBarPosition ↔ BMFPoint
-
比例尺的位置,设定坐标以BMFMapWidget左上角为原点,向右向下增长
read / write
- mapType ↔ BMFMapType
-
当前地图类型,默认标准地图 [...]
read / write
- mapZoomControlPosition ↔ BMFPoint
-
缩放控件的位置,设定坐标以BMFMapWidget左上角为原点,向右向下增长 [...]
read / write
- maxZoomLevel ↔ int
-
地图的自定义最大比例尺级别
read / write
- minOverlooking ↔ int
-
地图俯视角度最小值(即角度最大值),在手机上当前可设置的范围为-79~0度 [...]
read / write
- minZoomLevel ↔ int
-
地图的自定义最小比例尺级别
read / write
- overlookEnabled ↔ bool
-
设定地图View能否支持俯仰角
read / write
- overlooking ↔ double
-
地图俯视角度,在手机上当前可使用的范围为-45~0度 (ios取int值)
read / write
- rotateEnabled ↔ bool
-
设定地图View能否支持旋转
read / write
- rotation ↔ double
-
地图旋转角度,在手机上当前可使用的范围为-180~180度 (ios取int值)
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- scrollEnabled ↔ bool
-
设定地图View能否支持用户移动地图
read / write
- showIndoorMapPoi ↔ bool
-
设定室内图标注是否显示,默认true,仅当显示室内图(baseIndoorMapEnabled为true)时生效
read / write
- showMapPoi ↔ bool
-
设定地图是否显示底图poi标注(不包含室内图标注),默认true
read / write
- showMapScaleBar ↔ bool
-
设定是否显示比例尺
read / write
- showZoomControl ↔ bool
-
设置是否先是缩放控件 [...]
read / write
- trafficEnabled ↔ bool
-
设定地图是否打开路况图层
read / write
- updateTargetScreenPtWhenMapPaddingChanged ↔ bool
-
设置mapPadding时,地图中心(屏幕坐标:BMKMapStatus.targetScreenPt)是否跟着改变,默认true [...]
read / write
- visibleMapBounds ↔ BMFCoordinateBounds
-
当前地图可显示范围(东北,西南)角坐标
read / write
- zoomEnabled ↔ bool
-
设定地图View能否支持用户多点缩放(双指)
read / write
- zoomEnabledWithDoubleClick ↔ bool
-
设定地图View能否支持用户缩放(单指双击)
read / write
- zoomEnabledWithTap ↔ bool
-
设定地图View能否支持用户缩放(双指单击)
read / write
- zoomLevel ↔ int
-
地图比例尺级别,在手机上当前可使用的级别为4-21级
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map< String, Object> - BMFMapOptions -> map
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited