Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

How to set z-ordering for annotations #1700

Closed
picciano opened this issue Jun 9, 2015 · 3 comments
Closed

How to set z-ordering for annotations #1700

picciano opened this issue Jun 9, 2015 · 3 comments

Comments

@picciano
Copy link

picciano commented Jun 9, 2015

How is the z-ordering for annotations determined? I have tried adding certain annotations first and last, but each time they seem to end up below the other annotations. Is there are way to control this from the client app?

In this case, I am trying to put the larger marker with the gradient on top of the smaller green dots.

ios simulator screen shot jun 9 2015 5 24 14 pm

@friedbunny
Copy link
Contributor

@ansis's new labeling and z-indexing y-ordering (#1666) should have annotations being ordered left-to-right, top-to-bottom (bottom-right being at the very top). Fairly sure we haven't done anything around custom z-indexes yet, but we'll have to.

@incanus
Copy link
Contributor

incanus commented Jun 10, 2015

Related: #991

Prior art: mapbox/DEPRECATED-mapbox-ios-sdk#491

@jfirebaugh
Copy link
Contributor

Also #1728.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants