mapbox / mapbox/mapbox-gl-js

[customer feedback] Add related examples to "filter" functionality on geoJson source (style spec)

Open
#10,843 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs :scroll: service-maps
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

Sentry Issue: [DOCS-FEEDBACK-4AN](https://sentry.io/organizations/mapboxcom/issues/2503714038/?referrer=github_integration)

`"filter" functionality on geoJson sources needs examples to be useful - I spent a while assuming that it would work in the same fashion as the layers for filtering geometry-type, it's not clear from *this* particular page how flexible it can be.`

* page: https://docs.mapbox.com/mapbox-gl-js/style-spec/sources/
* site: Mapbox GL JS
* section: undefined
* helpful: False

*This feedback was submitted by a user through the feedback widget. Please close if this issue is not actionable given the provided details.*

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Mapbox GL JS style-spec sources page and review the GeoJSON source filter documentation, especially how it differs from layer filtering. Add related examples that show the supported flexibility clearly; the page should let readers understand how to use the filter functionality without making assumptions from layer filters.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.