1 |
|
2 | import { NgZone } from '@angular/core';
|
3 | import { Observable } from 'rxjs';
|
4 | import { AgmPolyline } from '../../directives/polyline';
|
5 | import { MVCEvent } from '../../utils/mvcarray-utils';
|
6 | import { GoogleMapsAPIWrapper } from '../google-maps-api-wrapper';
|
7 | export declare class PolylineManager {
|
8 | private _mapsWrapper;
|
9 | private _zone;
|
10 | private _polylines;
|
11 | constructor(_mapsWrapper: GoogleMapsAPIWrapper, _zone: NgZone);
|
12 | private static _convertPoints;
|
13 | private static _convertPath;
|
14 | private static _convertIcons;
|
15 | addPolyline(line: AgmPolyline): void;
|
16 | updatePolylinePoints(line: AgmPolyline): Promise<void>;
|
17 | updateIconSequences(line: AgmPolyline): Promise<void>;
|
18 | setPolylineOptions(line: AgmPolyline, options: {
|
19 | [propName: string]: any;
|
20 | }): Promise<void>;
|
21 | deletePolyline(line: AgmPolyline): Promise<void>;
|
22 | private getMVCPath;
|
23 | getPath(agmPolyline: AgmPolyline): Promise<google.maps.LatLng[]>;
|
24 | createEventObservable<T>(eventName: string, line: AgmPolyline): Observable<T>;
|
25 | createPathEventObservable(line: AgmPolyline): Promise<Observable<MVCEvent<google.maps.LatLng>>>;
|
26 | }
|