@minecraft
    Preparing search index...

    Interface IMinimapPropertyItemOptions

    Optional properties for Minimap property item

    interface IMinimapPropertyItemOptions {
        alignment?: LayoutAlignment;
        clickable?: boolean;
        customMarkerIcons?: Record<string, string>;
        enable?: boolean;
        isMeMarkerShown?: boolean;
        mapImageSize?: number | { height: number; width: number };
        onClick?: (worldX: number, worldY: number, worldZ: number) => void;
        style?: PaneItemStyle;
        visible?: boolean;
        visibleMarkerTypes?: MinimapMarkerType[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    alignment?: LayoutAlignment

    Alignment of the map in the container. If not defined, LayoutAlignment.Center is used.

    clickable?: boolean

    Whether the minimap is clickable. If undefined, defaults to true.

    customMarkerIcons?: Record<string, string>

    Custom marker icon registration. Maps the iconIdentifier (used when adding custom markers via addCustomMarker) to image resource paths for UI rendering. Only needed for Custom marker type. Multiplayer and Location use built-in icons.

    enable?: boolean

    Initial enabled state of property item. If undefined, it will default to true.

    isMeMarkerShown?: boolean

    Whether to show me marker on the minimap. If undefined, defaults to true.

    mapImageSize?: number | { height: number; width: number }

    Size of the map image. If undefined, defaults to 35.

    onClick?: (worldX: number, worldY: number, worldZ: number) => void

    Called when the minimap is clicked.

    Optional styling overrides for the item.

    visible?: boolean

    Initial visibility state of property item. If undefined, it will default to true.

    visibleMarkerTypes?: MinimapMarkerType[]

    Per-type marker visibility. If omitted, no marker types are shown. Only controls presentation. Markers must be added via C++ API to exist.