mapbox / mapbox/mapbox-gl-js

"in" examples all use deprecated syntax

Open
#11,847 3 comments 0 reactions 0 assignees View on GitHub
docs :scroll:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

All 4 examples of the `['in', ...]` operator use the deprecated syntax, not expressions.

Eg: https://docs.mapbox.com/mapbox-gl-js/example/using-box-queryrenderedfeatures/

> `'filter': ['in', 'FIPS', '']`

Contributor guide

Open the contributing guide

Research direction

Start with the linked using-box-queryrenderedfeatures example and search the documentation for all four examples using the deprecated `['in', ...]` syntax. Update those examples to use expressions, then verify that each example reflects the current operator syntax.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.