WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Maps & Location Settings / Google Maps – How to add Google API Key

Google Maps – How to add Google API Key

14065 views 1
Before reading this help file you may want to check this video. It explains how to create API Key for Google maps and how to set it on theme. Watch Video on Youtube

Google Maps requires you add your own API key before you start using it.

  • To create an API KEY, starting June 2018, you must have your billing account set too.
  • The use of Google Maps API is free and paid services are free within $200/month limit.
  • The free limits are explained here https://developers.google.com/maps/billing-and-pricing/overview
  • Set limits and add alerts https://developers.google.com/maps/billing-and-pricing/manage-costs
To prevent your API key from being stolen, make sure to restrict its usage to your domain only!
Important  – Use wildcard domains for pages inside the main domain. If you use just your domain in referrer list yourdomain.com – the key will work only on this url yourdomain.com (home)

How to get the key

Step1: Login with your Gmail account and go to https://console.developers.google.com

Step2: Add your billing info

 

Step3: Create a project and enable these 5 options from LIBRARY API:

  1. Maps JavaScript API
  2. Places API
  3. Geocoding API
  4. Geolocation API
  5. Street View Static API

 

Step4: Select – GET A KEY

 

Step5: Click Create API

 

Step6: Restrict key

Use wildcard domains for pages inside the main domain. If you use just your domain in referrer list yourdomain.com – the key will work only on this url yourdomain.com (home)

 

Step7: Copy the API and go to API Console

Paste the key in Theme Options > Map > Map Settings

How to check the key is correct

If you still can not see the map, check that the key doesn’t need any other validations in your google account.

To verify the message, open the site in the browser console, use right click, inspect element and check the console.

Maps & Location Settings

Related Articles

  • How to disable Maps for the entire website
  • Technical: Edit Open in Google Maps link with property latitude and longitude
  • Technical: Google Points of Interest on Single Property Map
  • How to change the Maps Preloader

Help Categories

  • 18Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 38Elementor Shortcodes Built-In
  • 45FAQ
  • 15Footer
  • 5Getting Started
  • 37Header
  • 2IDX & MLSImport
  • 6Installation & Setup
  • 23Installation FAQ
  • 23Maps & Location Settings
  • 21Multi-Language Third Party Plugins
  • 6Other Third party Plugins
  • 19Pages
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 36Property Pages & Layouts
  • 31Search & Filtering
  • 162Technical how to | Custom Code Required
  • 8Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Translations & Languages
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 50WPResidence 5.0 Documentation
  • 8WPResidence Elementor Studio
  • 50WPResidence Translate Plugin

Join Us On

Powered by WP Estate - All Rights Reserved
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API