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

    Interface ILayerCluster

    点聚合图层

    interface ILayerCluster {
        clusterSteps?: number[];
        clusterStyles?: Partial<Omit<IPointStyle, "circleSymbol">>[];
        editable: boolean;
        id: string;
        maxVisibleScale: number;
        metadata?: unknown;
        minVisibleScale: number;
        name: string;
        pointStyle?: Partial<Omit<IPointStyle, "circleSymbol">>;
        selectable: boolean;
        selectionStyle?: Partial<Omit<IPointStyle, "circleSymbol">>;
        sourceId: string;
        textStyle?: { textColor: string; textSize: number };
        type: "cluster";
        visible: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    clusterSteps?: number[]

    聚合分层风格

    clusterStyles?: Partial<Omit<IPointStyle, "circleSymbol">>[]
    editable: boolean

    是否可编辑 所有图层中只能同时有一个可编辑的图层

    id: string

    图层id

    maxVisibleScale: number

    最大可见比例尺

    metadata?: unknown

    自定义数据

    minVisibleScale: number

    最小可见比例尺

    name: string

    图层名

    pointStyle?: Partial<Omit<IPointStyle, "circleSymbol">>

    原始点的风格

    selectable: boolean

    是否可选

    selectionStyle?: Partial<Omit<IPointStyle, "circleSymbol">>

    选择集风格

    sourceId: string

    数据源id

    textStyle?: { textColor: string; textSize: number }

    聚合后数字风格

    type: "cluster"

    图层类型

    visible: boolean

    是否可见