dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

Camera Class

The camera defines the position, tilt, and heading
of the point from which the SceneView’s visible extent
is observed.
ArcGIS Maps SDK for JavaScript

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

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

Constructors

Camera() Constructor

Parameterless constructor for use as a Razor Component.

public Camera();

Camera(Nullable, Nullable, CameraLayout, Point, Nullable) Constructor

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

public Camera(System.Nullable<double> fov=null, System.Nullable<double> heading=null, dymaptic.GeoBlazor.Core.Components.CameraLayout? layout=null, dymaptic.GeoBlazor.Core.Components.Geometries.Point? position=null, System.Nullable<double> tilt=null);

Parameters

fov System.Nullable<System.Double>

The diagonal field of view (fov) angle for the camera.
default 55
ArcGIS Maps SDK for JavaScript

heading System.Nullable<System.Double>

The compass heading of the camera in degrees.
default 0
ArcGIS Maps SDK for JavaScript

layout CameraLayout

The layout defines which sub-region of the camera is rendered.
ArcGIS Maps SDK for JavaScript

position Point

The position of the camera defined by a map point.
ArcGIS Maps SDK for JavaScript

tilt System.Nullable<System.Double>

The tilt of the camera in degrees with respect to the surface as projected
down from the camera position.
default 0
ArcGIS Maps SDK for JavaScript

Properties

Camera.Fov Property

The diagonal field of view (fov) angle for the camera.
default 55
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> Fov { get; set; }

Property Value

System.Nullable<System.Double>

Camera.Heading Property

The compass heading of the camera in degrees.
default 0
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> Heading { get; set; }

Property Value

System.Nullable<System.Double>

Camera.Layout Property

The layout defines which sub-region of the camera is rendered.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.CameraLayout? Layout { get; set; }

Property Value

CameraLayout

Camera.Position Property

The position of the camera defined by a map point.
ArcGIS Maps SDK for JavaScript

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

Property Value

Point

Camera.Tilt Property

The tilt of the camera in degrees with respect to the surface as projected
down from the camera position.
default 0
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> Tilt { get; set; }

Property Value

System.Nullable<System.Double>

Methods

Camera.GetFov() Method

Asynchronously retrieve the current value of the Fov property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetFov();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

Camera.GetHeading() Method

Asynchronously retrieve the current value of the Heading property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetHeading();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

Camera.GetLayout() Method

Asynchronously retrieve the current value of the Layout property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.CameraLayout?> GetLayout();

Returns

System.Threading.Tasks.Task<CameraLayout>

Camera.GetPosition() Method

Asynchronously retrieve the current value of the Position property.

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

Returns

System.Threading.Tasks.Task<Point>

Camera.GetTilt() Method

Asynchronously retrieve the current value of the Tilt property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetTilt();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

Camera.SetFov(Nullable) Method

Asynchronously set the value of the Fov property after render.

public System.Threading.Tasks.Task SetFov(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

Camera.SetHeading(Nullable) Method

Asynchronously set the value of the Heading property after render.

public System.Threading.Tasks.Task SetHeading(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

Camera.SetLayout(CameraLayout) Method

Asynchronously set the value of the Layout property after render.

public System.Threading.Tasks.Task SetLayout(dymaptic.GeoBlazor.Core.Components.CameraLayout? value);

Parameters

value CameraLayout

The value to set.

Returns

System.Threading.Tasks.Task

Camera.SetPosition(Point) Method

Asynchronously set the value of the Position property after render.

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

Parameters

value Point

The value to set.

Returns

System.Threading.Tasks.Task

Camera.SetTilt(Nullable) Method

Asynchronously set the value of the Tilt property after render.

public System.Threading.Tasks.Task SetTilt(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

Camera.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()