Search Results for

    Show / Hide Table of Contents

    Class ImageLayer

    Inheritance
    object
    BaseLayer
    ImageLayer
    Implements
    IAsyncDataFetcher
    ILayerDataSource<IProvider>
    ILayer
    IAnimatable
    INotifyPropertyChanged
    IDisposable
    Inherited Members
    BaseLayer.PropertyChanged
    BaseLayer.DataChanged
    BaseLayer.Id
    BaseLayer.Tag
    BaseLayer.MinVisible
    BaseLayer.MaxVisible
    BaseLayer.Enabled
    BaseLayer.Name
    BaseLayer.Opacity
    BaseLayer.Busy
    BaseLayer.Style
    BaseLayer.Extent
    BaseLayer.Attribution
    BaseLayer.Resolutions
    BaseLayer.IsMapInfoLayer
    BaseLayer.DataHasChanged()
    BaseLayer.ToString()
    BaseLayer.OnPropertyChanged(string)
    BaseLayer.OnDataChanged(DataChangedEventArgs)
    BaseLayer.Dispose()
    BaseLayer.UpdateAnimations()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Mapsui.Layers
    Assembly: Mapsui.dll
    Syntax
    public class ImageLayer : BaseLayer, IAsyncDataFetcher, ILayerDataSource<IProvider>, ILayer, IAnimatable, INotifyPropertyChanged, IDisposable

    Constructors

    | Edit this page View Source

    ImageLayer()

    Declaration
    public ImageLayer()
    | Edit this page View Source

    ImageLayer(string)

    Declaration
    public ImageLayer(string layerName)
    Parameters
    Type Name Description
    string layerName

    Properties

    | Edit this page View Source

    DataSource

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

    FetchDelay

    Delay before fetching a new wms image from the server after the view has changed. Specified in milliseconds.

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

    Methods

    | Edit this page View Source

    AbortFetch()

    Aborts the tile fetches that are in progress. If this method is not called the threads will terminate naturally. It will just take a little longer.

    Declaration
    public void AbortFetch()
    | Edit this page View Source

    ClearCache()

    Clear cache of layer

    Declaration
    public void ClearCache()
    | Edit this page View Source

    Dispose(bool)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    BaseLayer.Dispose(bool)
    | Edit this page View Source

    GetFeatures(MRect, double)

    Get all features in a given MRect for a given resolution

    Declaration
    public override IEnumerable<IFeature> GetFeatures(MRect box, double resolution)
    Parameters
    Type Name Description
    MRect box
    double resolution

    Resolution of viewport

    Returns
    Type Description
    IEnumerable<IFeature>
    Overrides
    BaseLayer.GetFeatures(MRect, double)
    | Edit this page View Source

    RefreshData(FetchInfo)

    Indicates that there has been a change in the view of the map

    Declaration
    public void RefreshData(FetchInfo fetchInfo)
    Parameters
    Type Name Description
    FetchInfo fetchInfo

    FetchInfo

    Implements

    IAsyncDataFetcher
    ILayerDataSource<T>
    ILayer
    IAnimatable
    INotifyPropertyChanged
    IDisposable

    Extension Methods

    LayerExtensions.WaitForLoadingAsync(ILayer)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX