@tuoyuan/map-adapter-amap
Version:
高德地图适配器
24 lines (23 loc) • 868 B
TypeScript
import { BasePolyline, Position, AbstractPolyline, IInfoWindowOptions, IPolyline, IPolylineStyle } from '@tuoyuan/map-adapter-lib';
export declare class AMapPolyline<T = any> extends BasePolyline<T> implements AbstractPolyline {
private _ctx;
polylineInstance: any;
labelInstance: any;
infoWindowInstance: any;
constructor(ctx: any, polyline: IPolyline<T>);
private initEvent;
renderPolyline(): void;
private renderLabel;
setPath(path: Array<ConstructorParameters<typeof Position>>): void;
setStyle(style: IPolylineStyle): void;
hidden(): void;
show(): void;
showLabel(): void;
hiddenLabel(): void;
getInstances(): any[];
remove(): void;
panTo(): void;
getBounds(): import('@tuoyuan/map-adapter-lib').IBounds;
openInfoWindow(options: IInfoWindowOptions): void;
closeInfoWindow(): void;
}