MapViewRenderInfo class Maps & 3D Scenes

Information produced when the map view finishes a render pass.

Provides the data and camera transition statuses, the geographic area visible in the view (as a polygon), and lists of marker and source IDs that were rendered. Prefer polygonArea for accurate area calculations when the map is rotated;

Constructors

MapViewRenderInfo({required ViewDataTransitionStatus dataTransitionStatus, required ViewCameraTransitionStatus cameraTransitionStatus, required PolygonGeographicArea polygonArea, required List<int> markersIds, required List<int> sourcesIds})
Creates a MapViewRenderInfo instance.
MapViewRenderInfo.fromJson(Map<String, dynamic> json)
Deserializes a JSON-compatible map to create an instance.
factory

Properties

area RectangleGeographicArea
The geographic bounding box that encloses the visible area.
no setter
areaSecond RectangleGeographicArea?
A secondary bounding box for rendered content, if applicable.
final
cameraTransitionStatus ViewCameraTransitionStatus
The view camera transition status.
final
dataTransitionStatus ViewDataTransitionStatus
The view data transition status.
final
hashCode int
The hash code for this object.
no setterinherited
markersIds List<int>
The IDs of markers that are rendered on the map.
final
polygonArea PolygonGeographicArea
The polygonal geographic area that is rendered on the map.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourcesIds List<int>
The IDs of sources that are rendered on the map.
final

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