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

[iOS] Disable compass fade when facing north #14942

Closed
chloekraw opened this issue Jun 17, 2019 · 1 comment
Closed

[iOS] Disable compass fade when facing north #14942

chloekraw opened this issue Jun 17, 2019 · 1 comment
Labels
iOS Mapbox Maps SDK for iOS

Comments

@chloekraw
Copy link
Contributor

The default behavior on the Maps SDK fades out the compass when it's facing north. On @mapbox/maps-android, there is a boolean method MapboxMap.getUiSettings().setCompassFadeFacingNorth(false) to disable this fade. The same feature has been requested on iOS so that a developer can choose to always show the compass.

For other fade/animation customization options, we've faced a choice between whether to accept a boolean value or an integer, and the same question applies here. Accepting int is my preference -- it's more flexible because it supports the possibility of a future feature that enables the developer to customize the fade/animation duration, with 0 = disabled.

cc/ @mapbox/maps-ios

@chloekraw chloekraw added the iOS Mapbox Maps SDK for iOS label Jun 17, 2019
@friedbunny
Copy link
Contributor

Duplicate of #9562.

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

No branches or pull requests

2 participants