import mAMap from '../../../LczAMap/common/AMap'; import { ClusterDataMap, ClusterIcon, OutClusterLayer, SignIcon } from '../../../LczAMap/type/child'; interface ClusterLayerOptions { cluster: OutClusterLayer; mAmap: mAMap; handleClick: (item: any) => void; } export default class ClusterLayer { cluster: OutClusterLayer; mapInstance: mAMap; lastCluster?: OutClusterLayer; clusterLayer?: any; selectLastParams?: { selectPoint: any; offset: any; content: string; marker: any; }; markerParam: {}; seriesConfig: { [key: string]: SignIcon; }; points: any[]; handleClick: (item: any) => void; constructor(options: ClusterLayerOptions); updataView(cluster: OutClusterLayer): void; renderCluster(): void; generateMarkers(): any[]; renderClusterMarker(context: any): void; renderMarker(context: any): void; clusterLayerHandlerClick(clusterEventParams: any): void; getMarkerParams(): void; getMarkerContent(style: SignIcon, data: ClusterDataMap, selectd?: boolean): string; getClusterMarkerContent(config: ClusterIcon, val: string): string; destroy(): void; } export {};