Home > @magiclane/maps-sdk > MarkerCollection > fromJson

MarkerCollection.fromJson() method

Create MarkerCollection from JSON data.

Signature:

static fromJson(json: Record<string, any>): MarkerCollection;

Parameters

Parameter

Type

Description

json

Record<string, any>

Returns:

MarkerCollection