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
> If you are looking for Java client libraries for the following APIs, see the [Google Maps Platform APIs in the Cloud Client Libraries for Java](https://github.com/googleapis/google-cloud-java/tree/main) ([releases](https://github.com/googleapis/google-cloud-java/releases?q=maps&expanded=true)).
> The new APIs will not be added to this client library.
19
+
11
20
## Description
12
21
13
22
Use Java? Want to [geocode][Geocoding API] something? Looking for [directions][Directions API]?
@@ -26,18 +35,11 @@ APIs:
26
35
-[Roads API]
27
36
-[Time Zone API]
28
37
29
-
Keep in mind that the same [terms and conditions](https://developers.google.com/maps/terms) apply
30
-
to usage of the APIs when they're accessed through this library.
31
-
32
38
## Requirements
33
39
34
-
- Java 1.8 or later.
35
-
- A Google Maps API key.
36
-
37
-
## API keys
38
-
Each Google Maps Web Service request requires an API key. API keys are generated in the 'Credentials' page of the 'APIs & Services' tab of Google Cloud console.
39
-
40
-
For even more information on getting started with Google Maps Platform and generating an API key, see [Get Started with Google Maps Platform](https://developers.google.com/maps/gmp-get-started) in our docs.
40
+
- Java 1.8 or later
41
+
- A [Cloud project](https://developers.google.com/maps/get-started) with the relevant API(s) enabled
42
+
- An [API key](https://developers.google.com/maps/get-started) associated with the project above
41
43
42
44
### API Key Security
43
45
@@ -49,22 +51,15 @@ from version control, should also be put in place to further improve the securit
49
51
You can refer to [API Security Best Practices](https://developers.google.com/maps/api-security-best-practices) to learn
50
52
more about this topic.
51
53
52
-
**NOTE**: If you are using this library on Android, ensure that your application
53
-
is using at least version 0.19.0 of this library so that API key restrictions can be enforced.
54
+
> [!NOTE]
55
+
> If you are using this library on Android, ensure that your application is using at least version 0.19.0 of this library so that API key restrictions can be enforced.
54
56
55
57
## Installation
56
58
57
59
You can add the library to your project via Maven or Gradle.
58
60
59
-
**Note:** Since 0.1.18 there is now a dependency on [SLF4J](https://www.slf4j.org/). You need to add
60
-
one of the adapter dependencies that makes sense for your logging setup. In the configuration
and [slf4j-jdk14](https://search.maven.org/#artifactdetails%7Corg.slf4j%7Cslf4j-jdk14%7C1.7.25%7Cjar)
66
-
that will make more sense in other configurations. This will stop a warning message being emitted
67
-
when you start using `google-maps-services`.
61
+
> [!NOTE]
62
+
> Since 0.1.18 there is now a dependency on [SLF4J](https://www.slf4j.org/). You need to add one of the adapter dependencies that makes sense for your logging setup. In the configuration samples below we are integrating [slf4j-nop](https://search.maven.org/#artifactdetails%7Corg.slf4j%7Cslf4j-nop%7C1.7.25%7Cjar), but there are others like [slf4j-log4j12](https://search.maven.org/#artifactdetails%7Corg.slf4j%7Cslf4j-log4j12%7C1.7.25%7Cjar) and [slf4j-jdk14](https://search.maven.org/#artifactdetails%7Corg.slf4j%7Cslf4j-jdk14%7C1.7.25%7Cjar) that will make more sense in other configurations. This will stop a warning message being emitted when you start using `google-maps-services`.
68
63
69
64
### Maven
70
65
@@ -97,11 +92,12 @@ dependencies {
97
92
You can find the latest version at the top of this README or by [searching
**Note:** You will need an API key or Client ID to run the tests.
219
+
> [!NOTE]
220
+
> You will need an API key to run the tests.
221
+
222
+
```bash
223
+
# Compile and package the project
224
+
$ ./gradlew jar
225
+
226
+
# Run the tests
227
+
$ ./gradlew test
228
+
```
229
+
230
+
## Terms
224
231
225
-
# Compile and package the project
226
-
$ ./gradlew jar
232
+
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](https://cloud.google.com/maps-platform/terms).
227
233
228
-
# Run the tests
229
-
$ ./gradlew test
234
+
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.
230
235
231
236
## Support
232
237
233
-
This library is community supported. We're comfortable enough with the stability and features of
234
-
the library that we want you to build real production applications on it. We will try to support,
235
-
through Stack Overflow, the public and protected surface of the library and maintain backwards
236
-
compatibility in the future; however, while the library is in version 0.x, we reserve the right
237
-
to make backwards-incompatible changes. If we do remove some functionality (typically because
238
-
better functionality exists or if the feature proved infeasible), our intention is to deprecate
239
-
and give developers a year to update their code.
238
+
This library is offered via an open source 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).
240
239
241
-
If you find a bug, or have a feature suggestion, please [log an issue][issues]. If you'd like to
242
-
contribute, please read [How to Contribute][contrib].
240
+
This library adheres to [semantic versioning](https://semver.org/) 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.
243
241
242
+
If you find a bug, or have a feature request, please file an [issue][issues] 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](https://developers.google.com/maps/developer-community). If you'd like to contribute, please check the [Contributing guide][contrib] in the GitHub repository.
0 commit comments