Search Results for

    Show / Hide Table of Contents

    Class AnimatedPointLayer

    Inheritance
    object
    BaseLayer
    AnimatedPointLayer
    Implements
    ILayer
    IAnimatable
    INotifyPropertyChanged
    IDisposable
    IAsyncDataFetcher
    ILayerDataSource<IProvider>
    IModifyFeatureLayer
    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.Attribution
    BaseLayer.Resolutions
    BaseLayer.IsMapInfoLayer
    BaseLayer.DataHasChanged()
    BaseLayer.ToString()
    BaseLayer.OnPropertyChanged(string)
    BaseLayer.OnDataChanged(DataChangedEventArgs)
    BaseLayer.Dispose(bool)
    BaseLayer.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Mapsui.Layers.AnimatedLayers
    Assembly: Mapsui.dll
    Syntax
    public class AnimatedPointLayer : BaseLayer, ILayer, IAnimatable, INotifyPropertyChanged, IDisposable, IAsyncDataFetcher, ILayerDataSource<IProvider>, IModifyFeatureLayer

    Constructors

    | Edit this page View Source

    AnimatedPointLayer(IProvider)

    Declaration
    public AnimatedPointLayer(IProvider dataSource)
    Parameters
    Type Name Description
    IProvider dataSource

    Properties

    | Edit this page View Source

    AnimationDuration

    The period of which the animaton should move from the previous position to the new position. The default is 1000 milliseconds.

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

    DataSource

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

    DistanceThreshold

    When the distance between the current and the previous position is larger than the DistanceThreshold it will not be animated. The default is Double.MaxValue

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

    Easing

    The easing function to use for the animation. The default is Easing.CubicOut.

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

    Extent

    Returns the envelope of all available data in the layer

    Declaration
    public override MRect? Extent { get; }
    Property Value
    Type Description
    MRect
    Overrides
    BaseLayer.Extent
    | Edit this page View Source

    IdField

    Declaration
    public string IdField { get; set; }
    Property Value
    Type Description
    string

    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

    GetFeatures(MRect, double)

    Get all features in a given MRect for a given resolution

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

    Bounding 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

    | Edit this page View Source

    SetAnimationTarget(IEnumerable<PointFeature>)

    Declaration
    public void SetAnimationTarget(IEnumerable<PointFeature> targets)
    Parameters
    Type Name Description
    IEnumerable<PointFeature> targets
    | Edit this page View Source

    UpdateAnimations()

    Declaration
    public override bool UpdateAnimations()
    Returns
    Type Description
    bool

    Returns true if animations are running and a graphics update is needed.

    Overrides
    BaseLayer.UpdateAnimations()
    | Edit this page View Source

    UpdateDataAsync()

    Declaration
    public Task UpdateDataAsync()
    Returns
    Type Description
    Task

    Implements

    ILayer
    IAnimatable
    INotifyPropertyChanged
    IDisposable
    IAsyncDataFetcher
    ILayerDataSource<T>
    IModifyFeatureLayer

    Extension Methods

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