get a nicely rounded scale for to use for displaying the map scale . one of the output parameters of the org.mapfish.print.processor.map.createmapprocessor is ` mapcontext ' which canbe accessed in a template . if the scale is required in the template then it can be accessed via : $ p mapcontext . getroundedscale concode_field_sep MapfishMapContext parent concode_elem_sep Dimension mapSize concode_elem_sep double requestorDpi concode_elem_sep double rotation concode_elem_sep MapBounds bounds concode_elem_sep boolean dpiSensitiveStyle concode_elem_sep double dpi concode_elem_sep boolean forceLongitudeFirst concode_field_sep Rectangle getPaintArea concode_elem_sep double getRequestorDPI concode_elem_sep Boolean isForceLongitudeFirst concode_elem_sep double getRotation concode_elem_sep MapBounds getRotatedBounds concode_elem_sep MapBounds getRotatedBounds concode_elem_sep double getRotatedMapWidth concode_elem_sep Dimension getMapSize concode_elem_sep Dimension getRotatedMapSize concode_elem_sep Boolean isDpiSensitiveStyle concode_elem_sep double getRotatedMapHeight concode_elem_sep MapBounds getBounds concode_elem_sep double getDPI concode_elem_sep Scale getScale concode_elem_sep ReferencedEnvelope toReferencedEnvelope concode_elem_sep Scale getGeodeticScale concode_elem_sep MapfishMapContext getParentContext concode_elem_sep AffineTransform getTransform concode_elem_sep MapfishMapContext getRootContext concode_elem_sep Rectangle2D.Double getRotatedMapSizePrecise concode_elem_sep Dimension rectangleDoubleToDimension
double function ( ) { return getRoundedScale ( false ) ; }