Canadian-Geospatial-Platform / geoview

Canadian Geospatial Platform Viewer / Visualiseur de la Plateforme Géospatiale Canadienne
Other
22 stars 32 forks source link

[BUG] Legend graphic not displaying for WMS layer #2220

Closed jaredkinger closed 4 months ago

jaredkinger commented 4 months ago

Is there an existing issue for this?

Current Behavior

The WMS layer contains a legend graphic but it is not displayed.

Expected Behavior

The legend graphic should be displayed.

Steps To Reproduce

  1. Go here: https://wordpress.dev.geo.ca/wp-content/geoview/examples/flood-susceptibility.html
  2. View map legend
  3. Notice that the legend graphic is missing

Anything else?

Web Service URL: https://datacube.services.geo.ca/web/flood-susceptibility.xml Layer ID: FS-national-2015-index Legend graphic: https://datacube.services.geo.ca/assets/legend/legend_FSI_YlGnBu.png Example config: flood-susceptibility.json