com.google.maps.gwt.client
Class MapType

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

public class MapType
extends JavaScriptObject

This interface defines the map type, and is typically used for custom map types. Immutable. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected MapType()
          Protected constructor avoids default public constructor.
 
Method Summary
 java.lang.String getAlt()
          Alt text to display when this MapType's button is hovered over in the MapTypeControl.
 double getMaxZoom()
          The maximum zoom level for the map when displaying this MapType.
 double getMinZoom()
          The minimum zoom level for the map when displaying this MapType.
 java.lang.String getName()
          Name to display in the MapTypeControl.
 Projection getProjection()
          The Projection used to render this MapType.
 double getRadius()
          Radius of the planet for the map, in meters.
 Node getTile(Point tileCoord, double zoom, Document ownerDocument)
          Returns a tile for the given tile coordinate (x, y) and zoom level.
 Size getTileSize()
          The dimensions of each tile.
 void releaseTile(Node tile)
          Releases the given tile, performing any necessary cleanup.
 void setAlt(java.lang.String alt)
          Alt text to display when this MapType's button is hovered over in the MapTypeControl.
 void setMaxZoom(double maxZoom)
          The maximum zoom level for the map when displaying this MapType.
 void setMinZoom(double minZoom)
          The minimum zoom level for the map when displaying this MapType.
 void setName(java.lang.String name)
          Name to display in the MapTypeControl.
 void setProjection(Projection projection)
          The Projection used to render this MapType.
 void setRadius(double radius)
          Radius of the planet for the map, in meters.
 void setTileSize(Size tileSize)
          The dimensions of each tile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapType

protected MapType()
Protected constructor avoids default public constructor.

Method Detail

getAlt

public final java.lang.String getAlt()
Alt text to display when this MapType's button is hovered over in the MapTypeControl. Optional.


getMaxZoom

public final double getMaxZoom()
The maximum zoom level for the map when displaying this MapType. Required for base MapTypes, ignored for overlay MapTypes.


getMinZoom

public final double getMinZoom()
The minimum zoom level for the map when displaying this MapType. Optional; defaults to 0.


getName

public final java.lang.String getName()
Name to display in the MapTypeControl. Optional.


getProjection

public final Projection getProjection()
The Projection used to render this MapType. Optional; defaults to Mercator.


getRadius

public final double getRadius()
Radius of the planet for the map, in meters. Optional; defaults to Earth's equatorial radius of 6378137 meters.


getTile

public final Node getTile(Point tileCoord,
                          double zoom,
                          Document ownerDocument)
Returns a tile for the given tile coordinate (x, y) and zoom level. This tile will be appended to the given ownerDocument. Not available for base map types.


getTileSize

public final Size getTileSize()
The dimensions of each tile. Required.


releaseTile

public final void releaseTile(Node tile)
Releases the given tile, performing any necessary cleanup. The provided tile will have already been removed from the document. Optional.


setAlt

public final void setAlt(java.lang.String alt)
Alt text to display when this MapType's button is hovered over in the MapTypeControl. Optional.


setMaxZoom

public final void setMaxZoom(double maxZoom)
The maximum zoom level for the map when displaying this MapType. Required for base MapTypes, ignored for overlay MapTypes.


setMinZoom

public final void setMinZoom(double minZoom)
The minimum zoom level for the map when displaying this MapType. Optional; defaults to 0.


setName

public final void setName(java.lang.String name)
Name to display in the MapTypeControl. Optional.


setProjection

public final void setProjection(Projection projection)
The Projection used to render this MapType. Optional; defaults to Mercator.


setRadius

public final void setRadius(double radius)
Radius of the planet for the map, in meters. Optional; defaults to Earth's equatorial radius of 6378137 meters.


setTileSize

public final void setTileSize(Size tileSize)
The dimensions of each tile. Required.