LocationType enum Null safety

定位类型

Constants

FOLLOW → const LocationType

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

const LocationType(2)
FOLLOW_NO_CENTER → const LocationType

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

const LocationType(6)
LOCATE → const LocationType

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

const LocationType(1)
LOCATION_ROTATE → const LocationType

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

const LocationType(4)
LOCATION_ROTATE_NO_CENTER → const LocationType

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

const LocationType(5)
MAP_ROTATE → const LocationType

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

const LocationType(3)
MAP_ROTATE_NO_CENTER → const LocationType

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

const LocationType(7)
SHOW → const LocationType

只定位

const LocationType(0)
values → const List<LocationType>

A constant List of the values in this enum, in order of their declaration.

const List<LocationType>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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