LocationType enum

定位类型

Inheritance

Constructors

LocationType()
const

Values

SHOW → const LocationType

只定位

LOCATE → const LocationType

定位、且将视角移动到地图中心点

FOLLOW → const LocationType

定位、且将视角移动到地图中心点,定位点跟随设备移动

MAP_ROTATE → const LocationType

定位、且将视角移动到地图中心点,地图依照设备方向旋转,定位点会跟随设备移动

LOCATION_ROTATE → const LocationType

定位、且将视角移动到地图中心点,定位点依照设备方向旋转,并且会跟随设备移动

LOCATION_ROTATE_NO_CENTER → const LocationType

定位、但不会移动到地图中心点,定位点依照设备方向旋转,并且会跟随设备移动

FOLLOW_NO_CENTER → const LocationType

定位、但不会移动到地图中心点,并且会跟随设备移动

MAP_ROTATE_NO_CENTER → const LocationType

定位、但不会移动到地图中心点,地图依照设备方向旋转,并且会跟随设备移动

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<LocationType>
A constant List of the values in this enum, in order of their declaration.