/** * @author: xd * @Date: 2021-12-27 21:07:38 * @LastEditors: xd * @LastEditTime: 2022-10-10 20:26:33 * @Description: 功能 */ import { Style } from "ol/style"; import { Vector as VectorLayer } from "ol/layer"; import { baseClass } from "../base/baseClass"; export declare class XMeasure extends baseClass { private _map; segmentStyles: any[]; clearPrevious: boolean; showSegments: boolean; private _tipPoint; private _draw; isdraw: boolean; private _source; layer: VectorLayer; style: Style; labelStyle: Style; tipStyle: Style; modifyStyle: Style; segmentStyle: Style; private _modify; scale: number; constructor(map: any); getSource(): any; clear(): void; setScale(scale: number): void; formatLength(line: any): any; formatArea(polygon: any): any; styleFunction(feature: any, segments: any, drawType: any, tip: any): Style[]; stopMeasure(): void; addInteraction(drawType: any): void; }