Title: Styled Maps with JSON
Last modified: August 22, 2016

---

# Styled Maps with JSON

 *  Resolved [Nak1doigt](https://wordpress.org/support/users/nak1doigt/)
 * (@nak1doigt)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/styled-maps-with-json/)
 * Hello!
    (Sorry if I don’t write very weel in english) I want to customize my 
   map with a JSON code ([http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html](http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html)).
   What should I modified file, for insert my JSON code ? Thanks a lot, and thanks
   for this amazing plugin! Brice
 * [https://wordpress.org/plugins/nomad-world-map/](https://wordpress.org/plugins/nomad-world-map/)

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

 *  [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/styled-maps-with-json/#post-5555920)
 * I didn’t test it, but I suspect it will work.
 * If you open the /js/nwm-gmap.js file, then on line 61 you should see this code.
   I added styles:
 *     ```
       options:{
          center: [zoomTo],
          styles: //here goes the json code... don't forget to end with a ,
          scrollwheel: false,
          mapTypeControl: false,
          navigationControl: false,
          panControl: false,
          zoom: zoomLevel,
          mapTypeId: mapType,
          streetViewControl: streetViewVisible,
             zoomControlOptions: {
                style: zoomControlStyle,
                position: zoomControlPosition
             }
        }
       ```
   
 * Let me know if this works or not?
 *  Thread Starter [Nak1doigt](https://wordpress.org/support/users/nak1doigt/)
 * (@nak1doigt)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/styled-maps-with-json/#post-5555928)
 * Hello Tijmen,
    Thanks for your help ! 🙂 So it is working for some styles, but
   not all of theme (sorry, sorry for my english :/ ) :
 *     ```
       styles: [
       {
       "featureType": "administrative",
       "stylers": [
       { "visibility": "off" }
       ]
        },
        .....
        }
       ],
       ```
   
 * But not for this one for example :
 *     ```
       {
       "featureType": "water",
       "stylers": [
       { "lightness": -35 },
       { "saturation": 35 },
       { "gamma": 5.4 }
       ]
       }
       ```
   
 * I think the numbers are the problem. Can u help me ? Thx
 *  Thread Starter [Nak1doigt](https://wordpress.org/support/users/nak1doigt/)
 * (@nak1doigt)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/styled-maps-with-json/#post-5555939)
 * Sorry8 It’s OK ! My code was wrong 🙂
    Thanks al ot Tijmen !!!!!
 *  [dailyrebel](https://wordpress.org/support/users/dailyrebel/)
 * (@dailyrebel)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/styled-maps-with-json/#post-5556138)
 *  [manilLons](https://wordpress.org/support/users/manillons/)
 * (@manillons)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/styled-maps-with-json/#post-5556153)
 * Hi there,
 * Can you please post a full example of a working json code ? It doesn’t work for
   me and I don’t find the error.
 * Thank you

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

 The topic ‘Styled Maps with JSON’ is closed to new replies.

 * ![](https://ps.w.org/nomad-world-map/assets/icon-256x256.jpg?rev=984088)
 * [Nomad World Map](https://wordpress.org/plugins/nomad-world-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nomad-world-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nomad-world-map/)
 * [Active Topics](https://wordpress.org/support/plugin/nomad-world-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nomad-world-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nomad-world-map/reviews/)

## Tags

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

 * 5 replies
 * 4 participants
 * Last reply from: [manilLons](https://wordpress.org/support/users/manillons/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/styled-maps-with-json/#post-5556153)
 * Status: resolved