{"id":1362,"date":"2019-12-13T17:00:42","date_gmt":"2019-12-13T17:00:42","guid":{"rendered":"http:\/\/kb.powercode.com\/?post_type=ht_kb&#038;p=1362"},"modified":"2021-07-20T19:41:52","modified_gmt":"2021-07-20T19:41:52","slug":"how-to-enable-new-google-maps-functionality","status":"publish","type":"ht_kb","link":"https:\/\/kb.powercode.com\/?ht_kb=how-to-enable-new-google-maps-functionality","title":{"rendered":"Google Maps API"},"content":{"rendered":"<p><b>Google Maps API Configuration<\/b><\/p>\n<p><span style=\"font-weight: 400;\">To configure Google Maps to work with Powercode, you will need to set up and configure a<\/span><a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key\"> <span style=\"font-weight: 400;\">Google API Key<\/span><\/a><span style=\"font-weight: 400;\"> with the following APIs enabled.\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Directions API<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Distance Matrix API<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Geocoding API<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Geolocation API<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Maps Javascript API<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Maps Elevation API<\/span><\/li>\n<li style=\"font-weight: 400;\">Places API<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">To acquire a Google Maps API key please use the guide on the <\/span><a href=\"https:\/\/developers.google.com\/maps\/gmp-get-started#api-key\"><span style=\"font-weight: 400;\">Google Maps Platform<\/span><\/a><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Powercode&#8217;s current implementation does not allow any restrictions associated with the API key.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once an API key is acquired enter the key under<strong>\u00a0Admin Mode &gt; Config &gt; Maps API Key<\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Enter the API Key in the provided field and click save.\u00a0You should see the prompt in the upper right corner of the page.<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2165\" src=\"http:\/\/kb-int.powercode.com\/wp-content\/uploads\/2019\/12\/apifieldentry.png\" alt=\"\" width=\"1451\" height=\"978\" \/><\/p>\n<p>If your key is correctly configured in Google and you have entered it correctly in Powercode, you should see the prompt in the upper right corner of the pag<\/p>\n<p>If you instead see a notice that the integration failed, please check:<\/p>\n<ul>\n<li>All 7 of the needed API\u2019s are enabled<\/li>\n<li>All 7 API\u2019s are set to unrestricted<\/li>\n<li>You have a billing account with Google, not a trial account<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2171\" src=\"http:\/\/kb-int.powercode.com\/wp-content\/uploads\/2019\/12\/googleMaps.png\" alt=\"\" width=\"1521\" height=\"844\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Maps API Configuration To configure Google Maps to work with Powercode, you will need to set up and configure a Google API Key with the following APIs enabled.\u00a0 Directions API Distance Matrix API Geocoding API Geolocation API Maps Javascript API Maps Elevation API Places API To acquire a Google&#8230;<\/p>\n","protected":false},"author":4,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[27],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/kb.powercode.com\/index.php?rest_route=\/wp\/v2\/ht-kb\/1362"}],"collection":[{"href":"https:\/\/kb.powercode.com\/index.php?rest_route=\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.powercode.com\/index.php?rest_route=\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.powercode.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.powercode.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1362"}],"version-history":[{"count":18,"href":"https:\/\/kb.powercode.com\/index.php?rest_route=\/wp\/v2\/ht-kb\/1362\/revisions"}],"predecessor-version":[{"id":1503,"href":"https:\/\/kb.powercode.com\/index.php?rest_route=\/wp\/v2\/ht-kb\/1362\/revisions\/1503"}],"wp:attachment":[{"href":"https:\/\/kb.powercode.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1362"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.powercode.com\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-category&post=1362"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.powercode.com\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-tag&post=1362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}