Home > @magiclane/maps-sdk > LandmarkCategory

LandmarkCategory class

Landmark category class

Signature:

export declare class LandmarkCategory extends GemAutoreleaseObject 

Extends: GemAutoreleaseObject

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the LandmarkCategory class.

Properties

Property

Modifiers

Type

Description

id

readonly

number

Get the category Id

img

Img

Returns the category image as an Img.

landmarkStoreId

readonly

number

Get parent landmark store id

mapId

readonly

number

name

string

Get the category name

pointerId

readonly

number | bigint

Methods

Method

Modifiers

Description

create()

static

Creates a new LandmarkCategory instance

dispose()

Dispose the category object

getImage(options)

Get the category image