dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
InitialViewProperties Class
Represents the initial viewing state of the WebMap when displayed in a MapView. ArcGIS Maps SDK for JavaScript
public class InitialViewProperties : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 InitialViewProperties
Constructors
InitialViewProperties() Constructor
Parameterless constructor for use as a Razor Component.
public InitialViewProperties();
InitialViewProperties(ColorBackground, SpatialReference, string, Viewpoint) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public InitialViewProperties(dymaptic.GeoBlazor.Core.Model.ColorBackground? background=null, dymaptic.GeoBlazor.Core.Components.SpatialReference? spatialReference=null, string? timeZone=null, dymaptic.GeoBlazor.Core.Components.Viewpoint? viewpoint=null);
Parameters
background ColorBackground
The background color of the WebMap. default null ArcGIS Maps SDK for JavaScript
spatialReference SpatialReference
The spatial reference of the WebMap. ArcGIS Maps SDK for JavaScript
timeZone System.String
The initial time zone of the WebMap. ArcGIS Maps SDK for JavaScript
viewpoint Viewpoint
The initial viewpoint of the WebMap. ArcGIS Maps SDK for JavaScript
Properties
InitialViewProperties.Background Property
The background color of the WebMap. default null ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.ColorBackground? Background { get; set; }
Property Value
InitialViewProperties.SpatialReference Property
The spatial reference of the WebMap. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.SpatialReference? SpatialReference { get; set; }
Property Value
InitialViewProperties.TimeZone Property
The initial time zone of the WebMap. ArcGIS Maps SDK for JavaScript
public string? TimeZone { get; set; }
Property Value
InitialViewProperties.Viewpoint Property
The initial viewpoint of the WebMap. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Viewpoint? Viewpoint { get; set; }
Property Value
Methods
InitialViewProperties.GetBackground() Method
Asynchronously retrieve the current value of the Background property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.ColorBackground?> GetBackground();
Returns
System.Threading.Tasks.Task<ColorBackground>
InitialViewProperties.GetSpatialReference() Method
Asynchronously retrieve the current value of the SpatialReference property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.SpatialReference?> GetSpatialReference();
Returns
System.Threading.Tasks.Task<SpatialReference>
InitialViewProperties.GetTimeZone() Method
Asynchronously retrieve the current value of the TimeZone property.
public System.Threading.Tasks.Task<string?> GetTimeZone();
Returns
System.Threading.Tasks.Task<System.String>
InitialViewProperties.GetViewpoint() Method
Asynchronously retrieve the current value of the Viewpoint property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Viewpoint?> GetViewpoint();
Returns
System.Threading.Tasks.Task<Viewpoint>
InitialViewProperties.SetBackground(ColorBackground) Method
Asynchronously set the value of the Background property after render.
public System.Threading.Tasks.Task SetBackground(dymaptic.GeoBlazor.Core.Model.ColorBackground? value);
Parameters
value ColorBackground
The value to set.
Returns
InitialViewProperties.SetSpatialReference(SpatialReference) Method
Asynchronously set the value of the SpatialReference property after render.
public System.Threading.Tasks.Task SetSpatialReference(dymaptic.GeoBlazor.Core.Components.SpatialReference? value);
Parameters
value SpatialReference
The value to set.
Returns
InitialViewProperties.SetTimeZone(string) Method
Asynchronously set the value of the TimeZone property after render.
public System.Threading.Tasks.Task SetTimeZone(string? value);
Parameters
value System.String
The value to set.
Returns
InitialViewProperties.SetViewpoint(Viewpoint) Method
Asynchronously set the value of the Viewpoint property after render.
public System.Threading.Tasks.Task SetViewpoint(dymaptic.GeoBlazor.Core.Components.Viewpoint? value);
Parameters
value Viewpoint
The value to set.
Returns
InitialViewProperties.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()