Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to adjust size of the compass in mapview for IOS SDK #4206

Closed
BlandHite opened this issue Oct 20, 2022 · 1 comment
Closed

How to adjust size of the compass in mapview for IOS SDK #4206

BlandHite opened this issue Oct 20, 2022 · 1 comment

Comments

@BlandHite
Copy link

How to adjust size of the compass in mapview for IOS SDK

Use MapboxNavigation 2.5.0, I can change the position,but I don't know how to change size

@evil159
Copy link

evil159 commented Oct 21, 2022

@BlandHite You can affect the compass size by providing a custom image for the compass view:

mapView.ornaments.options.compass.image = UIImage(systemName: "safari")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants