Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add withCurrentLocation when open LocationPickerActivity ? #186

Open
hangocanh2303 opened this issue Aug 23, 2018 · 3 comments
Open

Add withCurrentLocation when open LocationPickerActivity ? #186

hangocanh2303 opened this issue Aug 23, 2018 · 3 comments
Assignees

Comments

@hangocanh2303
Copy link

hangocanh2303 commented Aug 23, 2018

How can I show my location default when open LocationPickerActivity , please add this feature

@ferranpons
Copy link
Member

Hi @hangocanh2303

If I understand correctly what you are asking for, that feature exists, you can display a default location using the builder method ".withLocation"

val locationPickerIntent = LocationPickerActivity.Builder()
                    **.withLocation(41.4036299, 2.1743558)**
                    ...
                    .build(applicationContext)

If this is not what you need, please could you give me more info about it?

Thanks!

@ferranpons ferranpons self-assigned this Aug 23, 2018
@hangocanh2303
Copy link
Author

hangocanh2303 commented Aug 24, 2018

Hi @ferranpons, i mean: when you open LocationPickerActivity, you can auto display this location, where you are standing. you can add new method withMyLocation()
It help your library better

@ferranpons ferranpons added enhancement pending Pending to solve and removed help wanted labels May 25, 2020
@faogustavo
Copy link

@ferranpons is this function a need from the project? If it is, I can do this one.

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

No branches or pull requests

3 participants