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

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

Static Methods

userlocationOptions() BMFUserLocationDisplayParam