Home > @magiclane/maps-sdk > ContentUpdater > init

ContentUpdater.init() method

Initializes a new ContentUpdater instance. Should not be called directly; use ContentStore.createContentUpdater().

Signature:

static init(id: number, mapId: number): ContentUpdater;

Parameters

Parameter

Type

Description

id

number

The pointer ID for the updater.

mapId

number

The map ID for the updater.

Returns:

ContentUpdater

A new ContentUpdater instance.