Extended the scale line so that you can choose if you want to show the borders of the rectangle and which unit you want. ------------------------------------------------------------------------------------------------------------------------
Key: GEOS-4607 URL: http://jira.codehaus.org/browse/GEOS-4607 Project: GeoServer Issue Type: Improvement Components: WMS Affects Versions: 2.1.0 Reporter: Torbjørn Danielsen Assignee: Andrea Aime Priority: Minor Attachments: ScaleLineDecoration.java Re-factored the ScaleLineDecoration class so that the line drawings and the text drawing for the scale line could be extracted into a separate method for better readability. Added two options: * border - Boolean. If set to false removes the border around the scale line * unit - String. If set to "metric" shows only the metric unit and if set to "imperial" shows only imperial unit, defaults to both. The class will behave as before if none of the options is set. In other words default behavior is with border and both units showing. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel