Search Results for

    Show / Hide Table of Contents

    Class CalloutStyle

    A CalloutStyle shows a callout or InfoWindow in Google Maps

    Inheritance
    object
    BaseStyle
    BasePointStyle
    ImageStyle
    CalloutStyle
    Implements
    IPointStyle
    IStyle
    IHasImage
    Inherited Members
    ImageStyle.Image
    BasePointStyle.SymbolRotation
    BasePointStyle.RotateWithMap
    BasePointStyle.SymbolScale
    BasePointStyle.SymbolOffset
    BasePointStyle.Offset
    BasePointStyle.RelativeOffset
    BasePointStyle.SymbolOffsetRotatesWithMap
    BaseStyle.MinVisible
    BaseStyle.MaxVisible
    BaseStyle.Enabled
    BaseStyle.Opacity
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Styles
    Assembly: Mapsui.dll
    Syntax
    public class CalloutStyle : ImageStyle, IPointStyle, IStyle, IHasImage
    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

    BalloonDefinition

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

    ImageIdOfCallout

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

    ImageIdOfCalloutContent

    Declaration
    public string ImageIdOfCalloutContent { get; }
    Property Value
    Type Description
    string
    | 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

    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

    Spacing

    Space between Title and Subtitle of Callout

    Declaration
    public double Spacing { get; set; }
    Property Value
    Type Description
    double
    | 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 Image.

    Methods

    | Edit this page View Source

    Invalidate()

    Declaration
    public void Invalidate()

    Implements

    IPointStyle
    IStyle
    IHasImage

    Extension Methods

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