public interface Multiresolution
Modifier and Type | Method and Description |
---|---|
boolean |
decreaseZoomLevel()
Decrease the current zoom level
|
Envelope |
getCoordsInLevel(Point2D center,
int level,
int w,
int h)
Calculates the bounding box of a zoom level using a center defined in pixels.
|
int |
getZoomLevel()
Gets the current zoom level
|
boolean |
increaseZoomLevel()
Increase the current zoom level
|
boolean |
isEnabledMultiresolution()
Returns true if the multiresolution is enabled
|
void |
setTileServer(Class<?> tileServer)
Sets a tile server to create a second level of cache.
|
void |
setZoomLevel(int zoomLevel)
Sets the current zoom level
|
boolean isEnabledMultiresolution()
int getZoomLevel()
void setZoomLevel(int zoomLevel)
zoomLevel
- boolean increaseZoomLevel()
boolean decreaseZoomLevel()
Envelope getCoordsInLevel(Point2D center, int level, int w, int h) throws CreateEnvelopeException
center
- center in world coordinateslevel
- level of resolutionw
- width in pixelsh
- height in pixelsCreateEnvelopeException
void setTileServer(Class<?> tileServer) throws InitializeException
tileServer
- InitializeException