public abstract class CombineTileImageUrl extends CombineImageUrl
| Modifier and Type | Field and Description |
|---|---|
protected static double |
epsilon |
protected String |
extension |
protected Bbox |
serviceBbox |
url| Constructor and Description |
|---|
CombineTileImageUrl() |
CombineTileImageUrl(CombineTileImageUrl ctiu) |
| Modifier and Type | Method and Description |
|---|---|
List<CombineImageUrl> |
calculateNewUrl(ImageBbox imbbox) |
CombineStaticImageUrl |
createTile(ImageBbox imageBbox,
Bbox tileBbox,
int tileIndexX,
int tileIndexY,
int zoomlevel,
int imgIndexX,
int imgIndexY) |
protected abstract String |
createUrl(ImageBbox imageBbox,
Bbox tileBbox,
int indexX,
int indexY,
int zoomlevel) |
Integer |
getClosestZoomlevel(ImageBbox requestBbox) |
String |
getExtension() |
Double |
getResolution(ImageBbox imbbox,
Integer zoomlevel) |
Double[] |
getResolutions() |
Bbox |
getServiceBbox() |
Integer |
getTileHeight() |
Integer |
getTileIndexX(Double xCoord,
Double res,
boolean max)
Get the index number X of the tile on coordinate 'xCoord'.
|
Integer |
getTileIndexY(double yCoord,
Double res,
boolean max)
Get the index number Y of the tile on coordinate 'yCoord' on zoomlevel
'zoomLevel'.
|
Integer |
getTileWidth() |
void |
setExtension(String extension) |
void |
setResolutions(Double[] resolutions) |
void |
setServiceBbox(Bbox bbox) |
void |
setTileHeight(Integer tileHeight) |
void |
setTileWidth(Integer tileWidth) |
getAlpha, getBody, getRealUrl, getUrl, setAlpha, setBody, setRealUrl, setUrl, toStringprotected Bbox serviceBbox
protected String extension
protected static double epsilon
public CombineTileImageUrl(CombineTileImageUrl ctiu)
public CombineTileImageUrl()
public List<CombineImageUrl> calculateNewUrl(ImageBbox imbbox)
calculateNewUrl in class CombineImageUrlpublic CombineStaticImageUrl createTile(ImageBbox imageBbox, Bbox tileBbox, int tileIndexX, int tileIndexY, int zoomlevel, int imgIndexX, int imgIndexY)
public Integer getTileIndexX(Double xCoord, Double res, boolean max)
xCoord - The x coord.res - The resolution for which the tile should be calculatedmax - not used?public Integer getTileIndexY(double yCoord, Double res, boolean max)
yCoord - The y coord.res - The resolution for which the tile should be calculatedmax - not used?public Bbox getServiceBbox()
public void setServiceBbox(Bbox bbox)
bbox - the bbox to setpublic Double[] getResolutions()
public void setResolutions(Double[] resolutions)
resolutions - the resolutions to setpublic Integer getTileWidth()
public void setTileWidth(Integer tileWidth)
tileWidth - the tileWidth to setpublic Integer getTileHeight()
public void setTileHeight(Integer tileHeight)
tileHeight - the tileHeight to setpublic String getExtension()
public void setExtension(String extension)
Copyright © 2018. All rights reserved.