Skip To Content

Scalebar widget

The Scalebar widget displays a scalebar on the map. The widget respects various coordinate systems and displays units in English or metric values. When working with Web Mercator or geographic coordinate systems, the scalebar takes into account projection distortion and dynamically adjusts.

Configuring the Scalebar widget

  1. Hover the mouse over the Scalebar widget and click the small eye icon Show or hide widget to show or hide this widget in your application .
  2. Hover the mouse over the Scalebar widget and click the small edit icon edit icon to open the configuration window.
  3. Choose one of the following units:
    • english
    • metric
    • dual
  4. Choose one of the following styles:
    • line
    • ruler
  5. Note:

    The dual unit is only supported by line style.

  6. Click OK to save the configuration and close the window.

Using the Scalebar widget

When the application starts, the Scalebar widget is automatically enabled and displayed at the lower left corner of the application. It is updated dynamically when the map's scale changes.

Metric_ruler
Dual_line