Class MemoryLayer
A layer to use, when DataSource doesn't fetch anything because it is already in memory
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)
Namespace: Mapsui.Layers
Assembly: Mapsui.dll
Syntax
public class MemoryLayer : BaseLayer, ILayer, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceMemoryLayer()
Create a new layer
Declaration
public MemoryLayer()
MemoryLayer(String)
Create layer with name
Declaration
public MemoryLayer(string layername)
Parameters
Type | Name | Description |
---|---|---|
System.String | layername | Name to use for layer |
Properties
| Improve this Doc View SourceDataSource
Declaration
public IProvider DataSource { get; set; }
Property Value
Type | Description |
---|---|
IProvider |
Envelope
Declaration
public override BoundingBox Envelope { get; }
Property Value
Type | Description |
---|---|
BoundingBox |
Overrides
Methods
| Improve this Doc View SourceGetFeaturesInView(BoundingBox, Double)
Declaration
public override IEnumerable<IFeature> GetFeaturesInView(BoundingBox box, double resolution)
Parameters
Type | Name | Description |
---|---|---|
BoundingBox | box | |
System.Double | resolution |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IFeature> |
Overrides
| Improve this Doc View SourceRefreshData(BoundingBox, Double, Boolean)
Declaration
public override void RefreshData(BoundingBox extent, double resolution, bool majorChange)
Parameters
Type | Name | Description |
---|---|---|
BoundingBox | extent | |
System.Double | resolution | |
System.Boolean | majorChange |
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged