UNPKG

gisviewer-vue3-arcgis

Version:

在应用中引入私服的包, 项目根目录下 新建文件 .npmrc 在 .npmrc 中对包源进行配置:

24 lines (23 loc) 709 B
import { default as OlMap } from 'ol/Map'; import { IClusterPointParams } from '../../../types'; export default class ClusterPointController { private map; private clusterLayer; private source; private view; private clusterCalculator; private countBackgroundColor; private countFontColor; private locations; private clusterMarkUrl; private viewChangeKey; private mapMoveKey; private resolutionChangeTimeout; constructor(map: OlMap); addClusterPoints(params: IClusterPointParams): void; removeAllClusterPoints(): void; private configureVectorLayerStyle; private getClusterStyle; private showClusterResult; private calculateCluster; }