geostyler / geostyler-demo

GeoStyler Demo App
https://geostyler.github.io/geostyler-demo/
BSD 2-Clause "Simplified" License
8 stars 12 forks source link

Activating SLD renderer breaks demo application #507

Closed chrismayer closed 1 year ago

chrismayer commented 1 year ago

Bug

Describe the bug When switching to the SLD renderer by clicking the corresponding button in the demo UI the application throws an error in the console (Error: "wmsBaseUrl" or "layer" are missing in the GeoStylerContext.composition.SLDRenderer) and the application turns into a white page.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://geostyler.github.io/geostyler-demo/
  2. Click on SLD in the Symbolizer Renderer section in the UI
  3. See white page and the error message in the browser console

Expected behavior SLD renderer is used and the application still works as expected.

Screenshots image

Desktop

KaiVolland commented 1 year ago

I'll have a look at it.

KaiVolland commented 1 year ago

This is also needed to really fix it: https://github.com/geostyler/geostyler-demo/pull/509