bcgis-type
Version:
The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.
68 lines (67 loc) • 1.36 kB
TypeScript
import { Layer } from '../layer';
declare class HeatMapLayer extends Layer {
setStyle(style: any): void;
_options: {
radius: number;
height: number;
gradient: any;
useGround: boolean;
classificationType: number;
};
_canvas: HTMLCanvasElement;
_heat: any;
_scale: number;
_points: any[];
_bounds: Cesium.Rectangle;
_boundsInMeter: any;
_primitive: any;
constructor(id: any, options?: {});
get type(): string;
/**
*
* @private
*/
_addedHook(): void;
/**
*
* @returns {HTMLCanvasElement|undefined}
* @private
*/
_createGradientTexture(): HTMLCanvasElement;
/**
*
* @param points
* @returns {*}
* @private
*/
_parsePoints(points: any): any;
/**
*
* @private
*/
_computeBounds(): void;
/**
*
* @returns {{east, south, north, west}}
* @private
*/
_computeBoundsInMeter(): void;
/**
*
* @returns {boolean}
* @private
*/
_update(): boolean;
/**
*
* @param points
* @returns {HeatMapLayer}
*/
setPoints(points: any): this;
/**
*
* @return {HeatMapLayer}
*/
clear(): this;
}
export default HeatMapLayer;