@meridian/web-sdk
    Preparing search index...

    Interface CustomAnnotationPoint

    Object describing a point annotation drawn on the map

    interface CustomAnnotationPoint {
        backgroundColor?: string;
        backgroundImage?: string;
        backgroundSize?: string;
        data?: Record<string, any>;
        onClick?: (data: Record<string, any>) => void;
        size?: number;
        title?: string;
        type: "point";
        x: number;
        y: number;
    }
    Index

    Properties

    backgroundColor?: string
    backgroundImage?: string
    backgroundSize?: string
    data?: Record<string, any>

    Arbitrary data for use with onClick handler

    onClick?: (data: Record<string, any>) => void
    size?: number
    title?: string
    type: "point"
    x: number
    y: number