|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.maptypes.ImageMapTypeOptions
public class ImageMapTypeOptions
This class is used to create a MapType that renders image tiles.
See ImageMapTypeOptions API Doc
| Constructor Summary | |
|---|---|
protected |
ImageMapTypeOptions()
use newInstance(); |
| Method Summary | |
|---|---|
String |
getAlt()
get Alt text to display when this MapType's button is hovered over in the MapTypeControl. |
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 Name to display in the MapTypeControl. |
double |
getOpacity()
gets The opacity to apply to the tiles. |
Size |
getTileSize()
gets The tile size. |
static ImageMapTypeOptions |
newInstance()
This class is used to create a MapType that renders image tiles. |
void |
setAlt(String alt)
set Alt text to display when this MapType's button is hovered over in the MapTypeControl. |
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)
set Name to display in the MapTypeControl. |
void |
setOpacity(double opacity)
The opacity to apply to the tiles. |
void |
setTileSize(Size size)
sets The tile size. |
void |
setTileUrl(TileUrlCallBack callback)
setup a callback to process the url creation Returns a string (URL) for given tile coordinate (x, y) and zoom level. |
| 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 |
|---|
protected ImageMapTypeOptions()
| Method Detail |
|---|
public static final ImageMapTypeOptions newInstance()
public final void setAlt(String alt)
alt - public final String getAlt()
public final void setTileUrl(TileUrlCallBack callback)
callback - public final void setMaxZoom(int maxZoom)
maxZoom - public final int getMaxZoom()
public final void setMinZoom(int minZoom)
minZoom - public final int getMinZoom()
public final void setName(String name)
name - public final String getName()
public final void setOpacity(double opacity)
opacity - public final double getOpacity()
public final void setTileSize(Size size)
size - public final Size getTileSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||