You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Feature querying should return existing annotations #6178
When the feature querying API detects a feature in an annotation layer, it should somehow return the MGLAnnotation object that the feature represents – that is, the same MGLAnnotation object that was added to the map to place the feature on the map.
This also includes annotations that happened to conform to MGLFeature — the additional identifier and attributes properties will not be persisted if such an object is added as an annotation.
To make full use of MGLFeature-conforming annotations, instead add them to the map using the runtime styling API.
This also includes annotations that happened to conform to MGLFeature — the additional identifier and attributes properties will not be persisted if such an object is added as an annotation.
This will become apparent to the developer at compile time once we fix #7454.
Activity
1ec5 commentedon Feb 13, 2017
In particular, the returned feature must not be tiled. Otherwise, the developer will immediately run into a roadblock: #6538.
friedbunny commentedon Jul 18, 2017
This also includes annotations that happened to conform to
MGLFeature— the additionalidentifierandattributesproperties will not be persisted if such an object is added as an annotation.To make full use of
MGLFeature-conforming annotations, instead add them to the map using the runtime styling API.1ec5 commentedon Jul 19, 2017
This will become apparent to the developer at compile time once we fix #7454.
stale commentedon Dec 1, 2018
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
1ec5 commentedon Mar 8, 2019
Still needed as a prerequisite for #6181.
stale commentedon Sep 4, 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 commentedon May 22, 2020
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.