Home > @magiclane/maps-sdk > ExtraInfo
ExtraInfo class
Extra info class for landmark metadata.
ExtraInfo is a flexible key/value store used by the SDK to attach auxiliary information to landmarks. It can contain fields used internally for contour boxes, geographic area metadata, or Wikipedia information.
Signature:
export declare class ExtraInfo Constructors
Constructor | Modifiers | Description |
|---|---|---|
Creates a new ExtraInfo instance. |
Methods
Method | Modifiers | Description |
|---|---|---|
Adds or updates a key-value pair in the extra info. | ||
Checks if this ExtraInfo is equal to another. | ||
| Creates an ExtraInfo instance from a list of strings. | |
Retrieves a value by key from the extra info. Automatically converts string representations of booleans and numbers to their native types. | ||
Computes a hash code for this ExtraInfo instance. | ||
Removes a key-value pair from the extra info. | ||
Converts the extra info to input format for API calls. |