Последние изменения: 02 Март 2014
How to create new Google map style for Google map article list template?
Official Answer
In the google map template parameter you can see style chooser. Style is a simple JSON file located in /components/com_cobalt/library/js/mapstyles. Theer are some files already placed just for demonstration.
You can create new files according to Google style API or you can use Google Style Wizard
In the file you only save date without declaring any variable. Eg:
[
{
stylers: [
{ saturation: 62 },
{ lightness: -10 },
{ gamma: 0.64 }
]
},{
featureType: "road.local",
stylers: [
{ saturation: 54 },
{ lightness: -34 }
]
}
]
just save it to any file name with .json extension.