public class ImageMapTypeOptions extends JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
ImageMapTypeOptions()
use newInstance();
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic 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()
Copyright © 2011-2014 GWT Maps API V3. All Rights Reserved.