layout: default title: MeasurementWidget parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Widgets

MeasurementWidget Class

The Image Measurement widget allows you to perform measurements on image services with mensuration capability.
Mensuration is a method of applying geometric rules to find length of lines, area of surfaces, or volume using information obtained
from lines and angles. It can also include measuring the height and absolute location of a feature.
ArcGIS Maps SDK for JavaScript

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

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

Properties

MeasurementWidget.ActiveTool Property

Specifies the current measurement tool to display.

public System.Nullable<dymaptic.GeoBlazor.Core.Components.ActiveTool> ActiveTool { get; set; }

Property Value

System.Nullable<ActiveTool>

MeasurementWidget.AreaUnit Property

Unit system (imperial, metric) or specific unit used for displaying the area values.

public System.Nullable<dymaptic.GeoBlazor.Core.Objects.AreaUnit> AreaUnit { get; set; }

Property Value

System.Nullable<AreaUnit>

MeasurementWidget.Label Property

The widget’s default label.

public string? Label { get; set; }

Property Value

System.String

MeasurementWidget.LinearUnit Property

Unit system (imperial, metric) or specific unit used for displaying the distance values.

public System.Nullable<dymaptic.GeoBlazor.Core.Objects.LengthUnit> LinearUnit { get; set; }

Property Value

System.Nullable<LengthUnit>

MeasurementWidget.MeasurementWidgetObjectReference Property

A .NET object reference for calling this class from JavaScript.

public Microsoft.JSInterop.DotNetObjectReference<dymaptic.GeoBlazor.Core.Components.Widgets.MeasurementWidget> MeasurementWidgetObjectReference { get; }

Property Value

Microsoft.JSInterop.DotNetObjectReference<MeasurementWidget>

MeasurementWidget.WidgetType Property

The type of widget

public override string WidgetType { get; }

Property Value

System.String