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

MarkerCollection.toJson() method

Serialize collection to JSON format.

Signature:

toJson(): Record<string, any>;

Returns:

Record<string, any>