This page explains the initial instructions for the setup, it lays down the steps of how to Create Google API Keys, create Google Map API key, create Google Place API key. create Google Maps URL, etc.
Create Google API Keys
Go WordPress Dashboard -> WPLocalPlus -> Settings.
Listings to fetch from: Here you can select the API from which you want to fetch business listings. Like Google, City Grid and Both.
If you select Google, then you need to create Google Map API and Google Place API and use it into WPLocalPlus settings.
If you select City Grid, then you need to create and use the City Grid publisher key in WPLocalPlus settings.
Similarly, if you select 'Both', then you need to use all three API keys.
As WPLocalPlus Plugin fetches listings from Google and City Grid through API call first, make sure that all API keys are in place. Otherwise, your business list will not display results.
Show Map: To display your listing location on Google map.
Go to top menu 'Select a project' -> Create a new project -> write your project name- "Project Name"-> Click "Create".
Click 'Enable APIS AND SERVICES' from the top. Search for Maps Static API, Maps JavaScript API, Geocoding API & Geolocation API and enable all of them.
Now, go to the "Credentials" tab and click on "Create Credentials-> API Key".
Click on "RESTRICT KEY". Under it go to API restrictions tab and choose Places API, Maps JavaScript API, Geocoding API & Geolocation API.
Then go to the Application restrictions tab and click on HTTP referrers (web sites). Add following domain referrers values: https://*.yourwebsite.com/*, https://yourwebsite.com/*
Save it.
Copy the key and paste it in WPLocalPlus -> Settings under Google Maps API.
Steps to create Google Place API key
Go to APIs & Services -> Dashboard
Click 'Enable APIS AND SERVICES' from the top. Search for Places API, Maps JavaScript API, Geocoding API & Geolocation API and enable all of them.
Now, go to the "Credentials" tab and click on "Create Credentials-> API Key"
Click on "RESTRICT KEY". Under it go to API restrictions tab and choose Maps Static API, Maps JavaScript API, Geocoding API & Geolocation API.
Then go to the Application restrictions tab and click on HTTP referrers (web sites). Add following domain referrers values: https://*.yourwebsite.com/*, https://yourwebsite.com/*
Save it.
Copy the key and paste it in WPLocalPlus -> Settings under Google Places API.