dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

Position Class

Describes a point in terms of a location, a Point, and a coordinate, a string.
ArcGIS Maps SDK for JavaScript

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

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

Constructors

Position() Constructor

Parameterless constructor for use as a Razor Component.

public Position();

Position(string, Point) Constructor

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

public Position(string? coordinate=null, dymaptic.GeoBlazor.Core.Components.Geometries.Point? location=null);

Parameters

coordinate System.String

A string representing the location.
ArcGIS Maps SDK for JavaScript

location Point

A point geometry representing the location described by the conversion.
ArcGIS Maps SDK for JavaScript

Properties

Position.Coordinate Property

A string representing the location.
ArcGIS Maps SDK for JavaScript

public string? Coordinate { get; set; }

Property Value

System.String

Position.Location Property

A point geometry representing the location described by the conversion.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Geometries.Point? Location { get; set; }

Property Value

Point

Methods

Position.GetCoordinate() Method

Asynchronously retrieve the current value of the Coordinate property.

public System.Threading.Tasks.Task<string?> GetCoordinate();

Returns

System.Threading.Tasks.Task<System.String>

Position.GetLocation() Method

Asynchronously retrieve the current value of the Location property.

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

Returns

System.Threading.Tasks.Task<Point>

Position.SetCoordinate(string) Method

Asynchronously set the value of the Coordinate property after render.

public System.Threading.Tasks.Task SetCoordinate(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

Position.SetLocation(Point) Method

Asynchronously set the value of the Location property after render.

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

Parameters

value Point

The value to set.

Returns

System.Threading.Tasks.Task

Position.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()