diff --git a/src/style-spec/reference/v8.json b/src/style-spec/reference/v8.json index c5d8ae0bbba..750fe4ca0f6 100644 --- a/src/style-spec/reference/v8.json +++ b/src/style-spec/reference/v8.json @@ -177,6 +177,10 @@ "type": "string", "doc": "Contains an attribution to be displayed when the map is shown to a user." }, + "promoteId": { + "type": "promoteId", + "doc": "A property to use as a feature id (for feature state). Either a property name, or an object of the form `{: }`. If specified as a string for a vector tile source, the same property is used across all its source layers." + }, "*": { "type": "*", "doc": "Other keys to configure the data source." @@ -317,10 +321,6 @@ "default": "mapbox", "doc": "The encoding used by this source. Mapbox Terrain RGB is used by default" }, - "promoteId": { - "type": "promoteId", - "doc": "A property to use as a feature id (for feature state). Either a property name, or an object of the form `{: }`." - }, "*": { "type": "*", "doc": "Other keys to configure the data source." @@ -5786,5 +5786,11 @@ "type": "property-type", "doc": "Property is constant across all zoom levels and property values." } + }, + "promoteId": { + "*": { + "type": "string", + "doc": "A name of a feature property to use as ID for feature state." + } } }