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

add shape annotation reordering API #1728

Open
incanus opened this issue Jun 16, 2015 · 5 comments
Open

add shape annotation reordering API #1728

incanus opened this issue Jun 16, 2015 · 5 comments
Labels
annotations Annotations on iOS and macOS or markers on Android Core The cross-platform C++ core, aka mbgl feature
Milestone

Comments

@incanus
Copy link
Contributor

incanus commented Jun 16, 2015

Punted from #1655. Should be as simple as updating AnnotationManager::orderedShapeAnnotations, which affects the order of shape layers returned from getTile().

@akbsteam
Copy link

is there a timeline for this feature?

@1ec5
Copy link
Contributor

1ec5 commented Sep 30, 2016

Note that this issue tracks an API for arbitrarily reordering non-view-backed point shape annotations. We don’t currently have a timeline for this feature, but pull requests are more than welcome.

View-backed annotations automatically come to the front as of #5264 (iOS) and #5294 (Android). It’s also possible to arbitrarily reorder view-backed annotations on iOS: see #5287 (comment) for an example. #5238 tracks an API for arbitrarily reordering view-backed annotations on Android.

Meanwhile, in the coming Android SDK v4.2.0 (currently in beta) and iOS SDK v3.4.0 (in alpha), the runtime styling API offers an alternative to annotations. You can arbitrarily order a style layer above or below any other style layer, even beneath parts of the base map like labels.

Hopefully the improvements in view-backed annotations and runtime styling meet your needs. If not, we’d love to hear about your specific use cases, to inform the improvements we make going forward.

Edit: Clarified based on #1728 (comment).

@incanus
Copy link
Contributor Author

incanus commented Sep 30, 2016

No, this issue was originally for polygon annotation reordering on the fly.

@incanus incanus changed the title add annotation reordering API add shape annotation reordering API Sep 30, 2016
@kkaefer kkaefer added annotations Annotations on iOS and macOS or markers on Android Core The cross-platform C++ core, aka mbgl labels May 30, 2017
@jfirebaugh jfirebaugh marked this as a duplicate of #9623 Jul 26, 2017
@Xgamefactory
Copy link

Xgamefactory commented Sep 22, 2018

these are simple and base features that every map sdks have like google,apple mapkit,heremaps event mapbox ios sdk.

There is ugly alternative for markers like markerView in android but nothing for polylines,polygones.
These features should be in Annotation abstract class including visibility method.

@stale stale bot added the archived Archived because of inactivity label Mar 21, 2019
@stale
Copy link

stale bot commented Mar 21, 2019

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this as completed Mar 21, 2019
@friedbunny friedbunny reopened this Mar 21, 2019
@stale stale bot removed the archived Archived because of inactivity label Mar 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
annotations Annotations on iOS and macOS or markers on Android Core The cross-platform C++ core, aka mbgl feature
Projects
None yet
Development

No branches or pull requests

6 participants