You can manipulate various featureTypes on the map, changing one doesn't
affect the others.  See google's documentation:
http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeStyleFeatureType
<http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeStyleFeatureType>
and
http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeStyler

<http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeStyler>This
is what the example you were looking at was doing.

On Thu, Sep 30, 2010 at 4:55 AM, Niklasro <[email protected]> wrote:

> I review the code to http://pastebin.com/HQphbgqt which seems
> difficult to follow.
> Any comments are most welcome..The landscape is too dark.
>
>  var darkStyle = [
>    {
>    featureType: "water",
>    elementType: "all",
>    stylers: [
>      { visibility: "on" },
>      { saturation: 40 },
>      { lightness: -92 }
>      ]
>    },
>     {
>      featureType: "landscape",
>      elementType: "geometry",
>      stylers: [
>         { hue: "#0022ff" },
>        { saturation: 50 },
>        { lightness: 0 },
>       { gamma: 0.9 },
>
> {
>      featureType: "administrative.locality",
>      elementType: "labels",
>      stylers: [
>        { hue: "#0022ff" },
>        { saturation: 50 },
>        { lightness: -10 },
>        { gamma: 0.9 }
>      ]
>    }
>
>      ]
>    }
>  ];
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to