Announcement: New basemap styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette, modernized pins, and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see New map style for Google Maps Platform.
Place Autocomplete is a feature of the Places library in the Maps JavaScript API.
You can use autocomplete to give your applications the type-ahead-search behavior of the Google
Maps search field. The autocomplete service can match on full words and substrings, resolving
place names, addresses, and plus codes.
Applications can therefore send queries as the user types, to provide on-the-fly place
predictions.
You can add autocomplete to your app or web page using either the Place Autocomplete Widget,
or the Place Autocomplete Data API.
Place Autocomplete Widget
The Place Autocomplete Widget
creates a text input field, supplies place predictions in a UI pick list, and returns place
details in response to the user's selection. Use the Place Autocomplete Widget to embed a complete
self-contained autocomplete user interface on your web page.
Place Autocomplete Data API
The Place Autocomplete Data API
lets you fetch place predictions programmatically, providing a finer degree of control than is
possible with the Place Autocomplete Widget. Use the Place Autocomplete Data API
if you want to build a more comprehensive custom user interface for Place Autocomplete.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-29 UTC."],[[["Place Autocomplete, a feature of the Places library within the Maps JavaScript API, provides a type-ahead search function similar to the Google Maps search field, matching place names, addresses, and plus codes."],["You can implement Place Autocomplete using either the Place Autocomplete Widget, which offers a pre-built UI, or the Place Autocomplete Data API, which allows for more customization."],["The Place Autocomplete Widget creates a text input with place predictions in a dropdown, returning details upon selection, ideal for a self-contained autocomplete interface on your webpage."],["The Place Autocomplete Data API enables programmatic retrieval of place predictions, granting greater flexibility for building custom user interfaces."]]],[]]