Opened 8 years ago

Closed 8 years ago

#76 closed enhancement (duplicate)

add support for WMS services that do not support SLD WMS GetLegendGraphic

Reported by: bartvde Owned by:
Priority: major Milestone: 0.6
Component: GeoExt.LegendPanel Version:
Keywords: Cc:
State: None

Description

Currently WMS legends are based on the SLD WMS GetLegendGraphic request, but not all WMS vendors support this, e.g. ESRI does not have support for it.

They may however advertize a LegendURL in the WMS GetCapabilities response.

So I propose to do the following: if the GetLegendGraphic request fails, fall-back to detecting the LegendURL from the WMS GetCapabilities, if that fails as well fall-back to an blank image.

Change History (1)

comment:1 Changed 8 years ago by bartvde

  • Resolution set to duplicate
  • Status changed from new to closed

I am closing this ticket as a duplicate since ticket:116 is proposing something similar.

Note: See TracTickets for help on using tickets.