Import cities list to my application

Hello. I’m writing about creating my application based on Ionic 3. I need to list the list of cities on the application page, one of which can be selected and saved in my profile, if to be more precise, then make a drop-down menu with a list of cities with a choice. The difficulty is that where to get this list of all cities, because manually prescribing them is almost impossible. How to do it?

I would suggest using an public api for that and a search field - don’t make a dropdown that long.
Maybe you can get the data out of OpenStreet map or Google Maps

To add to what @user5555 said, Google Places API is probably a good place to start

1 Like