UNPKG

@tuoyuan/map-adapter-tmap

Version:

天地图适配器

24 lines (23 loc) 846 B
import { BasePolyline, Position, AbstractPolyline, IInfoWindowOptions, IPolyline, IPolylineStyle } from '@tuoyuan/map-adapter-lib'; export declare class TMapPolyline<T = any> extends BasePolyline<T> implements AbstractPolyline { private _ctx; /** 天地图polyline实例 */ polylineInstance: any; labelInstance: any; constructor(ctx: any, polyline: IPolyline<T>); initEvent(): void; renderLabel(): void; renderPolyline(): void; remove(): void; panTo(): void; getInstances(): any[]; setName(name: string): void; setPath(path: Array<ConstructorParameters<typeof Position>>): void; setStyle(style: IPolylineStyle): void; show(): void; hidden(): void; showLabel(): void; hiddenLabel(): void; openInfoWindow(options: IInfoWindowOptions): void; closeInfoWindow(): void; }