Class AnimatedFeatures
Inheritance
System.Object
AnimatedFeatures
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mapsui.Layers
Assembly: Mapsui.dll
Syntax
public class AnimatedFeatures
Constructors
| Improve this Doc View SourceAnimatedFeatures(Int32)
Declaration
public AnimatedFeatures(int millisecondsBetweenUpdates = 16)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | millisecondsBetweenUpdates |
Properties
| Improve this Doc View SourceAnimationDuration
Declaration
public int AnimationDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 |
---|---|
System.Double |
Function
Declaration
public EasingFunction Function { get; set; }
Property Value
Type | Description |
---|---|
EasingFunction |
IdField
Declaration
public string IdField { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAddFeatures(IEnumerable<IFeature>)
Declaration
public void AddFeatures(IEnumerable<IFeature> features)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IFeature> | features |
GetFeatures()
Declaration
public IEnumerable<IFeature> GetFeatures()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IFeature> |
OnAnimatedPositionChanged()
Declaration
protected virtual void OnAnimatedPositionChanged()
Events
| Improve this Doc View SourceAnimatedPositionChanged
Declaration
public event EventHandler AnimatedPositionChanged
Event Type
Type | Description |
---|---|
System.EventHandler |