Class WritableLayer
Inheritance
WritableLayer
Assembly: Mapsui.dll
Syntax
public class WritableLayer : BaseLayer, ILayer, IAnimatable, INotifyPropertyChanged, IDisposable, IModifyFeatureLayer
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
Methods
|
Edit this page
View Source
Add(IFeature)
Declaration
public void Add(IFeature feature)
Parameters
|
Edit this page
View Source
AddRange(IEnumerable<IFeature>)
Declaration
public void AddRange(IEnumerable<IFeature> features)
Parameters
|
Edit this page
View Source
Clear()
Declaration
|
Edit this page
View Source
Find(IFeature)
Declaration
public IFeature? Find(IFeature feature)
Parameters
Returns
|
Edit this page
View Source
GetFeatures()
Declaration
public IEnumerable<IFeature> GetFeatures()
Returns
|
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
Overrides
|
Edit this page
View Source
TryRemove(IFeature, Func<IFeature, IFeature, bool>?)
Tries to remove a feature.
Declaration
public bool TryRemove(IFeature feature, Func<IFeature, IFeature, bool>? compare = null)
Parameters
Type |
Name |
Description |
IFeature |
feature |
Feature to remove
|
Func<IFeature, IFeature, bool> |
compare |
Optional method to compare the feature with any of the other
features in the list. If omitted a reference compare is done.
|
Returns
Implements
Extension Methods