dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
RotationVariable Class
The rotation visual variable, determined by mapping the values to data in a field or
by other arithmetic means with an Arcade expression, controls how features rendered with
marker symbols or text symbols in a MapView ,
as well as with marker symbols, ObjectSymbol3DLayer or IconSymbol3DLayer in a SceneView,
are rotated.
ArcGIS Maps SDK for JavaScript
public class RotationVariable : dymaptic.GeoBlazor.Core.Components.VisualVariable
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 VisualVariable 🡒 RotationVariable
Constructors
RotationVariable() Constructor
Parameterless constructor for use as a Razor Component.
public RotationVariable();
RotationVariable(string, Nullable, Nullable, VisualVariableLegendOptions, string, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public RotationVariable(string field, System.Nullable<dymaptic.GeoBlazor.Core.Enums.Axis> axis=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.RotationType> rotationType=null, dymaptic.GeoBlazor.Core.Components.VisualVariableLegendOptions? legendOptions=null, string? valueExpression=null, string? valueExpressionTitle=null);
Parameters
field
System.String
The name of the numeric attribute field that contains the data
values used to determine the color/opacity/size/rotation of each feature.
ArcGIS Maps SDK for JavaScript
Only applicable when working in a SceneView with an ObjectSymbol3DLayer.
default “heading”
ArcGIS Maps SDK for JavaScript
rotationType
System.Nullable<RotationType>
Defines the origin and direction of rotation depending
on how the angle of rotation was measured.
default “geographic”
ArcGIS Maps SDK for JavaScript
legendOptions
VisualVariableLegendOptions
An object providing options for displaying the visual variable in
the Legend.
ArcGIS Maps SDK for JavaScript
valueExpression
System.String
An Arcade expression following the specification
defined by the Arcade Visualization Profile.
ArcGIS Maps SDK for JavaScript
valueExpressionTitle
System.String
The title identifying and describing the associated
Arcade expression as defined in the valueExpression property.
ArcGIS Maps SDK for JavaScript
Properties
RotationVariable.Axis Property
Only applicable when working in a SceneView with an ObjectSymbol3DLayer.
default “heading”
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.Axis> Axis { get; set; }
Property Value
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.Enums.RotationType> RotationType { get; set; }
Property Value
RotationVariable.Type Property
The visual variable type.
public override dymaptic.GeoBlazor.Core.Enums.VisualVariableType Type { get; }
Property Value
Methods
RotationVariable.GetAxis() Method
Asynchronously retrieve the current value of the Axis property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.Axis>> GetAxis();
Returns
System.Threading.Tasks.Task<System.Nullable<Axis>>
RotationVariable.GetRotationType() Method
Asynchronously retrieve the current value of the RotationType property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.RotationType>> GetRotationType();
Returns
System.Threading.Tasks.Task<System.Nullable<RotationType>>
RotationVariable.SetAxis(Nullable) Method
Asynchronously set the value of the Axis property after render.
public System.Threading.Tasks.Task SetAxis(System.Nullable<dymaptic.GeoBlazor.Core.Enums.Axis> value);
Parameters
value
System.Nullable<Axis>
The value to set.
Returns
RotationVariable.SetRotationType(Nullable) Method
Asynchronously set the value of the RotationType property after render.
public System.Threading.Tasks.Task SetRotationType(System.Nullable<dymaptic.GeoBlazor.Core.Enums.RotationType> value);
Parameters
value
System.Nullable<RotationType>
The value to set.