MapViewPerspective enum Maps & 3D Scenes
Map view perspective modes for camera positioning
Defines whether the map is displayed in a flat, top-down view or a tilted perspective view. Use with FollowPositionPreferences.setPerspective to switch between modes during follow position.
See also:
- FollowPositionPreferences.perspective - Get the current perspective
- FollowPositionPreferences.setPerspective - Change the perspective with optional animation
Values
- twoDimensional → const MapViewPerspective
-
Flat, top-down 2D view with no tilt
The map is displayed as a flat plane viewed from directly above, similar to a traditional paper map. This mode provides the clearest view of geographic relationships but lacks depth perception.
- threeDimensional → const MapViewPerspective
-
Perspective 3D view with camera tilt
The map is displayed with a tilted camera angle, providing depth and a sense of perspective. Buildings and terrain appear three-dimensional, making it easier to understand spatial relationships and navigate complex urban environments.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
MapViewPerspective> - A constant List of the values in this enum, in order of their declaration.