Home > @magiclane/maps-sdk > MapViewMarkerCollections

MapViewMarkerCollections class

Signature:

export declare class MapViewMarkerCollections 

Constructors

Constructor

Modifiers

Description

(constructor)()

Constructs a new instance of the MapViewMarkerCollections class

Properties

Property

Modifiers

Type

Description

externalRenderers

Map<number, ExternalRendererMarkers>

mapId

readonly

number

pointerId

readonly

number | bigint

size

readonly

number

Methods

Method

Modifiers

Description

add(col, { settings, externalRender, }, input)

Add a marker collection to the map.

addList({ list, settings, name, markerType, }, input)

at(index)

Get collection at a specific index (alias for getCollectionAt).

clear()

contains(col)

dispose()

getCollectionAt(index)

hitTest(area)

indexOf(col)

init(id, mapId, mapPointerId)

static

isSketches(coll)

onMarkerRender(mapController, data)

onViewRendered(data)

removeAt(index)

setRenderSettings(index, settings)