UNPKG

ng-agm-core-lib

Version:
32 lines (31 loc) 1.44 kB
/// <reference types="googlemaps" /> /// <reference types="googlemaps" /> import { NgZone } from '@angular/core'; import { Observable } from 'rxjs'; import { AgmCircle } from '../../directives/circle'; import { GoogleMapsAPIWrapper } from '../google-maps-api-wrapper'; import * as i0 from "@angular/core"; export declare class CircleManager { private _apiWrapper; private _zone; private _circles; constructor(_apiWrapper: GoogleMapsAPIWrapper, _zone: NgZone); addCircle(circle: AgmCircle): void; /** * Removes the given circle from the map. */ removeCircle(circle: AgmCircle): Promise<void>; setOptions(circle: AgmCircle, options: google.maps.CircleOptions): Promise<void>; getBounds(circle: AgmCircle): Promise<google.maps.LatLngBounds>; getCenter(circle: AgmCircle): Promise<google.maps.LatLng>; getRadius(circle: AgmCircle): Promise<number>; setCenter(circle: AgmCircle): Promise<void>; setEditable(circle: AgmCircle): Promise<void>; setDraggable(circle: AgmCircle): Promise<void>; setVisible(circle: AgmCircle): Promise<void>; setRadius(circle: AgmCircle): Promise<void>; getNativeCircle(circle: AgmCircle): Promise<google.maps.Circle>; createEventObservable<T>(eventName: string, circle: AgmCircle): Observable<T>; static ɵfac: i0.ɵɵFactoryDeclaration<CircleManager, never>; static ɵprov: i0.ɵɵInjectableDeclaration<CircleManager>; }