/// import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core'; import { PolylineManager } from '../services/managers/polyline-manager'; import { MVCEvent } from '../utils/mvcarray-utils'; import { AgmPolylineIcon } from './polyline-icon'; import { AgmPolylinePoint } from './polyline-point'; /** * AgmPolyline renders a polyline on a {@link AgmMap} * * ### Example * ```typescript * import { Component } from '@angular/core'; * * @Component({ * selector: 'my-map-cmp', * styles: [` * .agm-map-container { * height: 300px; * } * `], * template: ` * * * * * * * * * ` * }) * ``` */ export declare class AgmPolyline implements OnDestroy, OnChanges, AfterContentInit { private _polylineManager; /** * Indicates whether this Polyline handles mouse events. Defaults to true. */ clickable: boolean; /** * If set to true, the user can drag this shape over the map. The geodesic property defines the * mode of dragging. Defaults to false. */ draggable: boolean; /** * If set to true, the user can edit this shape by dragging the control points shown at the * vertices and on each segment. Defaults to false. */ editable: boolean; /** * When true, edges of the polygon are interpreted as geodesic and will follow the curvature of * the Earth. When false, edges of the polygon are rendered as straight lines in screen space. * Note that the shape of a geodesic polygon may appear to change when dragged, as the dimensions * are maintained relative to the surface of the earth. Defaults to false. */ geodesic: boolean; /** * The stroke color. All CSS3 colors are supported except for extended named colors. */ strokeColor: string; /** * The stroke opacity between 0.0 and 1.0. */ strokeOpacity: number; /** * The stroke width in pixels. */ strokeWeight: number; /** * Whether this polyline is visible on the map. Defaults to true. */ visible: boolean; /** * The zIndex compared to other polys. */ zIndex: number; /** * This event is fired when the DOM click event is fired on the Polyline. */ lineClick: EventEmitter; /** * This event is fired when the DOM dblclick event is fired on the Polyline. */ lineDblClick: EventEmitter; /** * This event is repeatedly fired while the user drags the polyline. */ lineDrag: EventEmitter; /** * This event is fired when the user stops dragging the polyline. */ lineDragEnd: EventEmitter; /** * This event is fired when the user starts dragging the polyline. */ lineDragStart: EventEmitter; /** * This event is fired when the DOM mousedown event is fired on the Polyline. */ lineMouseDown: EventEmitter; /** * This event is fired when the DOM mousemove event is fired on the Polyline. */ lineMouseMove: EventEmitter; /** * This event is fired on Polyline mouseout. */ lineMouseOut: EventEmitter; /** * This event is fired on Polyline mouseover. */ lineMouseOver: EventEmitter; /** * This event is fired whe the DOM mouseup event is fired on the Polyline */ lineMouseUp: EventEmitter; /** * This event is fired when the Polyline is right-clicked on. */ lineRightClick: EventEmitter; /** * This event is fired after Polyline's path changes. */ polyPathChange: EventEmitter>; /** * @internal */ points: QueryList; iconSequences: QueryList; private static _polylineOptionsAttributes; private _id; private _polylineAddedToManager; private _subscriptions; constructor(_polylineManager: PolylineManager); /** @internal */ ngAfterContentInit(): void; ngOnChanges(changes: SimpleChanges): any; getPath(): Promise; private _init; private _addEventListeners; /** @internal */ _getPoints(): AgmPolylinePoint[]; _getIcons(): Array; /** @internal */ id(): string; /** @internal */ ngOnDestroy(): void; }