: How to improve the Autosuggestion Google Maps I have seen the following example of the Autosuggestion Google Maps feature https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete?hl=en
I have seen the following example of the Autosuggestion Google Maps feature
developers.google.com/maps/documentation/javascript/examples/places-autocomplete?hl=en
However, if I put a given location, and does not select a suggested item, but hits Enter key, an alert box displays saying "Autcomplete returned place contains no geometry".
I have seen Drupal modules based on the JS library that detect the place and does not display this caveat. If you write a non-existing location, it does nothing, but if you write "Barcelona", for example, but hits Enter Key instead of selecting the suggestion, it works perfectly.
How can achieve this? Maybe selecting automatically the first option of the suggested list? And what would be the code?
More posts by @Connie744
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.