Link center of map to user's inputted location

Hi there, I’m creating a map app that lets users locate restaurants in their desired location. I’m having trouble linking the input location to the center of the map. Anybody know how?

Would also love to know how I could filter the results based on distance from the center of the map, ie some form of radius input.