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.
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.
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.
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:
- Go to Snazzy Maps.
- Choose or create a map style.
- Copy the JSON style code.
- Paste the JSON code into Style for Google Maps.
- Click Save Changes.
- Clear the theme cache if the style does not show immediately.
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"
}
]
}
]
