/** * ng2-gm - Angular 2 components for Google Maps * @version v0.0.2 * @link https://github.com/williampaulo/angular2-google-maps#readme * @license MIT */ import {Injectable, Optional} from '@angular/core'; import {MapsAPILoader} from './maps-api-loader'; export enum GoogleMapsScriptProtocol { HTTP, HTTPS, AUTO } export class LazyMapsAPILoaderConfig { /** * The Google Maps API Key (see: * https://developers.google.com/maps/documentation/javascript/get-api-key) */ apiKey: string = null; /** * The Google Maps client ID (for premium plans). * When you have a Google Maps APIs Premium Plan license, you must authenticate * your application with either an API key or a client ID. * The Google Maps API will fail to load if both a client ID and an API key are included. */ clientId: string = null; /** * The Google Maps channel name (for premium plans). * A channel parameter is an optional parameter that allows you to track usage under your client * ID by assigning a distinct channel to each of your applications. */ channel: string = null; /** * Google Maps API version. */ apiVersion: string = '3'; /** * Host and Path used for the `