Skip to content
Discussion options

You must be logged in to vote

It's confusing, but placement is done front-to-back (B, then A). Rendering is then done back-to-front (A, then B). The last layer in the JSON (B, here) is in front, and thus has priority for placement.

You get the same behavior using the old icon-allow-overlap property. Indeed, "icon-allow-overlap": true maps to "icon-overlap": "always", and "icon-allow-overlap": false maps to "icon-overlap": never.

So I believe the example is working as expected.

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@HarelM
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@drwestco
Comment options

Answer selected by lhapaipai
@HarelM
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants