Styling a Map

It's very common for people to want their maps to look a specific way. In fact, there are services which allow you to customize a map however you see fit. These services will generate a JSON snippet containing all of your styles.

Here are a few services which can help you create a collection of custom styles...

Once you have generated your map styles, copy the JSON snippet and apply it to your map.

# Styling a new map

You can specify the styles option when you create the initial map...

// Set of map styles, formatted as a JSON array
var styleSet = [...];

// Apply styles to the map
var map =, {
    'styles': styleSet

# Styling an existing map

You can also apply styles to an existing map...

// Get an existing map
var map = googleMaps.getMap(mapId);

// Style the map