mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Show and hide the scale bar dynamically while zooming

Open fawzirifai opened this issue 2 years ago • 4 comments

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.

fawzirifai avatar Dec 18 '22 09:12 fawzirifai

Thanks for this feature request @fawzirifai.

pjleonard37 avatar Feb 08 '23 18:02 pjleonard37

We need the ability to manually disable this feature.

aokruan avatar Mar 16 '23 09:03 aokruan

@aokruan Pull requests are welcome 👍

OdNairy avatar Mar 16 '23 10:03 OdNairy

@fawzirifai you can use it:

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

aokruan avatar Apr 20 '23 03:04 aokruan