webgl layer.getFeatures Unimplemented
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 32/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- frontend, performance, web-dev
Research direction
The issue names map.forEachFeatureAtPixel and layer.getFeatures(), but no source file or test. Start by tracing those APIs in the OpenLayers source and reproducing the throttled pointermove case with OL 10.7 in Chrome 143. Done is undefined until a specific performance fix or getFeatures implementation is agreed.
Written by the indexing model from the issue text.
Description
I’m using map.forEachFeatureAtPixel inside a throttled pointermove event handler to retrieve features at a pixel.
Even with throttling, I still see [Violation] 'setTimeout' handler took ms warnings, and there is noticeable lag when dragging or panning the map.
I attempted to use layer.getFeatures() instead, but it’s not implemented in this context.
Are there recommended alternatives to forEachFeatureAtPixel for better performance?
I'm using OL 10.7 and Chrome 143
- Dominant language
- JavaScript
- Stars
- 12.6k
- Forks
- 3.2k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openlayers/openlayers
-
feature request
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
openlayers/openlayers#17736 · 1 comment ·
Maintainers usually reply within 1 day
-
GeoJSON: a feature read with a null geometry is written with "geometry": null in its propertiesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
openlayers/openlayers#17732 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
openlayers/openlayers#17648 · 2 comments · 3 reactions ·
Maintainers usually reply within 1 day
-
feature request
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
openlayers/openlayers#17145 ·
Maintainers usually reply within 1 day
-
feature request
Difficulty 1/5 Under an hour Newbie friendliness 70/100
openlayers/openlayers#16410 ·
Maintainers usually reply within 1 day
All issues in openlayers/openlayers
Similar issues
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
coder/claudecode.nvim#588 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
digitalbazaar/http-client#60 ·
-
Selectmenu changes selection after its native select is disabled while openPossibly taken @Xapollon430 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Ruby: The link in the Blocks lesson points to an external article that isn't at that address anymoreOpen
Difficulty 1/5 Under an hour Newbie friendliness 84/100
TheOdinProject/curriculum#31529 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
topmonks/hlidac-shopu#3687 ·
Maintainers usually reply within 1 day