com.google.gwt.maps.client.controls
Class MapTypeStyle

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.controls.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.

See MapTypeStyle API Doc


Constructor Summary
protected MapTypeStyle()
          The MapTypeStyle is a collection of selectors and stylers that define how the map should be styled.
 
Method Summary
 MapTypeStyleElementType getElementType()
          get set Selects the element type to which a styler should be applied.
 MapTypeStyleFeatureType getFeatureType()
          get Selects the feature, or group of features, to which a styler should be applied.
 MapTypeStyler[] getStylers()
           
static MapTypeStyle newInstance()
          The MapTypeStyle is a collection of selectors and stylers that define how the map should be styled.
 void setElementType(MapTypeStyleElementType mapTypeStyleElementType)
          set Selects the element type to which a styler should be applied.
 void setFeatureType(MapTypeStyleFeatureType mapTypeStyleFeatureType)
          set Selects the feature, or group of features, to which a styler should be applied.
 void setStylers(MapTypeStyler[] stylers)
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapTypeStyle

protected MapTypeStyle()
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. use newInstance();

Method Detail

newInstance

public static final MapTypeStyle newInstance()
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.

Returns:
MapTypeStyle

setElementType

public final void setElementType(MapTypeStyleElementType mapTypeStyleElementType)
set 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'.

Parameters:
mapTypeStyleElementType - MapTypeStyleElementType

getElementType

public final MapTypeStyleElementType getElementType()
get set 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'.

Returns:
MapTypeStyleElementType

setFeatureType

public final void setFeatureType(MapTypeStyleFeatureType mapTypeStyleFeatureType)
set 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'.

Parameters:
mapTypeStyleFeatureType - MapTypeStyleFeatureType

getFeatureType

public final MapTypeStyleFeatureType getFeatureType()
get 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(MapTypeStyler[] stylers)

getStylers

public final MapTypeStyler[] getStylers()


Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.