Submit and enable billing.<\/strong><\/p>\n\n\n\nPlease note that you will get up to 28000 map requests per month and 40000 direction calls per month, free of charge. You will only be billed when your usage exceeds your monthly $200 credit limit.<\/p>\n\n\n\n
Once your billing has been set up, you can move onto creating your API Key.<\/p>\n\n\n\n
Create API Credentials<\/h3>\n\n\n\n Click on the Credentials<\/b> option on the API Manager<\/b> menu in the right sidebar.<\/p>\n\n\n\n <\/figure>\n\n\n\nClick on the Create Credentials<\/b> button on the Credentials <\/b>window<\/p>\n\n\n\n <\/figure>\n\n\n\nGenerate Your API Key<\/h4>\n\n\n\n Click on API Key<\/b> on the next pop-up window.<\/p>\n\n\n\n <\/figure>\n\n\n\n\nCopy the generated API key to your clipboard.<\/li>\n\n\n\n Return to your WordPress site and paste the\u00a0API Key<\/b><\/li>\n\n\n\nClick the\u00a0Publish\u00a0<\/b>button.<\/li>\n<\/ul>\n\n\n\n After pasting the API Key<\/b> to your WordPress site and saving the settings, return to the Google API Manager<\/i>. You will want to restrict access to your API Key<\/b> to avoid having it \u201chijacked\u201d and going over your quota. Click the Restrict key<\/b> button on the API key created<\/b> window as shown above.<\/p>\n\n\n\n <\/figure>\n\n\n\nSelect HTTP referrers (web sites)<\/b> and enter the following domains under Accept requests from these HTTP referrers (web sites)<\/b> replacing yourdomain.com with your domain name: *.domain.com\/* and *domain.com\/*<\/p>\n\n\n\n <\/figure>\n\n\n\nClick the Save<\/b> button to save your Key Restrictions<\/b>.<\/p>\n\n\n\nEnable Required API Functions<\/h4>\n\n\n\n
Now you need to enable the required API functions for your project. Click the Library<\/b> link in the API Manager<\/b> sidebar menu. Click on the Google Maps JavaScript API<\/b> panel.<\/p>\n\n\n\n <\/figure>\n\n\n\nThe JavaScript API will probably already be enabled as shown in the screenshot below. If the JavaScript API is not enabled, then click Enable<\/b> on the Google Maps Javascript API<\/b> window.<\/p>\n\n\n\n <\/figure>\n\n\n\nAPI Changes Introduced By Google<\/h3>\n\n\n\n Recently, Google Maps have announced certain API changes that will affect everyone using Google Maps. Essentially, Google has implemented new pay-as-you-go pricing plans for their API. On this plan mentioned, users will get up to 28000 map requests per month and 40000 direction calls per month, free of charge.<\/p>\n\n\n\n
Other rates and limits are found here<\/a>.<\/p>\n\n\n\nSource: https:\/\/docs.wpgmaps.com\/creating-a-google-maps-api-key<\/p>\n","protected":false},"featured_media":0,"template":"","article-category":[28,35],"class_list":{"0":"post-5852","1":"articles","2":"type-articles","3":"status-publish","5":"article-category-total-plus-guides","6":"article-category-square-plus-guides"},"_links":{"self":[{"href":"https:\/\/hashthemes.com\/wp-json\/wp\/v2\/articles\/5852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hashthemes.com\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/hashthemes.com\/wp-json\/wp\/v2\/types\/articles"}],"wp:attachment":[{"href":"https:\/\/hashthemes.com\/wp-json\/wp\/v2\/media?parent=5852"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/hashthemes.com\/wp-json\/wp\/v2\/article-category?post=5852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}