Package ca.spatial.reportwriter
Class MapLayoutReport.Mapper
java.lang.Object
ca.spatial.reportwriter.MapLayoutReport.MapElement
ca.spatial.reportwriter.MapLayoutReport.Mapper
- Enclosing class:
- MapLayoutReport
The Mapper element will render the LayerList as a map.
-
Method Summary
Modifier and TypeMethodDescriptionalpha(double alpha)
Set an alpha that will be used when compositing raster layerscollapse(boolean state)
Collapse mode controls if the map layers are all drawn in to a single layer (true) or in to individual layers (false).dpi(int units)
Set the resolution to be used if vector mode is off.extent(double x, double y, double width, double height)
Set the map extent.Set the map extent.quality(float quality)
Set the quality for raster image compression.double
Calculate the actual map scale for this mapscale(double scale)
Set the map scale.units(int mapunits)
Specify the units that the map data is digitized in.vector(boolean state)
Set if the map should be rendered in vector mode or image mode.Methods inherited from class ca.spatial.reportwriter.MapLayoutReport.MapElement
background, bookmark, contentHeight, contentWidth, getBackground, getHeight, getWidth, hidden, inset, margin, neatline, p, r, simplistHeight, simplistWidth, subtype, top, visible, zoom
-
Method Details
-
units
Specify the units that the map data is digitized in. This is required so that correct scale factors can be determined. -
dpi
Set the resolution to be used if vector mode is off. The map will be rendered in to an image with the specified resolution. The default value it 72dpi. -
collapse
Collapse mode controls if the map layers are all drawn in to a single layer (true) or in to individual layers (false). The default value is false. -
scale
Set the map scale. The map zommed from the centre of the map to meet this map scale. -
extent
Set the map extent. This is the ground coordinates of the map that are visible in the mapping window. -
extent
Set the map extent. This is the ground coordinates of the map that are visible in the mapping window. -
alpha
Set an alpha that will be used when compositing raster layers -
vector
Set if the map should be rendered in vector mode or image mode. In some cases raster mode can result in a smaller map image. -
quality
Set the quality for raster image compression. A value of 1 means no compression and allows transparancy. Any value less than 1 will disable transparancy and allow compression. -
realScale
public double realScale()Calculate the actual map scale for this map
-