dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

AreaMeasurement2DViewModelMeasurement Class

The area and perimeter of the measurement polygon in square meters and meters respectively.
ArcGIS Maps SDK for JavaScript

public class AreaMeasurement2DViewModelMeasurement : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 AreaMeasurement2DViewModelMeasurement

Constructors

AreaMeasurement2DViewModelMeasurement() Constructor

Parameterless constructor for use as a Razor Component.

public AreaMeasurement2DViewModelMeasurement();

AreaMeasurement2DViewModelMeasurement(Nullable, Polygon, Nullable) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public AreaMeasurement2DViewModelMeasurement(System.Nullable<double> area=null, dymaptic.GeoBlazor.Core.Components.Geometries.Polygon? geometry=null, System.Nullable<double> perimeter=null);

Parameters

area System.Nullable<System.Double>

The area (m²).
ArcGIS Maps SDK for JavaScript

geometry Polygon

Measurement area.
ArcGIS Maps SDK for JavaScript

perimeter System.Nullable<System.Double>

The perimeter (m).
ArcGIS Maps SDK for JavaScript

Properties

AreaMeasurement2DViewModelMeasurement.Area Property

The area (m²).
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> Area { get; set; }

Property Value

System.Nullable<System.Double>

AreaMeasurement2DViewModelMeasurement.Geometry Property

Measurement area.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Geometries.Polygon? Geometry { get; set; }

Property Value

Polygon

AreaMeasurement2DViewModelMeasurement.Perimeter Property

The perimeter (m).
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> Perimeter { get; set; }

Property Value

System.Nullable<System.Double>

Methods

AreaMeasurement2DViewModelMeasurement.GetArea() Method

Asynchronously retrieve the current value of the Area property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetArea();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

AreaMeasurement2DViewModelMeasurement.GetGeometry() Method

Asynchronously retrieve the current value of the Geometry property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Polygon?> GetGeometry();

Returns

System.Threading.Tasks.Task<Polygon>

AreaMeasurement2DViewModelMeasurement.GetPerimeter() Method

Asynchronously retrieve the current value of the Perimeter property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetPerimeter();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

AreaMeasurement2DViewModelMeasurement.SetArea(Nullable) Method

Asynchronously set the value of the Area property after render.

public System.Threading.Tasks.Task SetArea(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

AreaMeasurement2DViewModelMeasurement.SetGeometry(Polygon) Method

Asynchronously set the value of the Geometry property after render.

public System.Threading.Tasks.Task SetGeometry(dymaptic.GeoBlazor.Core.Components.Geometries.Polygon? value);

Parameters

value Polygon

The value to set.

Returns

System.Threading.Tasks.Task

AreaMeasurement2DViewModelMeasurement.SetPerimeter(Nullable) Method

Asynchronously set the value of the Perimeter property after render.

public System.Threading.Tasks.Task SetPerimeter(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

AreaMeasurement2DViewModelMeasurement.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()