Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] #13296

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/style-spec/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapbox/mapbox-gl-style-spec",
"version": "14.7.0",
"version": "14.7.1",
"description": "a specification for mapbox gl styles",
"author": "Mapbox",
"license": "SEE LICENSE IN LICENSE.txt",
Expand Down
4 changes: 4 additions & 0 deletions src/style-spec/reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@
},
"featureset": {
"experimental": true,
"metadata": {
"type": "*",
"doc": "Arbitrary properties useful to track with the stylesheet, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."
},
"selectors": {
"type": "array",
"value": "selector",
Expand Down
1 change: 1 addition & 0 deletions src/style-spec/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export type FeaturesetsSpecification = {
* @experimental This is experimental and subject to change in future versions.
*/
export type FeaturesetSpecification = {
"metadata"?: unknown,
"selectors"?: Array<SelectorSpecification>
}

Expand Down
Loading