TrackPoint class
轨迹点信息
- Inheritance
- Object
- Point
- TrackPoint
Constructors
-
TrackPoint({@required LatLng location, @required int locTime, CoordType coordType: CoordType.BD09LL, double radius, int direction, double speed, double height, String createTime, String objectName, Map<
String, String> columns, String roadGrade, String roadName, String locateMode, String transportMode, int supplement}) - TrackPoint.fromMap(Map map)
Properties
-
columns
↔ Map<
String, String> -
自定义轨迹属性(track attribute)
read / write
- coordType ↔ CoordType
-
坐标类型,默认为百度经纬度
read / write, inherited
- createTime ↔ String
-
创建时间(该时间为服务端时间)
注:仅在查询历史轨迹时有值;批量添加轨迹点时,无须设置该字段。
read / write
- direction ↔ int
-
方向(范围为
0,359
,0度为正北方向,顺时针)read / write, inherited - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- height ↔ double
-
高度(单位: m)
read / write, inherited
- locateMode ↔ String
-
轨迹对应的定位方式(鹰眼分析得出) [...]
read / write
- location ↔ LatLng
-
经纬度
read / write, inherited
- locTime ↔ int
-
定位时间
read / write, inherited
- objectName ↔ String
-
对象名称
read / write
- radius ↔ double
-
定位精度(单位:m)
read / write, inherited
- roadGrade ↔ String
-
轨迹对应的道路等级 [...]
read / write
- roadName ↔ String
-
轨迹对应的道路名称 [...]
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- speed ↔ double
-
速度(单位:km/h)
read / write, inherited
- supplement ↔ int
-
是否为补充的点
若为原始轨迹点位置纠正后的点,则不返回该字段;
若该点为鹰眼纠偏绑路时自动补充的道路形状点,则supplement=1;
若该点为通过supplement_mode和supplement_content在长距离中断区间使用路线规划补偿的轨迹点,则_supplement=2;
read / write
- transportMode ↔ String
-
轨迹对应的交通方式(鹰眼分析得出) [...]
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