Provide google autocomplete feature to retrieve addresses while the user types.
This extension uses the Google Maps Javascript API and Google Places library combined with HTML5 geolocation to retrieve addresses while the user types.
Simply install the extension from the marketplace and add the component to the pages/layouts where you want autocomplete feature enabled.
To add a component: Design > Themes > (click the sheet under active child themes) > Select Pages/Layouts under Template (left dropdown), and the page where you want to add autocomplete. Now click on the big plus and select from the dropdown the Places Component.
Example: Add to Local layout the component to have autocomplete active across menu & checkout.
Note: There is NO need to add @component('componentAlias')
to the markup.
generate an API key and restrict it from google console to be used only by your domain (Referrer HTTP) by Maps JavaScript API & Places API only,
set API key in Places Settings
Supported languages: ENG/ITA
Basic: Settings > Places Settings
Advanced: Edit component properties
Marketplace Preparation