|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maryanovsky.map.client.opengis.wms.TileSetLayer
public class TileSetLayer
A TileLayer implementation for a WMS server.
| Constructor Summary | |
|---|---|
TileSetLayer(Capabilities capabilities,
Capabilities.TileSet tileSet,
WmsProjection projection,
int minZoom,
int bgColor)
Creates a new TileSetLayer for the specified Capabilities.TileSet. |
|
| Method Summary | |
|---|---|
SizeView |
getTileSize()
Returns the size of the tiles. |
String |
getTileUrl(int x,
int y,
int zoom)
Returns the URL of the tile to display at the specified location (in pixels) and zoom. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TileSetLayer(Capabilities capabilities,
Capabilities.TileSet tileSet,
WmsProjection projection,
int minZoom,
int bgColor)
TileSetLayer for the specified Capabilities.TileSet.
capabilities - The Capabilities of the service.tileSet - The tileset to display.projection - The projection.minZoom - The zoom corresponding to the first (outermost)
resolution of the tileset.bgColor - The background color of the tiles, in 0xffRRGGBB format.
For transparent tiles, the high 8 bits should be 0 instead of 0xff.| Method Detail |
|---|
public SizeView getTileSize()
getTileSize in interface TileLayer
public String getTileUrl(int x,
int y,
int zoom)
null if there is no tile at the
specified location, if, for example, it is outside the boundaries of the
map.
getTileUrl in interface TileLayer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||