public class ImageExporter extends Object
| Constructor and Description |
|---|
ImageExporter(BBox
Create a new ImageExporter instance for the specified bounding box to be covered with in an image of the denoted size.
|
ImageExporter(int zoom, BBox
Create a new ImageExporter instance for the specified zoom level and bounding box.
|
ImageExporter(int zoom, Selection
Create a new ImageExporter instance for the specified zoom level and selection
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
export()
Perform exporting.
|
void |
export(String
Perform exporting.
|
MapWindow |
getMapWindow()
Get the map window the is used within this instance.
|
public ImageExporter(int zoom,
Selection<Longitude,Latitude> selection,
TileConfig tileConfig)
zoom - the zoom level to use for exporting
selection - the selection to export
tileConfig - the tile configuration to use
public ImageExporter(int zoom,
BBox bbox,
TileConfig tileConfig)
zoom - the zoom level to use for the export.
bbox - the bounding box to show.
tileConfig - the tile configuration to use
public ImageExporter(BBoxbbox, int width, int height, TileConfig tileConfig)
bbox - the bounding box to cover
width - the width of the image
height - the height of the image
tileConfig - the tile configuration to use.
public MapWindowgetMapWindow()
public void export(StringfilenameExport)
filenameExport - the file's name to use for saving the image.
public BufferedImageexport()