From 3c0c4c5baed52440d2033776e4d4a840df5b187c Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Mon, 9 Apr 2018 17:22:36 +1000 Subject: [PATCH 1/2] Making non-support of Android more explicit. --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c6ca981e7..cb9568752 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,16 @@ APIs: Keep in mind that the same [terms and conditions](https://developers.google.com/maps/terms) apply to usage of the APIs when they're accessed through this library. -**Note:** The Java Client for Google Maps Services is for use in server applications. If you're building a -mobile application, you will need to introduce a proxy server to act as intermediary between your mobile -application and the [Google Maps API Web Services]. The Java Client for Google Maps Services would make an -excellent choice as the basis for such a proxy server. +## Intended usage of this library + +The Java Client for Google Maps Services is designed for use in server applications. This library +is not intended for use inside of an Android app, due to the potential for loss of API keys. + +If you are building a mobile application, you will need to introduce a proxy server to act as +intermediary between your mobile application and the [Google Maps API Web Services]. The Java +Client for Google Maps Services would make an excellent choice as the basis for such a proxy server. + +Please see [Making the most of the Google Maps Web Service APIs] for more detail. ## Support @@ -293,3 +299,4 @@ req.setCallback(new PendingResult.Callback() { [Places API]: https://developers.google.com/places/web-service/ [Time Zone API]: https://developers.google.com/maps/documentation/timezone [Roads API]: https://developers.google.com/maps/documentation/roads +[Making the most of the Google Maps Web Service APIs]: https://maps-apis.googleblog.com/2016/09/making-most-of-google-maps-web-service.html From f53d46f3d00558684998765f3b7b90b072122bb9 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Mon, 9 Apr 2018 17:25:38 +1000 Subject: [PATCH 2/2] ./gradlew googleJavaFormat --- src/main/java/com/google/maps/model/Size.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/google/maps/model/Size.java b/src/main/java/com/google/maps/model/Size.java index 910b075d4..fd3376334 100644 --- a/src/main/java/com/google/maps/model/Size.java +++ b/src/main/java/com/google/maps/model/Size.java @@ -13,7 +13,7 @@ * permissions and limitations under the License. */ - package com.google.maps.model; +package com.google.maps.model; import com.google.maps.internal.StringJoin; import java.io.Serializable;