Show / Hide Table of Contents

Property AngleAlignment

AngleAlignment

Gets or sets the rotation angle alignment. Default value is Screen

Declaration
public SymbolAngleAlignment AngleAlignment { get; set; }
Property Value
Type Description
SymbolAngleAlignment

The rotation angle alignment. Default value is Screen

Remarks

Determines the behavior of the symbol if the map rotates, i.e. whether the symbol should rotate with the map or not.

When the GraphicsRenderingMode is set to Static the MarkerSymbols (including the inherited: PictureMarkerSymbols, SimpleMarkerSymbols, and TextSymbols) are always aligned with the MapView. This means that if the MapView rotates any MarkerSymbols on the Map will stay in the same rotation as the MapView. Hence the MarkerSymbols will appear to be static in their positioning with respect to the Map. Even though you may set the various MarkerSymbol AngleAlignment Properties, they will not be respected when the GraphicsRenderingMode is set to Static.

Conversely, when the GraphicsLayer.RenderingMode is set to Dynamic the MarkerSymbols (including inherited Types) will rotate independently of the MapView if the rotation is changed. Furthermore, setting the various MarkerSymbols AngleAlignment Properties is respected by the GraphicsRenderingMode when set to Dynamic.

See Also
Angle

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.