|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MapType
This interface defines map type. This interface is typically used for base maps such as road, satellite or hybrid
maps. Immutable.
See MapType API Doc
| Method Summary | |
|---|---|
String |
getAlt()
gets Alt text to display when this MapType's button is hovered over in the MapTypeControl. |
Element |
getTile(Point tileCoord,
int zoom,
Document ownerDocument)
Returns a tile for the given tile coordinate (x, y) and zoom level. |
void |
releaseTile(Element tile)
Releases the given tile, performing any necessary cleanup. |
void |
setAlt(String alt)
sets 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)
sets Name to display in the MapTypeControl. |
void |
setProjection(Projection projection)
sets The Projection used to render this MapType. |
void |
setRadius(int radius)
sets Radius of the planet for the map, in meters. |
void |
setTileSize(Size tileSize)
sets The dimensions of each tile. |
| Method Detail |
|---|
Element getTile(Point tileCoord,
int zoom,
Document ownerDocument)
tileCoord - zoom - ownerDocument - void releaseTile(Element tile)
tile - void setAlt(String alt)
alt - String getAlt()
void setMaxZoom(int maxZoom)
maxZoom - void setMinZoom(int minZoom)
minZoom - void setName(String name)
name - void setProjection(Projection projection)
projection - void setRadius(int radius)
radius - void setTileSize(Size tileSize)
tileSize -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||