gisviewer-vue3-arcgis
Version:
在应用中引入私服的包, 项目根目录下 新建文件 .npmrc 在 .npmrc 中对包源进行配置:
33 lines (32 loc) • 1.02 kB
TypeScript
import { IResult, IShowEdpassDeviceParams } from '../../types';
export default class EdpassDeviceController {
private view;
private cameraNormalLayer;
private cameraAbnormalLayer;
private kkNormalLayer;
private kkAbnormalLayer;
private mapInitializer;
private readonly clusterScaleThreshold;
private watchHandle;
private currentShowParams;
private isCameraVisible;
private isKkVisible;
private esServer;
private clusterEnabled;
constructor(view: __esri.MapView | __esri.SceneView);
setEdpassLayerVisibility(params: IShowEdpassDeviceParams): Promise<IResult>;
/**
* 控制散点图层显示隐藏
* @param visible
*/
private showScatter;
private getLayerConfig;
private getAutoStyleByScale;
private updateClusterEnabled;
private ensureStationaryWatch;
private hasAnyClusterEnabled;
private tryRemoveWatchIfNoVisible;
private applyScatterMode;
private applyClusterMode;
private showClusterInExtent;
}