com.google.maps.gwt.client
Class ImageMapTypeOptions

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

public class ImageMapTypeOptions
extends JavaScriptObject

This class is used to create a MapType that renders image tiles. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Nested Class Summary
static interface ImageMapTypeOptions.Callback
          Callback type for handling asynchronous responses from getTileUrl.
 
Constructor Summary
protected ImageMapTypeOptions()
          Protected constructor avoids default public constructor.
 
Method Summary
static ImageMapTypeOptions create()
           
 void setAlt(java.lang.String alt)
          Alt text to display when this MapType's button is hovered over in the MapTypeControl.
 void setGetTileUrl(ImageMapTypeOptions.Callback getTileUrl)
          Returns a string (URL) for given tile coordinate (x, y) and zoom level.
 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 setOpacity(double opacity)
          The opacity to apply to the tiles.
 void setTileSize(Size tileSize)
          The tile size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageMapTypeOptions

protected ImageMapTypeOptions()
Protected constructor avoids default public constructor.

Method Detail

create

public static final ImageMapTypeOptions create()

setAlt

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


setGetTileUrl

public final void setGetTileUrl(ImageMapTypeOptions.Callback getTileUrl)
Returns a string (URL) for given tile coordinate (x, y) and zoom level. This function should have a signature of: getTileUrl(Point, number):string


setMaxZoom

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


setMinZoom

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


setName

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


setOpacity

public final void setOpacity(double opacity)
The opacity to apply to the tiles. The opacity should be specified as a float value between 0 and 1.0, where 0 is fully transparent and 1 is fully opaque.


setTileSize

public final void setTileSize(Size tileSize)
The tile size.