layout: default title: RotationVariable parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Layers

RotationVariable Class

The rotation visual variable defines how features rendered with marker symbols or text symbols in a MapView are
rotated. The rotation value is determined by mapping the values to data in a field, or by other arithmetic means
with an Arcade expression.
ArcGIS Maps SDK for JavaScript

public class RotationVariable : dymaptic.GeoBlazor.Core.Components.Layers.VisualVariable

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 VisualVariable 🡒 RotationVariable

Constructors

RotationVariable() Constructor

Parameterless constructor for using as a razor component

public RotationVariable();

RotationVariable(string, string, Nullable) Constructor

Constructs a new RotationVariable in code with parameters

public RotationVariable(string field, string? axis=null, System.Nullable<dymaptic.GeoBlazor.Core.Components.Layers.RotationType> rotationType=null);

Parameters

field System.String

The name of the numeric attribute field that contains the data values used to determine the rotation of each feature.

axis System.String

Only applicable when working in a SceneView.

rotationType System.Nullable<RotationType>

Defines the origin and direction of rotation depending on how the angle of rotation was measured.

Properties

RotationVariable.Axis Property

Only applicable when working in a SceneView.

public string? Axis { get; set; }

Property Value

System.String

RotationVariable.RotationType Property

Defines the origin and direction of rotation depending on how the angle of rotation was measured.

public System.Nullable<dymaptic.GeoBlazor.Core.Components.Layers.RotationType> RotationType { get; set; }

Property Value

System.Nullable<RotationType>

RotationVariable.VariableType Property

The visual variable type.

public override dymaptic.GeoBlazor.Core.Components.Layers.VisualVariableType VariableType { get; }

Property Value

VisualVariableType