public class TileServerSettings extends Object
| Constructor and Description |
|---|
TileServerSettings() |
| Modifier and Type | Method and Description |
|---|---|
CombineStaticImageUrl |
calcTilePosition(Integer mapWidth,
Integer mapHeight,
Bbox tileBbox,
Bbox requestBbox,
int offsetX,
int offsetY) |
Bbox |
getBbox() |
Double[] |
getResolutions() |
Integer |
getTileHeight() |
Integer |
getTileWidth() |
static int |
getTilingCoord(Double serviceMin,
Double serviceMax,
Double tileSizeMapUnits,
Double coord) |
List<CombineImageUrl> |
getTilingImages(CombineImageSettings settings) |
void |
setBbox(Bbox bbox) |
void |
setResolutions(Double[] resolutions) |
void |
setResolutions(String commaSeperatedResolutions)
Sets the resolutions
|
void |
setTileHeight(Integer tileHeight) |
void |
setTileWidth(Integer tileWidth) |
public List<CombineImageUrl> getTilingImages(CombineImageSettings settings) throws MalformedURLException, Exception
MalformedURLExceptionExceptionpublic static int getTilingCoord(Double serviceMin, Double serviceMax, Double tileSizeMapUnits, Double coord)
public CombineStaticImageUrl calcTilePosition(Integer mapWidth, Integer mapHeight, Bbox tileBbox, Bbox requestBbox, int offsetX, int offsetY)
public Bbox getBbox()
public void setBbox(Bbox bbox)
public Double[] getResolutions()
public void setResolutions(String commaSeperatedResolutions)
commaSeperatedResolutions - a string with the comma seperated resolutions.public void setResolutions(Double[] resolutions)
public Integer getTileWidth()
public void setTileWidth(Integer tileWidth)
public Integer getTileHeight()
public void setTileHeight(Integer tileHeight)
Copyright © 2018. All rights reserved.