Title: Styling Google Maps &#8211; JSON?
Last modified: August 21, 2016

---

# Styling Google Maps – JSON?

 *  [rmgl](https://wordpress.org/support/users/rmgl/)
 * (@rmgl)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/styling-google-maps-json/)
 * Hi,
    I’m trying to get a styled google map to match my wordpress site’s styling.
   I found this: [http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html](http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html)
   That makes the map look exactly like I want, but I can’t figure out where I’m
   supposed to put in the JSON code…
 * Help?
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/styling-google-maps-json/#post-4825799)
 * It goes on your map javascript, passed to the MapOptions object’s `style` property.
 *  Thread Starter [rmgl](https://wordpress.org/support/users/rmgl/)
 * (@rmgl)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/styling-google-maps-json/#post-4825893)
 * Thanks bcworkz, I’m really new to this so I don’t really understand where that
   is…
    I’m using the google maps embed code, which I put in the page where I want
   the map to show. Where would I find the map javascript to put in the styling?
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/styling-google-maps-json/#post-4825925)
 * I see. I’m only familiar with the map API where the map is fully programmable
   via a javascript interface, which is what the JSON is intended for. I’m only 
   vaguely aware of the embeddable version. I would be surprised if that version
   can accept JSON styling, but I will allow that it could be possible.
 * Typically with embeds like this, you are very limited with what customizations
   you can apply. They typically are applied via URL parameters or embed tag attributes,
   I’ve yet to see one that accepts JSON input.
 * You likely either need to be satisfied with the limited styling available to 
   embeds, or learn how to implement the full API version. If you have any javascript
   experience, getting a map to display is fairly simple. Getting it to do exactly
   what you want can get quite involved, or not. It all depends on what you want
   your map to do. Simply applying JSON to the style shouldn’t be too complicated.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Styling Google Maps – JSON?’ is closed to new replies.

## Tags

 * [json](https://wordpress.org/support/topic-tag/json/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 3 replies
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/styling-google-maps-json/#post-4825925)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
