From acaf96f04d92a055ef462d8eafdd53ae9ee0f1d4 Mon Sep 17 00:00:00 2001 From: Taya Lav Date: Wed, 18 Oct 2023 21:06:02 +0300 Subject: [PATCH 1/4] update docs --- MIGRATION_GUIDE_v3.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MIGRATION_GUIDE_v3.md b/MIGRATION_GUIDE_v3.md index 81eba9638cd..4ac34fb7779 100644 --- a/MIGRATION_GUIDE_v3.md +++ b/MIGRATION_GUIDE_v3.md @@ -117,9 +117,10 @@ Slot | Description --- | --- `bottom` | Above polygons (land, landuse, water, etc.) `middle` | Above lines (roads, etc.) and behind 3D buildings -`top` | Above all existing layers in the style +`top` | Above POI labels and behind Place and Transit labels Set the preferred `slot` on the `Layer` object before adding it to your map and your layer will be appropriately placed in the Standard style's layer stack. +If no slot is specified for a custom layer then layers are still placed at the very top of the layer list, providing a location that has highest collision priority compared to all other layers. ```js map.addLayer({ From aa130d64769d4cf53c6d2892c96073425a427a72 Mon Sep 17 00:00:00 2001 From: Taya Lav Date: Thu, 19 Oct 2023 13:36:28 +0300 Subject: [PATCH 2/4] update changelog and decription --- CHANGELOG.md | 1 + MIGRATION_GUIDE_v3.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd093997be8..95312c3830b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ Mapbox GL JS v3 enables the Mapbox Standard Style, a new realistic 3D lighting s ### Bug fixes 🐞 +- Update the `top` slot description in the docs. - Fix collisions when rendering 3D models on top of terrain. - Correct half-texel misalignment in `raster-color` lookup texture sampling. - Fix level of detail selection for models in the distance. diff --git a/MIGRATION_GUIDE_v3.md b/MIGRATION_GUIDE_v3.md index 4ac34fb7779..13ec568d906 100644 --- a/MIGRATION_GUIDE_v3.md +++ b/MIGRATION_GUIDE_v3.md @@ -120,7 +120,7 @@ Slot | Description `top` | Above POI labels and behind Place and Transit labels Set the preferred `slot` on the `Layer` object before adding it to your map and your layer will be appropriately placed in the Standard style's layer stack. -If no slot is specified for a custom layer then layers are still placed at the very top of the layer list, providing a location that has highest collision priority compared to all other layers. +If no slot is specified for a custom layer they are placed at the very top of the layer list, providing a location that has highest collision priority compared to all other layers. ```js map.addLayer({ From 76e9314bcd8eeb55fbfb7b798782f5081e667428 Mon Sep 17 00:00:00 2001 From: Taya Lav Date: Tue, 24 Oct 2023 10:59:53 +0300 Subject: [PATCH 3/4] edit text --- MIGRATION_GUIDE_v3.md | 1 + 1 file changed, 1 insertion(+) diff --git a/MIGRATION_GUIDE_v3.md b/MIGRATION_GUIDE_v3.md index 13ec568d906..ae27b4c5ade 100644 --- a/MIGRATION_GUIDE_v3.md +++ b/MIGRATION_GUIDE_v3.md @@ -118,6 +118,7 @@ Slot | Description `bottom` | Above polygons (land, landuse, water, etc.) `middle` | Above lines (roads, etc.) and behind 3D buildings `top` | Above POI labels and behind Place and Transit labels +not specified | Above all existing layers in the style Set the preferred `slot` on the `Layer` object before adding it to your map and your layer will be appropriately placed in the Standard style's layer stack. If no slot is specified for a custom layer they are placed at the very top of the layer list, providing a location that has highest collision priority compared to all other layers. From 795b9633fc0644db32bceec8b88f73c24c44245c Mon Sep 17 00:00:00 2001 From: Stepan Kuzmin Date: Tue, 24 Oct 2023 11:48:10 +0300 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95312c3830b..fd093997be8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,6 @@ Mapbox GL JS v3 enables the Mapbox Standard Style, a new realistic 3D lighting s ### Bug fixes 🐞 -- Update the `top` slot description in the docs. - Fix collisions when rendering 3D models on top of terrain. - Correct half-texel misalignment in `raster-color` lookup texture sampling. - Fix level of detail selection for models in the distance.