BMFUserLocationDisplayParam class

Constructors

BMFUserLocationDisplayParam({double? locationViewOffsetX, double? locationViewOffsetY, BMFUserTrackingMode? userTrackingMode = BMFUserTrackingMode.None, bool? enableDirection = true, bool? isAccuracyCircleShow = true, Color? accuracyCircleFillColor, Color? accuracyCircleStrokeColor, double? accuracyCircleBorderWidth = 1.6, bool? isRotateAngleValid = true, String? locationViewImage, bool? canShowCallOut = true, BMFLocationViewHierarchy? locationViewHierarchy, String? locationViewImageNew, String? locationViewGifImageFilePath, double? locationViewImageSizeScale = 1, bool? breatheEffectOpenForWholeStyle = false, String? locationViewCenterImage, String? locationViewCenterGifImageFilePath, double? locationViewCenterImageSizeScale = 1, String? locationViewAroundArrowsImage, double? locationViewAroundArrowsImageSizeScale = 1, bool? breatheEffectOpenForArrowsStyle = true, bool? isLocationArrowStyleCustom = false})
有参构造
BMFUserLocationDisplayParam.fromMap(Map map)
map => BMFUserlocationDisplayParam

Properties

accuracyCircleBorderWidth double?
精度圈 边框宽度,默认1.6point,since 3.5.0
getter/setter pair
accuracyCircleFillColor Color?
精度圈 填充颜色
getter/setter pair
accuracyCircleStrokeColor Color?
精度圈 边框颜色
getter/setter pair
breatheEffectOpenForArrowsStyle bool?
箭头样式定位图标呼吸效果,默认为true
getter/setter pair
breatheEffectOpenForWholeStyle bool?
定位图标整体样式自定义呼吸效果,默认为false
getter/setter pair
canShowCallOut bool?
是否显示气泡,默认true
getter/setter pair
enableDirection bool?
是否允许显示方向信息
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAccuracyCircleShow bool?
精度圈是否显示,默认true
getter/setter pair
isLocationArrowStyleCustom bool?
以下为定位图标整体样式自定义,自定义图片和gif图二选一,Gif图优先级大于图片 since 3.5.0 是否是定位图标箭头样式自定义,true:箭头样式自定义, false:整体样式自定义,默认false
getter/setter pair
isRotateAngleValid bool?
跟随态旋转角度是否生效,默认true
getter/setter pair
locationViewAroundArrowsImage String?
箭头样式定位图标周边箭头轮廓图片,箭头向上为正
getter/setter pair
locationViewAroundArrowsImageSizeScale double?
箭头样式定位图标周边箭头轮廓图片大小缩放系数,默认为1,可设置范围0.2~3.0,基于图片大小缩放
getter/setter pair
locationViewCenterGifImageFilePath String?
箭头样式定位图标中心圆点gif图文件路径,无方向
getter/setter pair
locationViewCenterImage String?
箭头样式定位图标中心图片,无方向
getter/setter pair
locationViewCenterImageSizeScale double?
箭头样式定位图标中心圆点图片大小缩放系数,默认为1,可设置范围0.5~2.0,基于固定尺寸CGSizeMake(30, 30)缩放
getter/setter pair
locationViewGifImageFilePath String?
定位图标整体样式自定义gif图文件路径
getter/setter pair
locationViewHierarchy BMFLocationViewHierarchy?
locationView在mapview上的层级 默认值为LOCATION_VIEW_HIERARCHY_BOTTOM
getter/setter pair
locationViewImage String?
用户自定义定位图标
getter/setter pair
locationViewImageNew String?
新版用户自定义定位图标
getter/setter pair
locationViewImageSizeScale double?
定位图标整体样式自定义大小缩放系数,默认为1,可设置范围0.5~2.0,基于固定尺寸CGSizeMake(30, 30)缩放
getter/setter pair
locationViewOffsetX double?
定位图标X轴偏移量(屏幕坐标)
getter/setter pair
locationViewOffsetY double?
定位图标Y轴偏移量(屏幕坐标)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userTrackingMode ↔ BMFUserTrackingMode?
定位模式
getter/setter pair

Methods

fromMap(Map map) → dynamic
map -> dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
model -> map
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited