geojson.io icon indicating copy to clipboard operation
geojson.io copied to clipboard

Better behavior when inspecting long properties

Open Rodrigodd opened this issue 1 year ago • 0 comments

I am working with GeoJSONs with very long properties, and it is hard to visualize them directly in the popup. It would be much more useful if geojson.io handled it better, like for example:

  • Allowing resizing the popup, to make it bigger.
  • Display multiline properties (it may need to be togglable).
  • Have a horizontal scrollbar, ~or at least scrollable by mouse~ (actually you can already scroll with shift+wheel)

Example GeoJSON

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [0.0365, 0.0472],
            [0.0012, 0.0472],
            [0.0012, 0.0114],
            [0.0365, 0.0114],
            [0.0365, 0.0472]
          ]
        ]
      },
      "properties": {
        "prop": 0.1234567890,
        "very_long_prop": [
          {
            "value": 0.7361728419762,
            "name": "long name"
          },
          {
            "value": 0.7361728419762,
            "name": "long name"
          }
        ]
      }
    }
  ]
}

image

Rodrigodd avatar Oct 03 '24 11:10 Rodrigodd