getScaleBar(BoundingBox bb, int mapwidth, int initscalewidth) Build a scalebar image.
Parameters: lat - the map latitude Parameters: westBL - the map westBL Parameters: eastBL - the map eastBL Parameters: mapwidth - the width of the map in pixel Parameters: initscalewidth - an approximative length in pixel of the scale bar.
Build a scalebar image.
Parameters: lat - the map latitude Parameters: westBL - the map westBL Parameters: eastBL - the map eastBL Parameters: mapwidth - the width of the map in pixel Parameters: initscalewidth - an approximative length in pixel of the scale bar. It will be increased to reach a nice number for the scale. The scalebar image