[Geoserver-devel] [JIRA] (GEOS-7834) WMS GetLegendGraphic margins issues

Mauro Bartolomeoli created an issue

GeoServer / ImprovementGEOS-7834

WMS GetLegendGraphic margins issues

Issue Type:

ImprovementImprovement

Affects Versions:

2.10.0

Assignee:

Mauro Bartolomeoli

Created:

03/Nov/16 4:51 PM

Priority:

MediumMedium

Reporter:

Mauro Bartolomeoli

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)

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.499.3#100018-sha1:45440bd)

Atlassian logo