zhuorantan / LocationPicker

A ready for use and fully customizable location picker for your app
MIT License
400 stars 79 forks source link

Preselection feature #30

Closed Ewg777 closed 6 years ago

Ewg777 commented 6 years ago

Hey @JeromeTan1997 ,

Is there a way to preselect a location? Something like that:

let locationPicker = LocationPicker()
locationPicker.pickedLocationItem = myItem

or

locationPicker.pickedAddress = "Central Park"
zhuorantan commented 6 years ago

Thanks for your feedback. I will implement this feature soon.

zhuorantan commented 6 years ago

Implemented in https://github.com/JeromeTan1997/LocationPicker/releases/tag/3.2

Ewg777 commented 6 years ago

Amazing! Thanks!

RogelioHIT commented 6 years ago

The preselectedIndex is the only way to achieve this?, how can i preselect a coordinate that is not in the tables datasource?