Home > @magiclane/maps-sdk > MapViewRoutesCollection > create

MapViewRoutesCollection.create() method

Creates a new instance of MapViewRoutesCollection. Utilizes the GemKitPlatform to request the creation of a new object and parses the resulting JSON to instantiate the collection.

Signature:

static create(): MapViewRoutesCollection;

Returns:

MapViewRoutesCollection

A new MapViewRoutesCollection instance.