maplibre / maputnik

An open source visual editor for the 'MapLibre Style Specification'
https://www.maplibre.org/maputnik
MIT License
2.14k stars 402 forks source link

The semi-hidden debug panel, opened with ! shortcut stopped working #940

Open alasram opened 2 months ago

alasram commented 2 months ago

The semi-hidden debug panel, opened with ! shortcut is not working in Maputnik v1.7.0 This is likely a regression since it used to work fine in some prior versions

HarelM commented 2 months ago

I see that the panel is showing when clicking "!": image

I think there is a problem with the renderer configuration so it doesn't show everything it should, see here: https://github.com/maplibre/maputnik/blob/25cf61a825ddc596084913f0562f9c9a1f2e3da3/src/components/ModalDebug.tsx#L41C21-L41C29

Feel free to submit a PR to fix this.

HarelM commented 2 months ago

If you change the render to OL and then back to Maplibre you'll get the relevant options: image

While not ideal, this issue has a workaround...

alasram commented 2 months ago

Thank you. How to change the renderer to OL then back to MapLibre?

HarelM commented 2 months ago

In the style settings modal dialog.

alasram commented 2 months ago

thanks