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

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.controls.MapTypeControlOptions

public class MapTypeControlOptions
extends JavaScriptObject

Options for the rendering of the map type control.

See MapTypeControlOptions API Doc


Constructor Summary
protected MapTypeControlOptions()
          Options for the rendering of the map type control.
 
Method Summary
 MapTypeId[] getMapTypeIds()
          get IDs as MapTypeId object array
 String[] getMapTypeIdsString()
          get IDs as MapTypeId object array
 ControlPosition getPosition()
          Position id.
static MapTypeControlOptions newInstance()
          new Instance of Options for the rendering of the map type control.
 void setMapTypeIds(MapTypeId[] mapTypeIds)
          set IDs of map types to show in the control.
 void setMapTypeIds(String[] mapTypeIds)
          set user defined string ID of map types to show in the control.
 void setPosition(ControlPosition position)
          Position id.
 
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

MapTypeControlOptions

protected MapTypeControlOptions()
Options for the rendering of the map type control. use newInstance();

Method Detail

newInstance

public static MapTypeControlOptions newInstance()
new Instance of Options for the rendering of the map type control.


getMapTypeIds

public final MapTypeId[] getMapTypeIds()
get IDs as MapTypeId object array

Returns:
MapTypeId[]

getMapTypeIdsString

public final String[] getMapTypeIdsString()
get IDs as MapTypeId object array

Returns:
String[]

getPosition

public final ControlPosition getPosition()
Position id. Used to specify the position of the control on the map. The default position is TOP_LEFT.


setMapTypeIds

public final void setMapTypeIds(MapTypeId[] mapTypeIds)
set IDs of map types to show in the control.

Parameters:
mapTypeIds -

setMapTypeIds

public final void setMapTypeIds(String[] mapTypeIds)
set user defined string ID of map types to show in the control.

Parameters:
mapTypeIds -

setPosition

public final void setPosition(ControlPosition position)
Position id. Used to specify the position of the control on the map. The default position is TOP_LEFT.

Parameters:
position - ControlPosition


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