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

Show and hide the scale bar dynamically while zooming #1812

Open
fawzirifai opened this issue Dec 18, 2022 · 4 comments
Open

Show and hide the scale bar dynamically while zooming #1812

fawzirifai opened this issue Dec 18, 2022 · 4 comments
Labels
feature 🍏 When working on a new feature or feature enhancement

Comments

@fawzirifai
Copy link

I just want to show the scale bar while the user is zooming. And when the user stops zooming I want the scale bar to be hidden, like Apple Maps and Google Maps.

@pjleonard37
Copy link
Contributor

Thanks for this feature request @fawzirifai.

@pjleonard37 pjleonard37 added the feature 🍏 When working on a new feature or feature enhancement label Feb 8, 2023
@aokruan
Copy link

aokruan commented Mar 16, 2023

We need the ability to manually disable this feature.

@OdNairy
Copy link
Contributor

OdNairy commented Mar 16, 2023

@aokruan Pull requests are welcome 👍

@aokruan
Copy link

aokruan commented Apr 20, 2023

@fawzirifai you can use it:

self.mapView.ornaments.options.scaleBar.visibility = .hidden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🍏 When working on a new feature or feature enhancement
Projects
None yet
Development

No branches or pull requests

4 participants