UNPKG

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.

52 lines (51 loc) 843 B
import Widget from "../Widget"; /** * 比例尺 * @noInheritDoc * @example * ```ts * viewer.distanceLegend.enable = true * ``` */ declare class DistanceLegend extends Widget { private _labelEl; private _scaleBarEl; private _lastUpdate; /** * @hidden */ constructor(); /** * @hidden */ get type(): any; /** * * @private */ _installHook(): void; /** * * @private */ _bindEvent(): void; /** * * @private */ _unbindEvent(): void; /** * * @param scene * @param time * @returns * @private */ _updateContent(scene: any, time: any): void; /** * * @private */ _mountContent(): void; } export default DistanceLegend;