interface NoteData {
    _id: string;
    entryId: string;
    pageId: string;
    x: number;
    y: number;
    texture: TextureData;
    iconSize: number;
    text: string;
    fontFamily: string;
    fontSize: number;
    textAnchor: number;
    textColor: string;
    global: boolean;
    flags: object;
}

Properties

_id: string

The _id which uniquely identifies this BaseNote embedded document

entryId: string

The _id of a JournalEntry document which this Note represents

pageId: string

The _id of a specific JournalEntryPage document which this Note represents

x: number

The x-coordinate position of the center of the note icon

y: number

The y-coordinate position of the center of the note icon

texture: TextureData

An image icon used to represent this note

iconSize: number

The pixel size of the map note icon

text: string

Optional text which overrides the title of the linked Journal Entry

fontFamily: string

The font family used to display the text label on this note, defaults to CONFIG.defaultFontFamily

fontSize: number

The font size used to display the text label on this note

textAnchor: number

A value in CONST.TEXT_ANCHOR_POINTS which defines where the text label anchors to the note icon.

textColor: string

The string that defines the color with which the note text is rendered

global: boolean

Whether this map pin is globally visible or requires LoS to see.

flags: object

An object of optional key/value flags