From bcc0e9760fd82db35a444cffff601f1dcab9e2fa Mon Sep 17 00:00:00 2001 From: Tristen Brown Date: Wed, 7 Feb 2024 14:01:22 -0500 Subject: [PATCH] Spec changes to reflect raster-array behavior (#13072) --- src/style-spec/reference/v8.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/style-spec/reference/v8.json b/src/style-spec/reference/v8.json index 76cef8e24e8..26d1099794e 100644 --- a/src/style-spec/reference/v8.json +++ b/src/style-spec/reference/v8.json @@ -1227,7 +1227,7 @@ }, "source-layer": { "type": "string", - "doc": "Layer to use from a vector tile source. Required for vector tile sources; prohibited for all other source types, including GeoJSON sources." + "doc": "Layer to use from a vector tile source. Required for vector and raster-array sources; prohibited for all other source types, including GeoJSON sources." }, "slot": { "type": "string", @@ -7615,7 +7615,12 @@ "required": false, "property-type": "data-constant", "transition": false, - "doc": "Displayed band of raster array source layer", + "requires": [ + { + "source": "raster-array" + } + ], + "doc": "Displayed band of raster array source layer. Defaults to the first band if not set.", "example": "band-name", "sdk-support": { "basic functionality": {