{"id":2358,"date":"2026-10-20T08:32:19","date_gmt":"2026-10-20T07:32:19","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/google-address-autocomplete-not-working\/"},"modified":"2026-10-20T08:40:21","modified_gmt":"2026-10-20T07:40:21","slug":"google-address-autocomplete-not-working","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/troubleshooting\/google-address-autocomplete-not-working\/","title":{"rendered":"Google address autocomplete not working"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Address suggestions from Google need the Places API enabled on your Google Maps API key. If you type an address and no suggestions appear, while the map itself loads fine, a missing or blocked Places API is the most likely cause.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GeoDirectory uses Google&#8217;s autocomplete for the &#8220;from&#8221; address in directions, and the Location Manager add-on uses it for the street field on the add listing form and for location search suggestions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fix it<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the Google Cloud Console and select the project your key belongs to.<\/li>\n\n\n\n<li>Go to APIs &amp; Services > Library, search for Places API and enable it.<\/li>\n\n\n\n<li>Open the key under APIs &amp; Services > Credentials. If it has API restrictions, add Places API to the allowed list. If it has website restrictions, check your site&#8217;s domain is listed.<\/li>\n\n\n\n<li>Clear any page cache and try again.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You can also click Generate Key at GeoDirectory > Settings > General. It opens Google with every API GeoDirectory uses already selected, including Places, Geocoding and Maps Static, then paste the new key into Google Maps API KEY.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Still no suggestions?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press F12 and check the browser Console. Google prints the reason, for example an API that is not activated or a key that is not authorized for your domain.<\/li>\n\n\n\n<li>Check Maps API at GeoDirectory > Settings > General (under Show Advanced). Google suggestions only work when Google Maps is the map loaded. With OpenStreetMap the suggestions come from OpenStreetMap instead.<\/li>\n\n\n\n<li>Look for JavaScript errors from other plugins, which can stop our scripts before autocomplete starts.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">More on keys is in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/installation\/get-a-google-api-key\/\">Get a Google API Key<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Address suggestions from Google need the Places API enabled on your Google Maps API key. If you type an address and no suggestions appear, while the map itself loads fine, a missing or blocked Places API is the most likely cause. GeoDirectory uses Google&#8217;s autocomplete for the &#8220;from&#8221; address in directions, and the Location Manager [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,437],"class_list":["post-2358","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-troubleshooting"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2358"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2358\/revisions"}],"predecessor-version":[{"id":2419,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2358\/revisions\/2419"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2358"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2358"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}