Skip to content

Conversation

@langsmith
Copy link
Contributor

Resolves #973 by adding a device location Floating Action Button to the PlacePickerActivity. The button is hooked into the Maps SDK's LocationComponent, so this pr also adds the LocationComponent setup to the PlacePickerActivity.

This pr also adds a includeDeviceLocationButton() option to PlacePickerOptions.java. If the includeDeviceLocationButton() method isn't used, the default is to not include the button in the PlacePickerActivity UI.

cc @androideveloper, who requested this.

ezgif com-resize (2)

@langsmith langsmith added the places-plugin Issues that deal with the places plugin module label Jun 20, 2019
@langsmith langsmith requested a review from LukasPaczos June 20, 2019 00:54
@langsmith langsmith self-assigned this Jun 20, 2019
@langsmith langsmith force-pushed the ls-adding-device-location-button-to-place-picker branch from 6ff8c7b to cf006ba Compare June 21, 2019 15:32
@langsmith langsmith merged commit 09d0827 into master Jun 21, 2019
@langsmith langsmith deleted the ls-adding-device-location-button-to-place-picker branch June 21, 2019 15:53
@androideveloper
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

places-plugin Issues that deal with the places plugin module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add device location button in Place Picker activity

3 participants