react-native-mobilex 开发文档
    Preparing search index...

    Interface CalloutOption

    callout 构造参数

    interface CalloutOption {
        anchor?: Anchor;
        className?: string;
        closeButton?: boolean;
        closeOnClick?: boolean;
        offset?: [number, number];
    }
    Index

    Properties

    anchor?: Anchor

    callout 锚点

    若不指定,默认为 bottom 并会随着地图位置自动调整

    className?: string

    CSS 类名

    closeButton?: boolean

    是否显示关闭按钮

    默认 true

    closeOnClick?: boolean

    点击地图其他地方时是否自动关闭

    默认 false

    offset?: [number, number]

    像素偏移量