import { NgZone } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { Subscription } from 'rxjs/Subscription'; import { MapConfig, LatLng, MapOptions, LatLngInterface } from './models'; export declare class MapService { private zone; private mapConf; map: any; polygon: any; marker: any; path: Array; pointer: any; pointers: Array; doneButton: HTMLElement; constructor(zone: NgZone, mapConf: MapConfig); s: Subscription; initMap(mapElement: HTMLElement, options: MapOptions): void; init(): Observable; /** * @method mapPolygon * @param polygon * @param map * @author Rumes */ mapPolygon(polygon: boolean, map?: any): void; mapMarker(pointer: boolean, map?: any): void; /** * @method subscribeToEvent * @param eventName * @returns Observable * @author Rumes */ subscribeToMapEvent(eventName: string): Observable; mapReturn(): Array; clearMap(array: Array): void; mapCreate(mapElement: HTMLElement, options: MapOptions): void; createMarker(latlang: LatLng, map: any): void; }