mapbox-maps-ios
mapbox-maps-ios copied to clipboard
Show and hide the scale bar dynamically while zooming
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.
Thanks for this feature request @fawzirifai.
We need the ability to manually disable this feature.
@aokruan Pull requests are welcome 👍
@fawzirifai you can use it:
self.mapView.ornaments.options.scaleBar.visibility = .hidden