Hi All
I am using a scalebar in my map to show zoom in/out level. Currently it is showing mi which I presume it stands for miles and ft which I presume it stands for feet. I am based in South Africa and I need to use the metric system how do I do that?
ScaleBar code:
var scaleBar = new ScaleBar({
view: view
});
// Add widget to the bottom left corner of the view
view.ui.add(scaleBar, {
position: "bottom-left"
});
This how it currently show

and

Kind Regards
Siyabonga Kubeka