-
Notifications
You must be signed in to change notification settings - Fork 606
Open
Labels
Description
Currently, GL Draw does not utilize the Feature State API. Starting to use feature state would result in several benefits, such as:
- Reduced flickering, which is currently caused by moving between "hot" and "cold" layers.
- The ability to add hover effects to drawn features (as demonstrated in this example).
- Reduced CPU usage, since
queryRenderedFeatureswould not need to be run for every mouse move. - A potential way to pass
userPropertiesto midpoints and vertices (see Pass userProperties to midpoints and vertices #964 for additional related discussion).
usb248, JamesLMilner, andrewharvey, fwestberg, zakjan and 4 more