public class ZoomlevelGeometryProvider extends Object
| Constructor and Description |
|---|
ZoomlevelGeometryProvider(Geometry
|
| Modifier and Type | Method and Description |
|---|---|
Geometry |
getGeometryForZoomlevel(int zoom)
Get the simplified geometry for the given zoom level.
|
CachedImage |
getImageForZoomlevel(int zoom)
Get a CachedImage for this zoomlevel
|
Geometry |
getOriginalGeometry()
|
Shape |
getShapeForZoomlevel(int zoom)
Get the simplified shape for the given zoom level.
|
public ZoomlevelGeometryProvider(Geometrygeometry)
geometry - the geometry to provide zoomed instances for.
public GeometrygetOriginalGeometry()
public GeometrygetGeometryForZoomlevel(int zoom)
zoom - the zoom level to generate an instance for.
public ShapegetShapeForZoomlevel(int zoom)
zoom - the zoom level to generate an instance for.
public CachedImagegetImageForZoomlevel(int zoom)
zoom - the zoom level.