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

566 views 0

These options allow you to customize how Google Maps is displayed and how it works across your website.

These settings apply only if you selected Google Maps as your map system in
Map General Settings.

Content

  • Google Maps Extra Settings overview
  • Default Google Maps View
  • Use Cache for Google Maps
  • Show Google Maps Search Over Map
  • Style for Google Maps
  • Example of custom style JSON

Google Maps Extra Settings overview

Go to Theme Options → Map Configuration → Google Maps Extra Settings.

From this section, you can choose the default Google Maps view, enable or disable Google Maps cache, show or hide the map search field, and add a custom Google Maps style.


Google Maps Extra Settings in WPResidence Theme Options

Default Google Maps View

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

Available options:

  • ROADMAP – Standard 2D map view.
  • SATELLITE – Aerial image view.
  • HYBRID – Combination of normal map and satellite view.
  • TERRAIN – Map view that 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 data is cached and refreshed automatically every 3 hours.
  • No – The map loads the latest pin data each time, but this may 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 JSON style 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 the theme cache if the style does not show immediately.
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"
      }
    ]
  }
]
Note: 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, and test the map.
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
  • 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