|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.MapTypeStyler
public class MapTypeStyler
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 |
---|
protected MapTypeStyler()
Method Detail |
---|
public static final MapTypeStyler gamma(double gamma)
public static final MapTypeStyler hue(java.lang.String hue)
'#ff0000'
.
public static final MapTypeStyler invert_lightness(boolean invert_lightness)
true
will invert the lightness of the feature while preserving the hue and saturation.
public static final MapTypeStyler lightness(double lightness)
public static final MapTypeStyler saturation(double saturation)
public static final MapTypeStyler visibility(java.lang.String visibility)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |