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

MGLPointAnnotation bearing / rotation #2929

Closed
iCyberon opened this issue Nov 4, 2015 · 5 comments
Closed

MGLPointAnnotation bearing / rotation #2929

iCyberon opened this issue Nov 4, 2015 · 5 comments
Labels
feature iOS Mapbox Maps SDK for iOS

Comments

@iCyberon
Copy link

iCyberon commented Nov 4, 2015

Hey guys,

I'm tying to set the bearing or rotate the MGLPointAnnotation. Any suggestions? Also, when I rotate the map, markers automatically rotate, is there any way to disable this behavior?

@incanus
Copy link
Contributor

incanus commented Nov 4, 2015

This translates to icon-rotation-alignment and icon-rotate under the hood in the style. I think this will lean on #837, which is in active development, but will need to be plumbed through to the annotations API for such functionality.

@incanus incanus added feature iOS Mapbox Maps SDK for iOS labels Nov 4, 2015
@1ec5
Copy link
Contributor

1ec5 commented Nov 4, 2015

Also relates to #2528.

@iCyberon
Copy link
Author

Hey guys, any news?

cc @1ec5 @incanus

@1ec5
Copy link
Contributor

1ec5 commented Nov 28, 2015

@iCyberon, we’re actively working on #837. Once that work is finished and we have an Objective-C API for runtime style manipulation, you’ll be able to configure point annotations in a number of ways.

@friedbunny
Copy link
Contributor

Runtime styling exists now — please use that if you require icon rotation.

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

No branches or pull requests

4 participants