com.google.maps.gwt.client
Class MapTypeStyle

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

public class MapTypeStyle
extends JavaScriptObject

The MapTypeStyle is a collection of selectors and stylers that define how the map should be styled. Selectors specify what map elements should be affected and stylers specify how those elements should be modified. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected MapTypeStyle()
          Protected constructor avoids default public constructor.
 
Method Summary
static MapTypeStyle create()
           
 void setElementType(MapTypeStyleElementType elementType)
          Selects the element type to which a styler should be applied.
 void setFeatureType(MapTypeStyleFeatureType featureType)
          Selects the feature, or group of features, to which a styler should be applied.
 void setStylers( stylers)
          The style rules to apply to the selectors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTypeStyle

protected MapTypeStyle()
Protected constructor avoids default public constructor.

Method Detail

create

public static final MapTypeStyle create()

setElementType

public final void setElementType(MapTypeStyleElementType elementType)
Selects the element type to which a styler should be applied. An element type distinguishes between the different representations of a feature. Optional; if elementType is not specified, the value is assumed to be 'all' .


setFeatureType

public final void setFeatureType(MapTypeStyleFeatureType featureType)
Selects the feature, or group of features, to which a styler should be applied. Optional; if featureType is not specified, the value is assumed to be 'all' .


setStylers

public final void setStylers( stylers)
The style rules to apply to the selectors. The rules are applied to the map's elements in the order they are listed in this array.