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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |