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

add shape annotation reordering API #1728

Open

Description

@incanus

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

Activity

  1. changed the title [-]add shape annotation reordering API[/-] [+]add annotation reordering API[/+] on Mar 6, 2016
  2. akbsteam commented on Mar 30, 2016

    @akbsteam

    is there a timeline for this feature?

  3. added this to the ios-future milestone on Aug 25, 2016
  4. 1ec5 commented on Sep 30, 2016

    @1ec5
    Contributor

    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).

  5. incanus commented on Sep 30, 2016

    @incanus
    ContributorAuthor

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

  6. changed the title [-]add annotation reordering API[/-] [+]add shape annotation reordering API[/+] on Sep 30, 2016
  7. added
    annotations
    Core
    on May 30, 2017
  8. Xgamefactory commented on Sep 22, 2018

    @Xgamefactory

    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.

  9. added
    archived
    on Mar 21, 2019
  10. stale commented on Mar 21, 2019

    @stale

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

  11. removed
    archived
    on Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Coreannotationsfeature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions