com.google.gwt.maps.client.maptypes
Class StyledMapTypeOptions

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.maptypes.StyledMapTypeOptions

public class StyledMapTypeOptions
extends JavaScriptObject

This class is used to specify options when creating a StyledMapType. These options cannot be changed after the StyledMapType is instantiated.

See StyledMapTypeOptions API Doc


Constructor Summary
protected StyledMapTypeOptions()
          use newInstance();
 
Method Summary
 String getAlt()
          gets Text to display when this MapType's button is hovered over in the map type control.
 int getMaxZoom()
          gets The maximum zoom level for the map when displaying this MapType.
 int getMinZoom()
          gets The minimum zoom level for the map when displaying this MapType.
 String getName()
          gets The name to display in the map type control.
static StyledMapTypeOptions newInstance()
          creates options
 void setAlt(String alt)
          sets Text to display when this MapType's button is hovered over in the map type control.
 void setMaxZoom(int maxZoom)
          sets The maximum zoom level for the map when displaying this MapType.
 void setMinZoom(int minZoom)
          sets The minimum zoom level for the map when displaying this MapType.
 void setName(String name)
          sets The name to display in the map type control.
 
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

StyledMapTypeOptions

protected StyledMapTypeOptions()
use newInstance();

Method Detail

newInstance

public static final StyledMapTypeOptions newInstance()
creates options


setAlt

public final void setAlt(String alt)
sets Text to display when this MapType's button is hovered over in the map type control.

Parameters:
alt -

getAlt

public final String getAlt()
gets Text to display when this MapType's button is hovered over in the map type control.


setMaxZoom

public final void setMaxZoom(int maxZoom)
sets The maximum zoom level for the map when displaying this MapType. Optional.

Parameters:
maxZoom -

getMaxZoom

public final int getMaxZoom()
gets The maximum zoom level for the map when displaying this MapType. Optional.


setMinZoom

public final void setMinZoom(int minZoom)
sets The minimum zoom level for the map when displaying this MapType. Optional.

Parameters:
minZoom -

getMinZoom

public final int getMinZoom()
gets The minimum zoom level for the map when displaying this MapType. Optional.


setName

public final void setName(String name)
sets The name to display in the map type control.

Parameters:
name -

getName

public final String getName()
gets The name to display in the map type control.



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