im trying to apply this JSON code to my Google Map:
[ { stylers: [ { hue: "#ff0000" } ] } ]
That is actually made by Google, the problem is that i dont know enought about JSON to know how i apply this code and i cant find any examples using this kind of code.
Grateful for any tips or answers! 🙂
Yeah, I think it’s not so obvious. It doesn’t help that in #9 of the Wizard, they write “style” when it should be “styles”.
In the Hello World example ( https://developers.google.com/maps/documentation/javascript/tutorial ), change the myOptions, adding the comma after mapTypeId, then the option “styles: ” and paste the JSON.