kepler.gl icon indicating copy to clipboard operation
kepler.gl copied to clipboard

[Bug] Line breaks in GeoJSON desc tag not displayed in GUI

Open simon-techkid opened this issue 2 years ago • 0 comments

Describe the bug When interpreting a GeoJSON in Kepler, the tooltip for each Feature (Point) does not display LF, CRLF, or CR line feeds in the GUI

To Reproduce Steps to reproduce the behavior:

  1. Import a GeoJSON containing a feature with a "desc" tag that has line breaks in the defined string
  2. Hover over the point, until the tooltip is displayed containing its name, description, and time
  3. See that any line breaks defined in the GeoJSON are not accounted for in the GUI tooltip

Expected behavior The tooltip should expand to allow room for the additional lines of content

Screenshots The lines are portrayed in the source code: Code

But not in the GUI depiction: Breaks

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome 117
  • Version Keplergl 2.5.5

Additional context

I understand that the GeoJSON format does not support line breaks. This is fine. The source file may be converted from GPX or other formats that do.

simon-techkid avatar Oct 10 '23 04:10 simon-techkid