PolylineFence class

多段线围栏

Inheritance
  • Object
  • Fence
  • PolylineFence

Constructors

PolylineFence.buildServerFence({@required List<LatLng> vertexes, @required int offset, int fenceId, String fenceName, String monitoredPerson, int deNoise: 0, CoordType coordType: CoordType.BD09LL})
PolylineFence.fromMap(Map map)

Properties

coordType CoordType
坐标类型,默认百度经纬度 (必填)
read / write
deNoise ↔ int
围栏去噪参数 地理围栏的去燥精度。 每个轨迹点都有一个定位误差半径radius,这个值越大,代表定位越不准确,可能是噪点。围栏计算时,如果噪点也参与计算,会造成误报的情况。设置denoise可控制,当轨迹点的定位误差半径大于设置值时,就会把该轨迹点当做噪点,不参与围栏计算。 可选,如果不设置,该值默认为0,不去噪。 单位:米。 精度的值必须为正整数。
read / write, inherited
fenceId ↔ int
围栏编号(服务端返回)
read / write, inherited
fenceName ↔ String
围栏名称
read / write, inherited
fenceShape FenceShape
围栏形状
read / write, inherited
fenceType FenceType
围栏类型(本地围栏、服务端围栏)
read / write, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
monitoredPerson ↔ String
监控对象 新建地理围栏时必填,必须为非空字符串。 更新地理围栏时选填。 地理围栏支持监控一至多个entity,用法如下: [...]
read / write, inherited
offset ↔ int
偏离距离 (必填)
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
vertexes ↔ List<LatLng>
顶点坐标集 (必填)
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() → Map
override
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited