MapIcon
Defined in: client/api.d.ts:7275
One of the game’s own map icons, as MapIcons.list() reports it.
Properties
Section titled “Properties”category
Section titled “category”
readonlycategory:string
Defined in: client/api.d.ts:7284
Its kind, e.g. “fasttravel” or “locationshogsmeade”. MapIcons.categories() lists every one.
hidden
Section titled “hidden”
readonlyhidden:boolean
Defined in: client/api.d.ts:7314
Whether the current rules keep it off the map and the minimap.
readonlyid:string
Defined in: client/api.d.ts:7279
The game’s name for it, e.g. “HM_JPippensPotions”. setHidden and setLabel take it.
readonlylabel:string|null
Defined in: client/api.d.ts:7304
The title a setLabel call put over it, or null.
position
Section titled “position”
readonlyposition:object
Defined in: client/api.d.ts:7309
Where it sits in the world.
x:
number
y:
number
z:
number
readonlystate:string
Defined in: client/api.d.ts:7289
What the game makes of it right now, e.g. “undiscovered”, “discovered” or “fast_travel_unlocked”.
readonlytitle:string|null
Defined in: client/api.d.ts:7294
The tooltip title the game shows for it, in the game’s language. Null when that text is not resident.
titleKey
Section titled “titleKey”
readonlytitleKey:string
Defined in: client/api.d.ts:7299
The localization key behind title.