GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

ConversionInfo Class

This object describes how a Format should be projected and formatted for display.
ArcGIS Maps SDK for JavaScript

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

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 ConversionInfo

Constructors

ConversionInfo() Constructor

Parameterless constructor for use as a Razor Component.

public ConversionInfo();

ConversionInfo(ConvertFunction, ReverseConvertFunction) Constructor

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

public ConversionInfo(dymaptic.GeoBlazor.Core.Functions.ConvertFunction? convert=null, dymaptic.GeoBlazor.Core.Functions.ReverseConvertFunction? reverseConvert=null);

Parameters

convert dymaptic.GeoBlazor.Core.Functions.ConvertFunction

A function that takes a point and returns a position.
ArcGIS Maps SDK for JavaScript

reverseConvert dymaptic.GeoBlazor.Core.Functions.ReverseConvertFunction

A function that takes a string and returns a Point.
ArcGIS Maps SDK for JavaScript

Properties

ConversionInfo.Convert Property

A function that takes a point and returns a position.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Functions.ConvertFunction? Convert { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Functions.ConvertFunction

ConversionInfo.HasConvert Property

A convenience property that signifies whether a custom Convert function was registered.

public bool HasConvert { get; }

Property Value

System.Boolean

ConversionInfo.HasReverseConvert Property

A convenience property that signifies whether a custom ReverseConvert function was registered.

public bool HasReverseConvert { get; }

Property Value

System.Boolean

ConversionInfo.ReverseConvert Property

A function that takes a string and returns a Point.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Functions.ReverseConvertFunction? ReverseConvert { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Functions.ReverseConvertFunction