Builder for a Place Picker launch intent.
After setting the optional parameters, call
build(Activity) and pass the intent to
startActivityForResult(android.content.Intent, int).
|
PlacePicker.IntentBuilder()
Creates a new builder for an intent to launch the Place Picker UI.
|
| Intent | |
| PlacePicker.IntentBuilder |
setLatLngBounds(LatLngBounds latLngBounds)
Sets the starting viewport for the map.
|
Creates a new builder for an intent to launch the Place Picker UI.
Checks that Google Play Services is available and retrieves the Intent as configured so far by the Builder.
| GooglePlayServicesNotAvailableException | If Google Play Services is not available. |
|---|---|
| GooglePlayServicesRepairableException | If Google Play Services is not available and the error causing this can be resolved by the user. |
Sets the starting viewport for the map. The viewport is an area defined by two sets of latitude/longitude coordinates marking the top left and bottom right corners.
If unspecified, the map will be centered at the device's current location.