Class SymbolStyle
Assembly: Mapsui.dll
Syntax
public class SymbolStyle : VectorStyle, IPointStyle, IStyle
Properties
|
Edit this page
View Source
DefaultHeight
Declaration
public static double DefaultHeight { get; set; }
Property Value
|
Edit this page
View Source
DefaultWidth
Declaration
public static double DefaultWidth { get; set; }
Property Value
|
Edit this page
View Source
Offset
Gets or sets the offset in pixels of the symbol.
Declaration
public Offset Offset { get; set; }
Property Value
|
Edit this page
View Source
RelativeOffset
Offset of the symbol in units relative to the size of the symbol. When X = 0 and Y = 0 it will be centered.
Declaration
public RelativeOffset RelativeOffset { get; set; }
Property Value
|
Edit this page
View Source
RotateWithMap
When true a symbol will rotate along with the rotation of the map.
This is useful if you need to symbolize the direction in which a vehicle
is moving. When the symbol is false it will retain it's position to the
screen. This is useful for pins like symbols. The default is false.
This mode is not supported in the WPF renderer.
Declaration
public bool RotateWithMap { get; set; }
Property Value
|
Edit this page
View Source
SymbolOffset
Declaration
[Obsolete("Use Offset or RelativeOffset instead", true)]
public Offset SymbolOffset { get; set; }
Property Value
|
Edit this page
View Source
SymbolOffsetRotatesWithMap
Should SymbolOffset position rotate with map
Declaration
public bool SymbolOffsetRotatesWithMap { get; set; }
Property Value
|
Edit this page
View Source
SymbolRotation
Gets or sets the rotation of the symbol in degrees (clockwise is positive)
Declaration
public double SymbolRotation { get; set; }
Property Value
|
Edit this page
View Source
SymbolScale
Scale of the symbol (defaults to 1)
Declaration
public double SymbolScale { get; set; }
Property Value
|
Edit this page
View Source
SymbolType
Declaration
public SymbolType SymbolType { get; set; }
Property Value
|
Edit this page
View Source
UnitType
Declaration
public UnitType UnitType { get; set; }
Property Value
Implements
Extension Methods