maplibre / maplibre-gl-inspect

Maplibre GL Inspect adds an inspect control to maplibre-gl-js to view all features of the vector sources and allows hovering over features to see their properties.
https://maplibre.org/maplibre-gl-inspect/
BSD 3-Clause "New" or "Revised" License
39 stars 7 forks source link

Side panel instead of popup #21

Open tordans opened 4 months ago

tordans commented 4 months ago

Does anyone have strong feelings to keep the data inside a popup? Or could we move this to use a side panel (which gets updated on hover or on click).

Why? Having a lot of data inside a popup gets super crowded and hard to handle very quickly.

For our use cases we don't have our properties optimized the same way one would do so for a basemap, but instead have quite a few and longer properties.

HarelM commented 4 months ago

I need the popup for maputnik, which is the main reason I moved this library here. Having said that, if you want to create a configuration to disable popup (maybe already exists) and enable sidebar, I have no objections. I.e. keep this package backwards compatible.