How to create a spinner chooser based on user location?

Hi,

I am a beginner in X code creating my first project. I wanted to ask how do I create a spinner where the spinner chooses a point of interest based on the users location? For example, if the user is in London, the spinner would have local points of interest and then the spinner spins and chooses for the user?

Thank You