@orca-fe/x-map
Version:
15 lines (14 loc) • 483 B
TypeScript
import { Point } from '../../defs';
import { AbstractMarker } from '../AbstractLayer';
export interface SvgPolylineOptions {
path: Point[];
style?: Partial<CSSStyleDeclaration>;
}
export default class SvgPolyline extends AbstractMarker {
dom: SVGPathElement;
path: Point[];
constructor(options: SvgPolylineOptions);
setPath: (path: Point[]) => void;
setStyle: (style: Partial<CSSStyleDeclaration>) => void;
updatePosition: () => void;
}