Home > @magiclane/maps-sdk > ExtraInfo > add

ExtraInfo.add() method

Adds or updates a key-value pair in the extra info.

Signature:

add(key: string, value: string): void;

Parameters

Parameter

Type

Description

key

string

The key to add or update.

value

string

The value to store.

Returns:

void