Display a map including a scale bar in miles or yards
This example displays a movable map centered over the business district of Boston (42.3572°N, 71.0596°W). The scale bar of the map is displayed in miles, yards or feet dependent upon the zoom level.
setUnitSystem()
method,
and providing one of the H.ui.UnitSystem
enum values.