Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update description for top slot #12937

Merged
merged 4 commits into from
Oct 24, 2023
Merged

Update description for top slot #12937

merged 4 commits into from
Oct 24, 2023

Conversation

tayalav
Copy link
Contributor

@tayalav tayalav commented Oct 18, 2023

Launch Checklist

Updated description for the "top" slot based on recent changes

@tayalav tayalav requested a review from a team as a code owner October 18, 2023 18:11
Copy link

@jcritchley jcritchley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tayalav thanks for doing this! I had one suggestion for wording and looks like you might need to also update the changelog?


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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tayalav we could maybe shorten this sentence?

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.

Copy link
Contributor Author

@tayalav tayalav Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcritchley sure, thanks for the suggestion!

Copy link

@jcritchley jcritchley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Contributor

@stepankuzmin stepankuzmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one nit 👍

CHANGELOG.md Outdated Show resolved Hide resolved
@stepankuzmin stepankuzmin merged commit 09cbc98 into main Oct 24, 2023
29 checks passed
@stepankuzmin stepankuzmin deleted the update-migration-docs branch October 24, 2023 09:28
stepankuzmin added a commit that referenced this pull request Oct 24, 2023
stepankuzmin added a commit that referenced this pull request Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants