keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.25k stars 1.72k forks source link

[Bug] When value filter is applied the legend scale is not TRUE #1302

Open xsherlockpl opened 3 years ago

xsherlockpl commented 3 years ago

When apply the legend filter on the geocoded point with value (ex. signal level)

To Reproduce Steps to reproduce the behavior:

  1. Load data.
  2. Open legend - notice the color to value ranges
  3. Apply value filter.
  4. Filtered points disapear from the map. Colors of the points left on the map do not change (good behavior) color legend updates in realtime with the filter applied and is now NOT TRUE to the points on the map.

Expected behavior The legend should not change (prefered), or the should be the option on the legend to update the legend or keep the legend from the whole data set.

Screenshots See red point is -79 when inspected with a tooltip and on the legend it is marked as green.

* 2020-10-22 11_25_37-Window

xsherlockpl commented 3 years ago

Still exists in 2.4 that just got released. While testing I have noticed another inconsistency how filters get applied and legends are updated. Point and Hexbin layers behave difrently in that respect, with hexbin layer being updated realtime on the map to reflect the legend and point layer not.

image

That show it with both layers displaying the same data on both layers. -66 is orange on the hexbin layer true to the legend, but the same individual points that do that hex, are green despite being -66 as well. That is in opposition of the point legend that got updated and shows -66 should be orange.

I think that should be a user option on the way the filter is applied, and legend should always be true to the points on the map. Fixed legends I have seen are being done as well in some other post that could also be a solution.

sinannoureddine commented 1 year ago

This is a major bug! I'm surprised no one replied on that issue :(