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] - Error with circle display when filtering only one location #54

Closed valentinvdb closed 1 year ago

valentinvdb commented 1 year ago

Describe the bug When showing several locations with the circle display and a data field for the size of the circles everything works as expected. If I filter only one item (location) using a slicer, then I get an error "layers.circle.paint.circle-radius[5]: Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order."

To Reproduce Steps to reproduce the behavior:

Expected behavior The map should zoom in on the location, and show one circle.

Screenshots Before filtering items: Screenshot 2023-01-23 at 11 42 39

When filtering only one item: Screenshot 2023-01-23 at 11 42 26