Solved Resize Scalebar on Zoomin or Zoom out
-
I have a scale bar displayed in the ARCGIS map with QML and i need to resize this scale bar when ever i zoom in and zoom out.
This is how i am setting scalebar in Mapview
ScaleBar{ anchors.left: mapView.left anchors.bottom: mapView.bottom anchors.bottomMargin: 80 anchors.margins: 10 * scaleFactor map:mapView }
How can i resize scalebar just like it works in googlemaps.
-
Got solution by setting map.scale to the width of scale bar