import { HttpClient } from '@angular/common/http'; import { EventEmitter } from '@angular/core'; import { MapMarker } from '../models/map-marker.model'; import { AgmInfoWindow } from '@agm/core'; import { Subject } from 'rxjs'; export declare class MapService { protected http: HttpClient; /** * Temporary CORS proxy to prepend to call and avoid CORS errors */ protected corsProxy: string; /** * API key for Google maps */ protected apiKey: string; protected panToLocation: any; InfoWindowClosed: EventEmitter; MapMarkerClicked: EventEmitter; MapMarkerSaved: EventEmitter; MoreInfoClicked: EventEmitter; TopListsClicked: EventEmitter; ForcePanToListener: Subject; /** * The current Layers that are selected to display */ constructor(http: HttpClient); /** * * @param lat Latitude * * @param lng Longitude * * Gets surrounding POIs within 5 meters of the passed latitude and longitude */ GetSurroundingLocations(lat: number, lng: number): import("rxjs").Observable; /** * * @param pID The place ID of the requested Google Maps POI * * Returns the data for a given place ID for a Google Maps POI */ GetPlaceDetails(pID: any): import("rxjs").Observable; /** * emits event that the legend's top list button was clicked */ LegendTopListsClicked(): void; MapMarkerClickedEvent(infoWindow: AgmInfoWindow): void; MoreInfoClickedEvent(selectedMarker: MapMarker): void; InfoWindowClosedEvent(): void; MapMarkerSavedEvent(marker: MapMarker): void; GetForcePanToEvent(): Subject; /** * * @param layers Sets CurrentlyActiveLayers to the incomming array of IndividualMaps */ /** * Allows access to the CurrentlyActiveLayers form outside of the service */ GetMapApiKey(): string; ForcePan(locationInfo: { lat: any; lng: any; zoom: number; }): void; }