[maps] clean up feature-state usage #155302
Labels
discuss
Feature:Maps
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:large
Large Level of Effort
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
technical debt
Improvement of the software architecture and operational architecture
Maplibre feature-state can be used for 2 use cases:
Maps currently uses both use cases. I propose only using feature state for data-joins, meaning, feature-state will only be used for adding data-joins properties to vector sources.
Reasons:
fast interactions
use case. Thefast interactions
use case usually involves updating styling based on user interactions, for example, changing feature styling on hover. Maps does not perform this type of style updates on user interactions.fast interactions
use case only supports Geojson sources. Geojson sources are no longer the default (as of 8.0). Maps long term goal is to only use vector tiles for elasticsearch data. Why maintain all this code complexity for a method that we are trying to move away from?The text was updated successfully, but these errors were encountered: