Currently, I am implementing the Google Places Autocomplete API to provide users with suggestions for nearby locations. However, I have noticed that the API lacks the feature to control the placement of these autocomplete results. It simply adds a '.pac-container' in the body and positions it below the text box, leaving us only the option to style it through CSS.
Another limitation I have encountered is the rigid behavior of the API. It clears the container and hides it when the input box loses focus, whereas I would prefer the user to be able to select and click a button to use the chosen value.
My question is whether there is a way to retrieve a list of places from the server and manually populate them in a specific element of my choice. Perhaps there is a handler or method that allows for this customization. I still intend to credit Google in the display, but I desire more control over showcasing the retrieved data.