{"id":935,"date":"2016-03-14T03:29:01","date_gmt":"2016-03-14T03:29:01","guid":{"rendered":"http:\/\/loftocean.com\/doc\/loftbuilder\/?page_id=935"},"modified":"2016-03-14T07:00:32","modified_gmt":"2016-03-14T07:00:32","slug":"google-api","status":"publish","type":"page","link":"https:\/\/loftocean.com\/doc\/loftbuilder\/plugin-settings\/google-api\/","title":{"rendered":"Google API"},"content":{"rendered":"<p>Before adding a Google Map to your page by using the Map Module, you need to add an API key. Because &#8220;<a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key\" target=\"_blank\">All JavaScript API applications require authentication<\/a>&#8221; (please click the link to check more details on Google Developers official site).<\/p>\n<p>You can use the API under the <strong>standard plan<\/strong> or under the <strong>Google Maps APIs Premium Plan<\/strong>. You may want to check <a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/usage#premium-usage-limits\" target=\"_blank\">Google Maps JavaScript API Usage Limits<\/a>.<\/p>\n<p><strong>Most websites and applications may use the standard JavaScript API free of charge.<\/strong> See below (click on the screenshot to read the full article):<\/p>\n<p><a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/usage#increase-your-quota-by-enabling-pay-as-you-go-billing\" rel=\"attachment wp-att-941\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-941\" src=\"http:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-map-limit.jpg\" alt=\"google-map-limit\" width=\"2528\" height=\"1056\" srcset=\"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-map-limit.jpg 2528w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-map-limit-300x125.jpg 300w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-map-limit-768x321.jpg 768w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-map-limit-1024x428.jpg 1024w\" sizes=\"auto, (max-width: 2528px) 100vw, 2528px\" \/><\/a><\/p>\n<hr \/>\n<p>To get a key, go to <a href=\"https:\/\/console.developers.google.com\/\" target=\"_blank\">Google Developers Console<\/a> page:<\/p>\n<ol>\n<ol>\n<li>Log in or sign up a new Google account.<\/li>\n<li>Create a new project. Name it to fit your project.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-952\" src=\"http:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.45.05-pm.png\" alt=\"Create a new project\" width=\"2266\" height=\"870\" srcset=\"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.45.05-pm.png 2266w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.45.05-pm-300x115.png 300w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.45.05-pm-768x295.png 768w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.45.05-pm-1024x393.png 1024w\" sizes=\"auto, (max-width: 2266px) 100vw, 2266px\" \/><\/li>\n<li>Click on <strong>Use Google APIs<\/strong> panel.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-945\" src=\"http:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.25.44-pm.png\" alt=\"Click on Use Google APIs panel\" width=\"2276\" height=\"1228\" srcset=\"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.25.44-pm.png 2276w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.25.44-pm-300x162.png 300w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.25.44-pm-768x414.png 768w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.25.44-pm-1024x552.png 1024w\" sizes=\"auto, (max-width: 2276px) 100vw, 2276px\" \/><\/li>\n<li>Click on <strong>Google Maps Javascript API<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-946\" src=\"http:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-map-api-enable.jpg\" alt=\"Click on Google Maps Javascript API\" width=\"1880\" height=\"756\" srcset=\"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-map-api-enable.jpg 1880w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-map-api-enable-300x121.jpg 300w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-map-api-enable-768x309.jpg 768w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-map-api-enable-1024x412.jpg 1024w\" sizes=\"auto, (max-width: 1880px) 100vw, 1880px\" \/><\/li>\n<li>Click on the blue <strong>Enable<\/strong> button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-954\" src=\"http:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.47.02-pm.png\" alt=\"Click on Enable button\" width=\"2424\" height=\"826\" srcset=\"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.47.02-pm.png 2424w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.47.02-pm-300x102.png 300w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.47.02-pm-768x262.png 768w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.47.02-pm-1024x349.png 1024w\" sizes=\"auto, (max-width: 2424px) 100vw, 2424px\" \/><\/li>\n<li>You need to <strong>create credentials to access your enabled APIs<\/strong>. Click on the blue <strong>Go to Credentials<\/strong> button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-956\" src=\"http:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.48.15-pm.png\" alt=\"Create credentials to access your enabled APIs\" width=\"2016\" height=\"726\" srcset=\"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.48.15-pm.png 2016w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.48.15-pm-300x108.png 300w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.48.15-pm-768x277.png 768w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.48.15-pm-1024x369.png 1024w\" sizes=\"auto, (max-width: 2016px) 100vw, 2016px\" \/><\/li>\n<li>Find the second drop down list &#8220;Where will you be calling the API from?&#8221;. Choose &#8220;Web browser (Javascript)&#8221;. Then click on the blue <strong>&#8220;What credentials do I need?&#8221;<\/strong> button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-958\" src=\"http:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.51.57-pm.png\" alt=\"Screen Shot 2016-03-14 at 2.51.57 pm\" width=\"1982\" height=\"1004\" srcset=\"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.51.57-pm.png 1982w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.51.57-pm-300x152.png 300w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.51.57-pm-768x389.png 768w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.51.57-pm-1024x519.png 1024w\" sizes=\"auto, (max-width: 1982px) 100vw, 1982px\" \/><\/li>\n<li>Find &#8220;Accept requests from these HTTP referrers (web sites)&#8221; option. You can enter your site URL, or just leave it blank. It&#8217;s optional. Then click on <strong>Create API key<\/strong> button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-959\" src=\"http:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.52.36-pm.png\" alt=\"Create API key\" width=\"2000\" height=\"1152\" srcset=\"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.52.36-pm.png 2000w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.52.36-pm-300x173.png 300w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.52.36-pm-768x442.png 768w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.52.36-pm-1024x590.png 1024w\" sizes=\"auto, (max-width: 2000px) 100vw, 2000px\" \/><\/li>\n<li>Now you will get your API key, copy it, then click on <strong>Done<\/strong> button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-961\" src=\"http:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.54.05-pm.png\" alt=\"Now you will get your API key, copy it\" width=\"1988\" height=\"848\" srcset=\"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.54.05-pm.png 1988w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.54.05-pm-300x128.png 300w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.54.05-pm-768x328.png 768w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/Screen-Shot-2016-03-14-at-2.54.05-pm-1024x437.png 1024w\" sizes=\"auto, (max-width: 1988px) 100vw, 1988px\" \/><\/li>\n<\/ol>\n<hr>\n<p>When you have the API key, go to your WordPress site <strong>dashboard<\/strong> &gt; <strong>Settings<\/strong> &gt; <strong>LoftBuilder<\/strong> &gt; <strong>Google API<\/strong> panel. Paste the API key here, and save settings. Done.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-939\" src=\"http:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-api-settings.png\" alt=\"google-api-settings\" width=\"2180\" height=\"794\" srcset=\"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-api-settings.png 2180w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-api-settings-300x109.png 300w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-api-settings-768x280.png 768w, https:\/\/loftocean.com\/doc\/loftbuilder\/wp-content\/uploads\/sites\/2\/2016\/03\/google-api-settings-1024x373.png 1024w\" sizes=\"auto, (max-width: 2180px) 100vw, 2180px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before adding a Google Map to your page by using the Map Module, you need to add an API key. Because &#8220;All JavaScript API applications require authentication&#8221; (please click the link to check more details on Google Developers official site). You can use the API under the standard plan or under the Google Maps APIs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":11,"menu_order":40,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-935","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-json\/wp\/v2\/pages\/935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-json\/wp\/v2\/comments?post=935"}],"version-history":[{"count":18,"href":"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-json\/wp\/v2\/pages\/935\/revisions"}],"predecessor-version":[{"id":963,"href":"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-json\/wp\/v2\/pages\/935\/revisions\/963"}],"up":[{"embeddable":true,"href":"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-json\/wp\/v2\/pages\/11"}],"wp:attachment":[{"href":"https:\/\/loftocean.com\/doc\/loftbuilder\/wp-json\/wp\/v2\/media?parent=935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}