dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
LOD Class
A TileLayer has a number of LODs (Levels of Detail).
ArcGIS Maps SDK for JavaScript
public class LOD : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 LOD
Constructors
LOD() Constructor
Parameterless constructor for use as a Razor Component.
public LOD();
LOD(Nullable, string, Nullable, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public LOD(System.Nullable<int> level=null, string? levelValue=null, System.Nullable<double> resolution=null, System.Nullable<double> scale=null);
Parameters
level
System.Nullable<System.Int32>
ID for each level.
ArcGIS Maps SDK for JavaScript
levelValue
System.String
String to be used when constructing a URL to access a tile from this LOD.
ArcGIS Maps SDK for JavaScript
resolution
System.Nullable<System.Double>
Resolution in map units of each pixel in a tile for each level.
ArcGIS Maps SDK for JavaScript
scale
System.Nullable<System.Double>
Scale for each level.
ArcGIS Maps SDK for JavaScript
Properties
LOD.Level Property
ID for each level.
ArcGIS Maps SDK for JavaScript
public System.Nullable<int> Level { get; set; }
Property Value
LOD.LevelValue Property
String to be used when constructing a URL to access a tile from this LOD.
public string? LevelValue { get; set; }
Property Value
LOD.Resolution Property
Resolution in map units of each pixel in a tile for each level.
public System.Nullable<double> Resolution { get; set; }
Property Value
System.Nullable<System.Double>
LOD.Scale Property
Scale for each level.
public System.Nullable<double> Scale { get; set; }
Property Value
System.Nullable<System.Double>
Methods
LOD.GetLevel() Method
Asynchronously retrieve the current value of the Level property.
public System.Threading.Tasks.Task<System.Nullable<int>> GetLevel();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Int32>>
LOD.GetLevelValue() Method
Asynchronously retrieve the current value of the LevelValue property.
public System.Threading.Tasks.Task<string?> GetLevelValue();
Returns
System.Threading.Tasks.Task<System.String>
LOD.GetResolution() Method
Asynchronously retrieve the current value of the Resolution property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetResolution();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
LOD.GetScale() Method
Asynchronously retrieve the current value of the Scale property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetScale();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
LOD.SetLevel(Nullable) Method
Asynchronously set the value of the Level property after render.
public System.Threading.Tasks.Task SetLevel(System.Nullable<int> value);
Parameters
value
System.Nullable<System.Int32>
The value to set.
Returns
LOD.SetLevelValue(string) Method
Asynchronously set the value of the LevelValue property after render.
public System.Threading.Tasks.Task SetLevelValue(string? value);
Parameters
value
System.String
The value to set.
Returns
LOD.SetResolution(Nullable) Method
Asynchronously set the value of the Resolution property after render.
public System.Threading.Tasks.Task SetResolution(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
LOD.SetScale(Nullable) Method
Asynchronously set the value of the Scale property after render.
public System.Threading.Tasks.Task SetScale(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.