Scale Control This sample shows how to create a scale bar control that can be added to the map. This sample is loading two scale bars, one with units set to imperial and the other to metric.