Skip to content

Commit

Permalink
Improve documentation for feature-state expression in style-spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Asheem Mamoowala authored and jfirebaugh committed May 31, 2018
1 parent bea98a9 commit 6255e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style-spec/reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -2606,7 +2606,7 @@
}
},
"feature-state": {
"doc": "Retrieves a property value from the current feature's state. Returns null if the requested property is not present on the feature's state object.",
"doc": "Retrieves a property value from the current feature's state. Returns null if the requested property is not present on the feature's state. A feature's state is not part of the GeoJSON or vector tile data, and must be set programmatically on each feature. Note that [\"feature-state\"] can only be used with paint properties that support data-driven styling.",
"group": "Feature data",
"sdk-support": {
"basic functionality": {
Expand Down

0 comments on commit 6255e9e

Please sign in to comment.