@Api(allMethods=true) public class RasterTile extends Object implements Serializable
A raster image represents all the meta-data needed to put an image on a screen. The bounds in the meta-data are expressed in application coordinates, the indices are expressed in view coordinates (this means that the y-axis is flipped)
| Constructor and Description |
|---|
RasterTile()
Default constructor - does nothing.
|
RasterTile(org.geomajas.geometry.Bbox bounds,
String id)
Constructor setting the tile's unique ID and bounds.
|
| Modifier and Type | Method and Description |
|---|---|
org.geomajas.geometry.Bbox |
getBounds()
Returns the bounds for the image on the client side.
|
TileCode |
getCode()
Returns the unique code for this tile.
|
String |
getId()
Return the unique identifier for this tile (normally, id =
|
String |
getUrl()
Return the URL to the actual image for this raster tile.
|
void |
setBounds(org.geomajas.geometry.Bbox bounds)
Sets the bounds for the image on the client side.
|
void |
setCode(TileCode code)
Set the unique code for this tile.
|
void |
setId(String id)
Set a new unique identifier for this tile.
|
void |
setUrl(String url)
Set the URL to the actual image for this raster tile.
|
String |
toString()
Convert to readable string.
|
public RasterTile()
public RasterTile(org.geomajas.geometry.Bbox bounds,
String id)
bounds - Bounds for the image on the client side.id - Unique identifier for this tile (normally, id = public String toString()
public String getId()
public void setId(String id)
id - tile idpublic TileCode getCode()
public void setCode(TileCode code)
code - The tile's code.public org.geomajas.geometry.Bbox getBounds()
public void setBounds(org.geomajas.geometry.Bbox bounds)
bounds - The image bounds.public String getUrl()
public void setUrl(String url)
url - The location of the actual image.Copyright © 2015 Geosparc. All Rights Reserved.