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

    Interface GraticuleParam

    经纬网显示参数,用于控制经纬线、标签颜色和屏幕网格密度。

    interface GraticuleParam {
        color?: string;
        debounce?: number;
        gridCount?: number;
        labelColor?: string;
        labelFont?: string;
        labelOutlineColor?: string;
        labelOutlineWidth?: number;
        meridians?: boolean;
        meridiansColor?: string;
    }
    Index

    Properties

    color?: string

    The line color. Defaults to Color.WHITE.withAlpha(.5)

    debounce?: number

    The render debounce value, defaults to 500ms

    gridCount?: number

    Lines in screen, defaults to 15

    labelColor?: string

    defaults to Color.WHITE

    labelFont?: string

    font css, defaults to bold 1rem Arial

    labelOutlineColor?: string

    defaults to Color.BLACK

    labelOutlineWidth?: number

    defualts to 4

    meridians?: boolean

    If show the colored meridians, defaults to true

    meridiansColor?: string

    The meridians line color, show only meridians option is true. Defaults to Color.YELLOW