Geolocation input

Hello,

 

How to transform the location field of an object in automatic geolocation with the API of google so that the user makes sure between his place of residence that the choices are proposed to him automatically