com.google.maps.gwt.client
Class MapTypeStyler

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.MapTypeStyler

public class MapTypeStyler
extends JavaScriptObject

A styler affects how a map's elements will be styled. Each MapTypeStyler should contain one and only one key. If more than one key is specified in a single MapTypeStyler , all but one will be ignored. For example: var rule = {hue: '#ff0000'} . THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected MapTypeStyler()
          Protected constructor avoids default public constructor.
 
Method Summary
static MapTypeStyler gamma(double gamma)
          Gamma.
static MapTypeStyler hue(java.lang.String hue)
          Sets the hue of the feature to match the hue of the color supplied.
static MapTypeStyler invert_lightness(boolean invert_lightness)
          Inverts lightness.
static MapTypeStyler lightness(double lightness)
          Lightness.
static MapTypeStyler saturation(double saturation)
          Saturation.
static MapTypeStyler visibility(java.lang.String visibility)
          Visibility: Valid values: 'on', 'off' or 'simplifed'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTypeStyler

protected MapTypeStyler()
Protected constructor avoids default public constructor.

Method Detail

gamma

public static final MapTypeStyler gamma(double gamma)
Gamma. Modifies the gamma by raising the lightness to the given power. Valid values: Floating point numbers, [0.01, 10], with 1.0 representing no change.


hue

public static final MapTypeStyler hue(java.lang.String hue)
Sets the hue of the feature to match the hue of the color supplied. Note that the saturation and lightness of the feature is conserved, which means that the feature will not match the color supplied exactly. Valid values: An RGB hex string, i.e. '#ff0000' .


invert_lightness

public static final MapTypeStyler invert_lightness(boolean invert_lightness)
Inverts lightness. A value of true will invert the lightness of the feature while preserving the hue and saturation.


lightness

public static final MapTypeStyler lightness(double lightness)
Lightness. Shifts lightness of colors by a percentage of the original value if decreasing and a percentage of the remaining value if increasing. Valid values: [-100, 100].


saturation

public static final MapTypeStyler saturation(double saturation)
Saturation. Shifts the saturation of colors by a percentage of the original value if decreasing and a percentage of the remaining value if increasing. Valid values: [-100, 100].


visibility

public static final MapTypeStyler visibility(java.lang.String visibility)
Visibility: Valid values: 'on', 'off' or 'simplifed'.