From 0b92acd1ae6f8623a99f87ab3b7532097e7a9050 Mon Sep 17 00:00:00 2001 From: Rafael Chagas Date: Wed, 26 Jun 2019 01:03:42 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 59febc1..03d0636 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Check the [sample](https://github.com/rtchagas/pingplacepicker/tree/master/sampl private fun showPlacePicker() { val pingBuilder = PingPlacePicker.IntentBuilder() pingBuilder.setAndroidApiKey("YOUR_ANDROID_API_KEY") - pingBuilder.setGeolocationApiKey("YOUR_GEOLOCATION_API_KEY") + pingBuilder.setGeocodingApiKey("YOUR_GEOCODING_API_KEY") try { val placeIntent = pingBuilder.build(this) startActivityForResult(placeIntent, REQUEST_PLACE_PICKER) @@ -88,7 +88,7 @@ Check the [sample](https://github.com/rtchagas/pingplacepicker/tree/master/sampl private void showPlacePicker() { PingPlacePicker.IntentBuilder builder = new PingPlacePicker.IntentBuilder(); builder.setAndroidApiKey("YOUR_ANDROID_API_KEY") - .setGeolocationApiKey("YOUR_GEOLOCATION_API_KEY"); + .setGeocodingApiKey("YOUR_GEOCODING_API_KEY"); try { Intent placeIntent = builder.build(getActivity()); startActivityForResult(placeIntent, REQUEST_PLACE_PICKER);