packages/core/src/lib/services/maps-api-loader/lazy-maps-api-loader.ts
Configuration for the LazyMapsAPILoader.
Properties |
|
apiKey |
apiKey:
|
Type : string
|
Optional |
The Google Maps API Key (see: https://developers.google.com/maps/documentation/javascript/get-api-key) |
apiVersion |
apiVersion:
|
Type : string
|
Optional |
Google Maps API version. |
channel |
channel:
|
Type : string
|
Optional |
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. |
clientId |
clientId:
|
Type : string
|
Optional |
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. |
hostAndPath |
hostAndPath:
|
Type : string
|
Optional |
Host and Path used for the |
language |
language:
|
Type : string
|
Optional |
The Google Maps API uses the browser's preferred language when displaying textual information. If you wish to overwrite this behavior and force the API to use a given language, you can use this setting. See https://developers.google.com/maps/documentation/javascript/basics#Language |
libraries |
libraries:
|
Type : string[]
|
Optional |
Defines which Google Maps libraries should get loaded. |
protocol |
protocol:
|
Type : GoogleMapsScriptProtocol
|
Optional |
Protocol used for the |
region |
region:
|
Type : string
|
Optional |
The default bias for the map behavior is US.
If you wish to alter your application to serve different map tiles or bias the
application, you can overwrite the default behavior (US) by defining a |