I'm trying to implement the following into the xml_g_maps.js to change the colors of the roads:
var roadStyles = [
{
featureType: "road.highway",
elementType: "all",
stylers: [
{ hue: "#00ff09" },
{ lightness: -58 }
]
},{
featureType: "road.arterial",
elementType: "all",
stylers: [
{ hue: "#5eff00" },
{ lightness: -14 }
]
},{
featureType: "road.local",
elementType: "all",
stylers: [
{ hue: "#00ff09" },
{ lightness: -27 } ]
},{ featureType: "all",
elementType: "all",
stylers: [ ] }
];
But whenever I try putting it into xml_g_maps.js, editing the map initialization, then upload the file and reload the page, the map is gone. Can someone explain how to manipulate the file to be able to use this Map Style?