/** * ng2-gm - Angular 2 components for Google Maps * @version v0.0.2 * @link https://github.com/williampaulo/angular2-google-maps#readme * @license MIT */ import { NgZone } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import * as mapTypes from './google-maps-types'; import { MapsAPILoader } from './maps-api-loader/maps-api-loader'; /** * Wrapper class that handles the communication with the Google Maps Javascript * API v3 */ export declare class GoogleMapsAPIWrapper { private _loader; private _zone; private _map; private _mapResolver; private _directionsDisplay; private _directionsService; constructor(_loader: MapsAPILoader, _zone: NgZone); createMap(el: HTMLElement, mapOptions: mapTypes.MapOptions): Promise; setMapOptions(options: mapTypes.MapOptions): void; /** * Creates a google map marker with the map context */ createMarker(options?: mapTypes.MarkerOptions): Promise; createInfoWindow(options?: mapTypes.InfoWindowOptions): Promise; subscribeToMapEvent(eventName: string): Observable; setCenter(latLng: mapTypes.LatLngLiteral): Promise; getZoom(): Promise; setZoom(zoom: number): Promise; getCenter(): Promise; getMap(): Promise; /** * Triggers the given event name on the map instance. */ triggerMapEvent(eventName: string): Promise; /** * Router */ private _initRouteRenderer(); private _initRouteService(); /** * Create a google routes map */ createRoute(options?: mapTypes.RouterOptions): Promise; updateRoute(options?: mapTypes.RouterOptions): Promise; infoPanel(content: any): Promise; infoDistacePanel(content: any, origin: any, destination: any): Promise; }