Search Results for

    Show / Hide Table of Contents

    Class CalloutStyle

    A CalloutStyle shows a callout or InfoWindow in Google Maps

    Inheritance
    object
    Style
    VectorStyle
    SymbolStyle
    CalloutStyle
    Implements
    IStyle
    Inherited Members
    SymbolStyle.SymbolType
    SymbolStyle.UnitType
    SymbolStyle.BitmapId
    SymbolStyle.SymbolRotation
    SymbolStyle.RotateWithMap
    SymbolStyle.SymbolScale
    SymbolStyle.SymbolOffset
    SymbolStyle.SymbolOffsetRotatesWithMap
    SymbolStyle.BlendModeColor
    SymbolStyle.Equals(object)
    SymbolStyle.Equals(SymbolStyle)
    SymbolStyle.GetHashCode()
    VectorStyle.Line
    VectorStyle.Outline
    VectorStyle.Fill
    VectorStyle.Equals(VectorStyle)
    Style.MinVisible
    Style.MaxVisible
    Style.Enabled
    Style.Opacity
    Style.Equals(Style)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Styles
    Assembly: Mapsui.dll
    Syntax
    public class CalloutStyle : SymbolStyle, IStyle
    Remarks

    There are three different types of Callouts

    1. Type = CalloutType.Single The text in Title will be shown
    2. Type = CalloutType.Detail The text in Title and SubTitle will be shown
    3. Type = CalloutType.Custom The bitmap with ID in Content will be shown

    Properties

    | Edit this page View Source

    ArrowAlignment

    Anchor position of Callout

    Declaration
    public ArrowAlignment ArrowAlignment { get; set; }
    Property Value
    Type Description
    ArrowAlignment
    | Edit this page View Source

    ArrowHeight

    Height of anchor of Callout

    Declaration
    public float ArrowHeight { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    ArrowPosition

    Relative position of anchor of Callout on the side given by AnchorType

    Declaration
    public float ArrowPosition { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    ArrowWidth

    Width of opening of anchor of Callout

    Declaration
    public float ArrowWidth { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    BackgroundColor

    BackgroundColor of Callout

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    Color

    Color of stroke around Callout

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    Content

    Content of Callout

    Declaration
    public int Content { get; set; }
    Property Value
    Type Description
    int
    Remarks

    Is a BitmapId of a save image

    | Edit this page View Source

    DefaultHeight

    Declaration
    public static double DefaultHeight { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    DefaultWidth

    Declaration
    public static double DefaultWidth { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    InternalContent

    Declaration
    public int InternalContent { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Invalidated

    Declaration
    public bool Invalidated { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MaxWidth

    MaxWidth for Title and Subtitle of Callout

    Declaration
    public double MaxWidth { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    Offset

    Offset position in pixels of Callout

    Declaration
    public Offset Offset { get; set; }
    Property Value
    Type Description
    Offset
    | Edit this page View Source

    Padding

    Padding around content of Callout

    Declaration
    public MRect Padding { get; set; }
    Property Value
    Type Description
    MRect
    | Edit this page View Source

    RectRadius

    Radius of rounded corners of Callout

    Declaration
    public float RectRadius { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    Rotation

    Gets or sets the rotation of the Callout in degrees (clockwise is positive)

    Declaration
    public double Rotation { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    ShadowWidth

    Width of shadow around Callout

    Declaration
    public float ShadowWidth { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    Spacing

    Space between Title and Subtitle of Callout

    Declaration
    public double Spacing { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    StrokeWidth

    Stroke width of frame around Callout

    Declaration
    public float StrokeWidth { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    Subtitle

    Content of Callout subtitle label

    Declaration
    public string? Subtitle { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SubtitleFont

    Declaration
    public Font SubtitleFont { get; set; }
    Property Value
    Type Description
    Font
    | Edit this page View Source

    SubtitleFontColor

    Font color to render subtitle

    Declaration
    public Color? SubtitleFontColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    SubtitleTextAlignment

    Text alignment of subtitle

    Declaration
    public Alignment SubtitleTextAlignment { get; set; }
    Property Value
    Type Description
    Alignment
    | Edit this page View Source

    Title

    Content of Callout title label

    Declaration
    public string? Title { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TitleFont

    Declaration
    public Font TitleFont { get; set; }
    Property Value
    Type Description
    Font
    | Edit this page View Source

    TitleFontColor

    Font color to render title

    Declaration
    public Color? TitleFontColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    TitleTextAlignment

    Text alignment of title

    Declaration
    public Alignment TitleTextAlignment { get; set; }
    Property Value
    Type Description
    Alignment
    | Edit this page View Source

    Type

    Type of Callout

    Declaration
    public CalloutType Type { get; set; }
    Property Value
    Type Description
    CalloutType
    Remarks

    Could be Single, Detail or Custom. The last need a bitmap id in Content for an owner drawn image.

    Implements

    IStyle

    Extension Methods

    StyleExtensions.GetStylesToApply(IStyle?, double)
    StyleExtensions.ShouldBeApplied(IStyle?, double)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX