UNPKG

@ng-maps/google

Version:

**@ng-maps/google** is a simple, modular and tree-shakable library for displaying google-maps inside an angular application

17 lines (16 loc) 894 B
import { NgZone } from '@angular/core'; import { Observable } from 'rxjs'; import { MapsApiWrapper, NgMapsPolygonDirective, PolygonManager } from '@ng-maps/core'; import * as i0 from "@angular/core"; export declare class GooglePolygonManager extends PolygonManager<google.maps.Polygon> { constructor(_mapsWrapper: MapsApiWrapper, _zone: NgZone); addPolygon(path: NgMapsPolygonDirective): void; updatePolygon(polygon: NgMapsPolygonDirective): Promise<void>; setPolygonOptions(path: NgMapsPolygonDirective, options: { [propName: string]: any; }): Promise<void>; deletePolygon(paths: NgMapsPolygonDirective): Promise<void>; createEventObservable<T>(eventName: string, path: NgMapsPolygonDirective): Observable<T>; static ɵfac: i0.ɵɵFactoryDeclaration<GooglePolygonManager, never>; static ɵprov: i0.ɵɵInjectableDeclaration<GooglePolygonManager>; }