Yes you are on the right track. Element type is what you are wanting to affect. All would include labels and everything else for that element type so I probably wouldn't recommend it, although you can try. I've never messed with the grass/water stuff yet in mine, I was manipulating roads and such in mine. You can see a listing of element types in the documentation at the link I provided if you look around.
Use a paint program and snag the rgb value of the green you want, then give that a go as your hue, then play with the lightness. Although you might want to check to make sure that hue takes rgb and not the bgr value that KML files use. On Thu, Sep 30, 2010 at 6:03 PM, Niklasro <[email protected]> wrote: > > > On Sep 30, 1:30 pm, Nathan Raley <[email protected]> wrote: > > 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.h... > > <http://code.google.com/apis/maps/documentation/javascript/reference.h.. > .> > > andhttp:// > code.google.com/apis/maps/documentation/javascript/reference.h... > > > > <http://code.google.com/apis/maps/documentation/javascript/reference.h.. > .>This > > is what the example you were looking at was doing. > > > > Thank you for the reply. Could you tell me whether I'm on the right > track manipulating these values > > featureType: "landscape", > elementType: "geometry", > stylers: [ > { hue: "#0022ff" }, > { saturation: 50 }, > { lightness: 0 }, > { gamma: 0.9 }, > > Which value should hue have to look like the green landscape the > TARRAIN map has? Should I use elementType: "all" instead of geometry? > Thanks > N.R. > > -- > 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.
