Skip to content

Commit

Permalink
Revert "Update description for top slot (#12937)" (#12945)
Browse files Browse the repository at this point in the history
This reverts commit 09cbc98.
  • Loading branch information
stepankuzmin authored Oct 24, 2023
1 parent 09cbc98 commit ca554ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions MIGRATION_GUIDE_v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,9 @@ 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
`top` | 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.

```js
map.addLayer({
Expand Down

0 comments on commit ca554ae

Please sign in to comment.