Uploaded image for project: 'GeoServer'
  1. GeoServer
  2. GEOS-7834

WMS GetLegendGraphic margins issues

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.10.0
    • Fix Version/s: 2.11-beta
    • Component/s: None
    • Labels:
      None

      Description

      I would like to propose a couple of new options for the GetLegendGraphic WMS request:

      • labelMargin, to set the margin between icons and the related labels; I would use a default of 2/3 pixels so that labels have a small distance from the icons; currently for icons that are filling the given space (usually external images) there is no space between the icon and the label
      • absoluteMargins (true|false): this is for raster legends; currently a proportional margin is applied, so that space between columns depends (for example) from labels text length; when absoluteMargins is true, I would use a fixed space margin (configurable with the already existing dx option); I would also switch to absolute margins by default (I don't really understand the usage of proportional space between columns)

        Attachments

          Activity

            People

            • Assignee:
              mbarto Mauro Bartolomeoli
              Reporter:
              mbarto Mauro Bartolomeoli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: