Skip to main content Link Search Menu Expand Document (external link)

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Widgets

ScaleBarWidget Class

The ScaleBar widget displays a scale bar on the map or in a specified HTML node. The widget respects various coordinate systems and displays units in metric or non-metric values. Metric values shows either kilometers or meters depending on the scale, and likewise non-metric values shows miles and feet depending on the scale.
ArcGIS JS API

public class ScaleBarWidget : dymaptic.GeoBlazor.Core.Components.Widgets.Widget

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Widget 🡒 ScaleBarWidget

Properties

ScaleBarWidget.Unit Property

Units to use for the scale bar

public System.Nullable<dymaptic.GeoBlazor.Core.Components.Widgets.ScaleUnit> Unit { get; set; }

Property Value

System.Nullable<ScaleUnit>

ScaleBarWidget.WidgetType Property

The type of widget

public override string WidgetType { get; }

Property Value

System.String