Class GenericCollectionLayer<T>
Inheritance
GenericCollectionLayer<T>
Assembly: Mapsui.dll
Syntax
public class GenericCollectionLayer<T> : BaseLayer, ILayer, IAnimatable, INotifyPropertyChanged, IDisposable where T : IEnumerable<IFeature>, new()
Type Parameters
Constructors
|
Edit this page
View Source
GenericCollectionLayer()
Declaration
public GenericCollectionLayer()
Properties
|
Edit this page
View Source
Extent
Returns the envelope of all available data in the layer
Declaration
public override MRect? Extent { get; }
Property Value
Overrides
|
Edit this page
View Source
Features
Declaration
public T Features { get; set; }
Property Value
Methods
|
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? rect, double resolution)
Parameters
Type |
Name |
Description |
MRect |
rect |
|
double |
resolution |
Resolution of viewport
|
Returns
Overrides
Implements
Extension Methods