starschema / mapboxgl-powerbi

Mapbox Visual for Power BI - High performance, custom map visuals for Power BI dashboards
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381472?tab=Overview
MIT License
34 stars 9 forks source link

[BUG] - Tooltip fields stacking incorrectly #72

Open Storm2831 opened 1 year ago

Storm2831 commented 1 year ago

Describe the bug Tooltips stack fields by field and then by record data instead of the other way around. So, if you have multiple fields in the tooltip section, it will look like this:

Field 1 Data 1 Field 1 Data 2 Field 1 Data 3 Field 2 Data 1 Field 2 Data 2 Field 2 Data 3

...instead of:

Field 1 Data 1 Field 2 Data 1 Field 1 Data 2 Field 2 Data 2 Field 1 Data 3 Field 2 Data 3

To Reproduce Steps to reproduce the behavior:

  1. Add two or more fields to the tooltips
  2. Mouse over circle on the map

Expected behavior The tooltips should stack according to the row of data rather than the fields. If the circles overlap, you get a stack of data in field order, which is not useful.

Screenshots image

Additional context The tooltips worked properly in 1.5 and broke some time thereafter.

Storm2831 commented 8 months ago

This continues to be an issue in v1.7.40.