You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load the Google Maps JavaScript API script dynamically. This takes inspiration from the [google-maps](https://www.npmjs.com/package/google-maps) npm package but updates it with ES6, Promises, and TypeScript.
13
17
14
-
## Install
18
+
## Requirements
19
+
20
+
- An [API key][api-key]
21
+
22
+
## Installation
15
23
16
24
Available via npm as the package [@googlemaps/js-api-loader](https://www.npmjs.com/package/@googlemaps/js-api-loader).
17
25
@@ -27,7 +35,7 @@ Alternatively you may add the umd package directly to the html document using th
27
35
28
36
When adding via unpkg, the loader can be accessed at `google.maps.plugins.loader.Loader`.
29
37
30
-
### TypeScript
38
+
### TypeScript
31
39
32
40
TypeScript users need to install the following types package.
33
41
@@ -39,8 +47,7 @@ npm i -D @types/google.maps
39
47
40
48
The reference documentation can be found at this [link](https://googlemaps.github.io/js-api-loader/index.html). The Google Maps JavaScript API [documentation](https://developers.google.com/maps/documentation/javascript/tutorial) is the authoritative source for the loader options.
View the package in action [here](https://googlemaps.github.io/js-api-loader/examples/index.html).
106
113
114
+
## Contributing
115
+
116
+
Contributions are welcome and encouraged! If you'd like to contribute, send us a [pull request] and refer to our [code of conduct] and [contributing guide].
117
+
118
+
## Terms of Service
119
+
120
+
This library uses Google Maps Platform services. Use of Google Maps Platform services through this library is subject to the Google Maps Platform [Terms of Service].
121
+
122
+
This library is not a Google Maps Platform Core Service. Therefore, the Google Maps Platform Terms of Service (e.g. Technical Support Services, Service Level Agreements, and Deprecation Policy) do not apply to the code in this library.
107
123
108
124
## Support
109
125
110
-
This library is community supported. We're comfortable enough with the stability and features of
111
-
the library that we want you to build real production applications on it.
126
+
This library is offered via an open source [license](LICENSE). It is not governed by the Google Maps Platform Support [Technical Support Services Guidelines](https://cloud.google.com/maps-platform/terms/tssg), the [SLA](https://cloud.google.com/maps-platform/terms/sla), or the [Deprecation Policy](https://cloud.google.com/maps-platform/terms) (however, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service).
127
+
128
+
This library adheres to [semantic versioning] to indicate when backwards-incompatible changes are introduced. Accordingly, while the library is in version 0.x, backwards-incompatible changes may be introduced at any time.
129
+
130
+
If you find a bug, or have a feature request, please [file an issue] on GitHub. If you would like to get answers to technical questions from other Google Maps Platform developers, ask through one of our [developer community channels]. If you'd like to contribute, please check the [contributing guide].
131
+
132
+
You can also discuss this library on our [Discord server].
112
133
113
-
If you find a bug, or have a feature suggestion, please [log an issue][issues]. If you'd like to
114
-
contribute, please read [How to Contribute][contrib].
0 commit comments