Home > @magiclane/maps-sdk > MapViewRenderInfo > (constructor)

MapViewRenderInfo.(constructor)

Creates a MapViewRenderInfo instance.

Use this constructor to construct a render-info snapshot that describes what the map rendered during a single view cycle.

Signature:

constructor(dataTransitionStatus: ViewDataTransitionStatus, cameraTransitionStatus: ViewCameraTransitionStatus, polygonArea: PolygonGeographicArea, markersIds: number[], sourcesIds: number[]);

Parameters

Parameter

Type

Description

dataTransitionStatus

ViewDataTransitionStatus

The status of data transitions for the view

cameraTransitionStatus

ViewCameraTransitionStatus

The status of camera transitions for the view

polygonArea

PolygonGeographicArea

The polygonal geographic area visible in the view

markersIds

number[]

IDs of markers that were rendered during this view

sourcesIds

number[]

IDs of sources that were rendered during this view