{"id":1679,"date":"2018-10-15T08:06:58","date_gmt":"2018-10-15T08:06:58","guid":{"rendered":"http:\/\/qantumthemes.com\/demo\/qtplaces\/?page_id=1679"},"modified":"2023-07-18T18:49:11","modified_gmt":"2023-07-18T18:49:11","slug":"google-maps-api","status":"publish","type":"page","link":"http:\/\/qantumthemes.com\/demo\/qtplaces\/google-maps-api\/","title":{"rendered":"Google Maps API"},"content":{"rendered":"<p>Google Maps now requires to enable billing and activate your API key to display maps and use the geolocation function of this plugin.<\/p>\n<p><strong>This doesn&#8217;t need that you actually need to pay something, unless your website makes a massive use of maps.<\/strong> In fact, you also get 200$ in credit for free each month, which covers\u00a0 about 100&#8217;000 visits per month. (If this changes in the future, please always refere to the pricing plans for detailed info, we don&#8217;t provide any warranty on future changes that Google may decide to implement).<\/p>\n<p>https:\/\/cloud.google.com\/maps-platform\/pricing\/sheet\/<\/p>\n<p>If you see a message on your map, then you can simply<strong> click on the link &#8220;<a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/error-messages?utm_source=maps_js&amp;utm_medium=degraded&amp;utm_campaign=keyless#api-key-and-billing-errors\" target=\"_blank\" rel=\"noopener noreferrer\">Do you own this website<\/a>?&#8221;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1682\" src=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-10.27.39-300x176.png\" alt=\"Screen Shot 2018-10-15 at 10.27.39\" width=\"300\" height=\"176\" srcset=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-10.27.39-300x176.png 300w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-10.27.39.png 549w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Sign in with a Google account (you will need, if you never did it before, to add a billing method, for instance a credit card, and company details).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1683\" src=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.30.35-1024x333.png\" alt=\"Screen Shot 2018-10-15 at 09.30.35\" width=\"900\" height=\"293\" srcset=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.30.35-1024x333.png 1024w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.30.35-300x98.png 300w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.30.35-768x250.png 768w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.30.35.png 1174w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Choose <strong>Maps JavaScript API,<\/strong> then<strong> choose an existing project or add a new one.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1684\" src=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.41.07.png\" alt=\"Screen Shot 2018-10-15 at 09.41.07\" width=\"830\" height=\"558\" srcset=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.41.07.png 830w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.41.07-300x202.png 300w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.41.07-768x516.png 768w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Enable billing for your project:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1685\" src=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.41.22.png\" alt=\"Screen Shot 2018-10-15 at 09.41.22\" width=\"753\" height=\"435\" srcset=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.41.22.png 753w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.41.22-300x173.png 300w\" sizes=\"(max-width: 753px) 100vw, 753px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Very important: remember <span style=\"color: #ff0000;\">to add restrictions for your API key<\/span>, otherwise somebody else will be able to use your API keys and charge them to your account. Please notice the example below:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1686\" src=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.49.24.png\" alt=\"Screen Shot 2018-10-15 at 09.49.24\" width=\"687\" height=\"420\" srcset=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.49.24.png 687w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-09.49.24-300x183.png 300w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>API Restrictions:<\/h2>\n<p>Please make sure to edit the Restrictions and enable<\/p>\n<ul>\n<li>Geocoding API<\/li>\n<li>Geolocation<\/li>\n<li>Javascript API<\/li>\n<li>Maps embed API<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1704\" src=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2023\/07\/@MAPS-API-1-1024x593.jpg\" alt=\"\" width=\"900\" height=\"521\" srcset=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2023\/07\/@MAPS-API-1-1024x593.jpg 1024w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2023\/07\/@MAPS-API-1-300x174.jpg 300w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2023\/07\/@MAPS-API-1-768x445.jpg 768w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2023\/07\/@MAPS-API-1.jpg 1302w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Once done please remember that changes may take up to 15 minutes before becoming active (more than the 5 that Google says in the page).<\/strong><\/p>\n<p>So if you change something please wait a bit before seeing the changes taking effect.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1702\" src=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2023\/07\/@MAPS-API-2-1024x607.jpg\" alt=\"\" width=\"900\" height=\"533\" srcset=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2023\/07\/@MAPS-API-2-1024x607.jpg 1024w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2023\/07\/@MAPS-API-2-300x178.jpg 300w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2023\/07\/@MAPS-API-2-768x455.jpg 768w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2023\/07\/@MAPS-API-2.jpg 1312w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/p>\n<h2>Enter the API key in your website settings<\/h2>\n<p>&nbsp;<\/p>\n<p>You can then copy the credentials and put them in Settings &gt;\u00a0QT Places &gt; Map API key:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1687\" src=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/copy-1024x305.jpg\" alt=\"copy\" width=\"900\" height=\"268\" srcset=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/copy-1024x305.jpg 1024w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/copy-300x89.jpg 300w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/copy-768x229.jpg 768w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/copy.jpg 1397w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1688\" src=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-10.36.27.png\" alt=\"Screen Shot 2018-10-15 at 10.36.27\" width=\"813\" height=\"392\" srcset=\"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-10.36.27.png 813w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-10.36.27-300x145.png 300w, http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-15-at-10.36.27-768x370.png 768w\" sizes=\"(max-width: 813px) 100vw, 813px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Maps now requires to enable billing and activate your API key to display maps and use the geolocation function of this plugin. This doesn&#8217;t need that you actually need to pay something, unless your website makes a massive use of maps. In fact, you also get 200$ in credit for free each month, which [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-boxed.php","meta":{"footnotes":""},"class_list":["post-1679","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-json\/wp\/v2\/pages\/1679"}],"collection":[{"href":"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-json\/wp\/v2\/comments?post=1679"}],"version-history":[{"count":5,"href":"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-json\/wp\/v2\/pages\/1679\/revisions"}],"predecessor-version":[{"id":1706,"href":"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-json\/wp\/v2\/pages\/1679\/revisions\/1706"}],"wp:attachment":[{"href":"http:\/\/qantumthemes.com\/demo\/qtplaces\/wp-json\/wp\/v2\/media?parent=1679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}