Home > @magiclane/maps-sdk > MapViewRenderInfo
MapViewRenderInfo class
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 for accurate area calculations when the map is rotated.
Signature:
export declare class MapViewRenderInfo Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
(constructor)(dataTransitionStatus, cameraTransitionStatus, polygonArea, markersIds, sourcesIds) |
Creates a MapViewRenderInfo instance. Use this constructor to construct a render-info snapshot that describes what the map rendered during a single view cycle. |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
The geographic bounding box that encloses the visible area. | ||
|
|
RectangleGeographicArea | null |
A secondary bounding box for rendered content, if applicable. | |
|
number[] | |||
|
number[] |