WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Theme Options & Global Settings / Theme Options – Maps – Google Maps Extra Settings

Theme Options – Maps – Google Maps Extra Settings

619 views 0

These options allow you to customize how Google Maps is displayed in WPResidence.

Before using these settings, make sure Google Maps is selected as the map system and the Google Maps API key is added in:

Theme Options → Map Configuration → Map Type: Open Street or Google Maps

Map Type: Open Street or Google Maps

Important: The Google Maps API is mandatory and added in the main map type setup. The settings below only control extra Google Maps display options after Google Maps is already selected and configured.

Content

  • Google Maps Extra Settings overview
  • Before you use these settings
  • Default Google Maps View
  • Use Cache for Google Maps
  • Show Google Maps Search Over Map
  • Style for Google Maps
  • Example of custom style JSON
  • Where these settings apply
  • If Google Maps does not load
  • Related help

Google Maps Extra Settings Overview

Go to:

Theme Options → Map Configuration → Google Maps Extra Settings

From this section, you can manage:

  • The default Google Maps view
  • Google Maps cache for map pin data
  • The Google Maps search field shown over the map
  • The custom visual style for Google Maps


Google Maps Extra Settings in WPResidence Theme Options

Before You Use These Settings

These settings work only when Google Maps is the active map system.

First check:

  1. Go to Theme Options → Map Configuration → Map Type: Open Street or Google Maps.
  2. Select Google Maps as the map system.
  3. Add the Google Maps API key.
  4. Save changes.

Map Type: Open Street or Google Maps

Important: If OpenStreetMap is selected as the map system, the Google Maps Extra Settings do not apply.

Default Google Maps View

This option selects the default map type used when Google Maps is active.

Available options:

  • ROADMAP – standard 2D map view.
  • SATELLITE – aerial image view.
  • HYBRID – combines normal map and satellite view.
  • TERRAIN – highlights terrain and physical features.

Use Cache for Google Maps

This option controls whether Google Maps pin data is cached for better performance.

  • Yes – map pin data is cached and refreshed automatically.
  • No – the map loads fresh pin data more often, but this can affect loading speed on sites with many properties.
Tip: For websites with many listings, keeping map cache enabled can help improve map loading performance.

Show Google Maps Search Over Map

This option shows or hides the Google Maps search field displayed over the map.

  • Yes – the search field appears over the map.
  • No – the search field is hidden.

Style for Google Maps

You can customize the visual style of Google Maps by adding a valid JSON style.

You can get Google Maps styles from:

Snazzy Maps

To apply a custom Google Maps style:

  1. Go to Snazzy Maps.
  2. Choose or create a map style.
  3. Copy the JSON style code.
  4. Paste the JSON code into Style for Google Maps.
  5. Click Save Changes.
  6. Clear cache and test the map on the frontend.
Important: This option works only with Google Maps. It does not apply to OpenStreetMap.

Example of Custom Style JSON

Below is a short example of a Google Maps JSON style. You can replace it with any valid JSON style copied from Snazzy Maps.

[
  {
    "featureType": "administrative",
    "elementType": "labels.text.fill",
    "stylers": [
      {
        "color": "#444444"
      }
    ]
  },
  {
    "featureType": "landscape",
    "elementType": "all",
    "stylers": [
      {
        "color": "#f2f2f2"
      }
    ]
  },
  {
    "featureType": "poi",
    "elementType": "all",
    "stylers": [
      {
        "visibility": "off"
      }
    ]
  },
  {
    "featureType": "water",
    "elementType": "all",
    "stylers": [
      {
        "color": "#0CC3F8"
      },
      {
        "visibility": "on"
      }
    ]
  }
]
Important: Make sure the JSON style is valid before saving. If the map does not load after adding a style, remove the custom JSON, save again, clear cache, and test the map on the frontend.

Where These Settings Apply

The Google Maps Extra Settings apply to Google Maps used by WPResidence, including maps displayed as hero maps, contact maps, property maps, and Elementor map widgets.

Global Hero Media Maps

If the map is used as global Hero Media, manage it from:

Theme Options → Header → Hero Media Header

Global Header Options

Custom Page Hero Media Maps

If a specific page uses a custom map hero, edit that page and check its custom Header Media settings.

Custom Header Options

Contact Page Template

The default Contact Page template can use the contact page details and map settings.

Contact details are managed from:

Theme Options → Social & Contact → Contact Page Details

Default Contact Page Template

Theme Options – Social & Contact

Elementor Map Widget or Map Shortcode

If the map is added inside a page built with Elementor, edit the page with Elementor and select the Map with Listings or Contact Details widget.

The widget can show property listing markers or the contact / office location pin.

Map with Listings or Contact Details widget / shortcode

If Google Maps Does Not Load

If Google Maps is stuck on loading or does not display correctly, open the frontend page and check the browser console first. The console usually shows the exact Google Maps API response or JavaScript error.

Check first that Google Maps is configured from:

Theme Options → Map Configuration → Map Type: Open Street or Google Maps

Map Type: Open Street or Google Maps

Common causes include:

  • Google Maps is not selected as the active map system
  • Google Maps API key is missing or incorrect
  • Required Google Maps APIs are not enabled in Google Cloud
  • Billing is not enabled in Google Cloud
  • The API key domain restrictions do not allow the current website
  • Latitude or longitude values are missing or invalid
  • The custom Google Maps style JSON is invalid
  • Cached map pin data has not refreshed yet

For Google Maps API errors, correct the exact issue shown in the console from the Google Cloud project, clear cache, and test again.

For coordinate issues, check the coordinates used by the page, property, or contact location.

If the map stopped loading after adding a custom Google Maps style, remove the custom JSON, save the settings, clear cache, and test the map again.

Google Maps is not loading – what settings to check

How to find latitude and longitude / set Google Maps coordinates

How to set the location of a property on the map

Related Help

  • Map Type: Open Street or Google Maps
  • Google Maps General Settings
  • Google Maps is not loading – what settings to check
  • How to find latitude and longitude / set Google Maps coordinates
  • How to set the location of a property on the map
  • Global Header Options
  • Custom Header Options
  • Default Contact Page Template
  • Theme Options – Social & Contact
  • Map with Listings or Contact Details widget / shortcode
Theme Options & Global Settings

Related Articles

  • How to Control Similar Blog Posts
  • ACF – Advanced Custom Fields – Integration with WPResidence
  • Theme Options – Roles (Editor) Permissions Controls
  • Theme Options -> Agent Card Settings

Help Categories

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

Join Us On

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