GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
CoordinateSegment Class
A coordinate segment represents one piece of a coordinate string.
ArcGIS Maps SDK for JavaScript
public class CoordinateSegment : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 CoordinateSegment
Constructors
CoordinateSegment() Constructor
Parameterless constructor for use as a Razor Component.
public CoordinateSegment();
CoordinateSegment(string, string, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public CoordinateSegment(string? alias=null, string? description=null, string? searchPattern=null);
Parameters
alias
System.String
A string that provides the name for this segment of a coordinate string.
ArcGIS Maps SDK for JavaScript
description
System.String
A string that describes the role of this segment.
ArcGIS Maps SDK for JavaScript
searchPattern
System.String
A regular expression that should extract this segment from the complete coordinate.
ArcGIS Maps SDK for JavaScript
Properties
CoordinateSegment.Alias Property
A string that provides the name for this segment of a coordinate string.
ArcGIS Maps SDK for JavaScript
public string? Alias { get; set; }
Property Value
CoordinateSegment.Description Property
A string that describes the role of this segment.
ArcGIS Maps SDK for JavaScript
public string? Description { get; set; }
Property Value
CoordinateSegment.SearchPattern Property
A regular expression that should extract this segment from the complete coordinate.
ArcGIS Maps SDK for JavaScript
public string? SearchPattern { get; set; }
Property Value
Methods
CoordinateSegment.GetAlias() Method
Asynchronously retrieve the current value of the Alias property.
public System.Threading.Tasks.Task<string?> GetAlias();
Returns
System.Threading.Tasks.Task<System.String>
CoordinateSegment.GetDescription() Method
Asynchronously retrieve the current value of the Description property.
public System.Threading.Tasks.Task<string?> GetDescription();
Returns
System.Threading.Tasks.Task<System.String>
CoordinateSegment.GetSearchPattern() Method
Asynchronously retrieve the current value of the SearchPattern property.
public System.Threading.Tasks.Task<string?> GetSearchPattern();
Returns
System.Threading.Tasks.Task<System.String>
CoordinateSegment.SetAlias(string) Method
Asynchronously set the value of the Alias property after render.
public System.Threading.Tasks.Task SetAlias(string? value);
Parameters
value
System.String
The value to set.
Returns
CoordinateSegment.SetDescription(string) Method
Asynchronously set the value of the Description property after render.
public System.Threading.Tasks.Task SetDescription(string? value);
Parameters
value
System.String
The value to set.
Returns
CoordinateSegment.SetSearchPattern(string) Method
Asynchronously set the value of the SearchPattern property after render.
public System.Threading.Tasks.Task SetSearchPattern(string? value);
Parameters
value
System.String
The value to set.