[Geoserver-devel] [JIRA] (GEOS-8274) GetLegendGraphic ignores the default style setting

Gnafu created an issue

GeoServer / BugGEOS-8274

GetLegendGraphic ignores the default style setting

Issue Type:

BugBug

Affects Versions:

2.12-beta, 2.10.5

Assignee:

Unassigned

Components:

styling, WMS

Created:

06/Sep/17 6:01 PM

Priority:

LowLow

Reporter:

Gnafu

If a layer’s default style has a custom legend, it is not used when the GetLegendGraphic request doesn’t specify a style.

Wrong Image (auto-generated):
https://demo.geo-solutions.it/geoserver/wms?service=WMS&request=GetLegendGraphic&format=image%2Fpng&layer=topp%3Astates_test&version=1.3.0

Correct Image (custom):
https://demo.geo-solutions.it/geoserver/wms?service=WMS&request=GetLegendGraphic&format=image%2Fpng&layer=topp%3Astates_test&version=1.3.0&style=population_test

Add Comment

Add Comment

Get JIRA notifications on your phone! Download the JIRA Cloud app for Android or iOS


This message was sent by Atlassian JIRA (v1000.1257.0#100059-sha1:0d58106)

Atlassian logo