Skip to content

How to Customize Google Maps with Snazzy Maps Styles

Take a ready-made style from Snazzy Maps and apply it to every Google map in Listivo — map search, add ad form and single ad page — by pasting one block of code.

1 minute read

To customize the map style in Listivo using a style from Snazzy Maps, follow these steps:

  1. 1 Open Snazzy Maps

    Visit https://snazzymaps.com/ to find a variety of custom map styles.

  2. 2 Pick a style

    For example, to use the "Blue Water" style, go to https://snazzymaps.com/style/25/blue-water

    Preview of the Blue Water style: a pale grey street map of New York and Brooklyn where all the water is bright cyan.
  3. 3 Click "Expand Code"

    This shows the whole style code instead of the first few lines.

    Snazzy Maps style page showing a JSON snippet with featureType and stylers entries, and a green arrow pointing at the EXPAND CODE link below it.
Leave the label line out
Copy the code but exclude the line labeled 'JAVASCRIPT STYLE ARRAY:'.

Your copied code should look like this:

js
[
    {
        "featureType": "administrative",
        "elementType": "labels.text.fill",
        "stylers": [
            {
                "color": "#444444"
            }
        ]
    },
    {
        "featureType": "landscape",
        "elementType": "all",
        "stylers": [
            {
                "color": "#f2f2f2"
            }
        ]
    },
    {
        "featureType": "poi",
        "elementType": "all",
        "stylers": [
            {
                "visibility": "off"
            }
        ]
    },
    {
        "featureType": "road",
        "elementType": "all",
        "stylers": [
            {
                "saturation": -100
            },
            {
                "lightness": 45
            }
        ]
    },
    {
        "featureType": "road.highway",
        "elementType": "all",
        "stylers": [
            {
                "visibility": "simplified"
            }
        ]
    },
    {
        "featureType": "road.arterial",
        "elementType": "labels.icon",
        "stylers": [
            {
                "visibility": "off"
            }
        ]
    },
    {
        "featureType": "transit",
        "elementType": "all",
        "stylers": [
            {
                "visibility": "off"
            }
        ]
    },
    {
        "featureType": "water",
        "elementType": "all",
        "stylers": [
            {
                "color": "#46bcec"
            },
            {
                "visibility": "on"
            }
        ]
    }
]

Paste the copied code into the Google Map Element, or navigate to Listivo Panel > Maps > Snazzy and input the code there.

Settings row labelled Snazzy with a text area holding the pasted JSON style array, and a blue Save Changes button underneath.

After applying the code, the new style will be applied across all Listivo Google Map integrations, such as Map Search, Add Ad Form, and Single Ad Template.

Listivo search map in the Blue Water style — pale grey streets, bright blue water around Jersey City and Manhattan — with orange price pins such as $85,000, $4,950 and $90,000.

Ask the people who build Listivo

We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.

Was this guide helpful?