Show / Hide Table of Contents

    Interface IMap

    Namespace: Mapsui
    Assembly: Mapsui.dll
    Syntax
    public interface IMap

    Properties

    | Improve this Doc View Source

    BackColor

    Map background color (defaults to transparent)

    Declaration
    Color BackColor { get; set; }
    Property Value
    Type Description
    Color
    | Improve this Doc View Source

    CRS

    Projection type of Map. Normally in format like "EPSG:3857"

    Declaration
    string CRS { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Envelope

    Gets the extents of the map based on the extents of all the layers in the layers collection

    Declaration
    BoundingBox Envelope { get; }
    Property Value
    Type Description
    BoundingBox

    Full map extents

    | Improve this Doc View Source

    Home

    Declaration
    Action<INavigator> Home { get; set; }
    Property Value
    Type Description
    System.Action<INavigator>
    | Improve this Doc View Source

    Layers

    A collection of layers. The first layer in the list is drawn first, the last one on top.

    Declaration
    LayerCollection Layers { get; }
    Property Value
    Type Description
    LayerCollection
    | Improve this Doc View Source

    Resolutions

    List of all native resolutions of this map

    Declaration
    IReadOnlyList<double> Resolutions { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<System.Double>
    | Improve this Doc View Source

    Transformation

    Transformation to use for the different coordinate systems

    Declaration
    ITransformation Transformation { get; set; }
    Property Value
    Type Description
    ITransformation
    | Improve this Doc View Source

    Widgets

    List of Widgets belonging to map

    Declaration
    ConcurrentQueue<IWidget> Widgets { get; }
    Property Value
    Type Description
    System.Collections.Concurrent.ConcurrentQueue<IWidget>

    Methods

    | Improve this Doc View Source

    AbortFetch()

    Abort fetching of all layers

    Declaration
    void AbortFetch()
    | Improve this Doc View Source

    ClearCache()

    Clear cache of all layers

    Declaration
    void ClearCache()
    | Improve this Doc View Source

    RefreshData(BoundingBox, Double, Boolean)

    Declaration
    void RefreshData(BoundingBox extent, double resolution, bool majorChange)
    Parameters
    Type Name Description
    BoundingBox extent
    System.Double resolution
    System.Boolean majorChange

    Events

    | Improve this Doc View Source

    DataChanged

    DataChanged should be triggered by any data changes of any of the child layers

    Declaration
    event DataChangedEventHandler DataChanged
    Event Type
    Type Description
    DataChangedEventHandler
    | Improve this Doc View Source

    PropertyChanged

    Called whenever a property changed

    Declaration
    event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX