Class GeometryFeature
Feature representing a NTS geometry on the map./>
Inheritance
GeometryFeature
Assembly: Mapsui.Nts.dll
Syntax
public class GeometryFeature : BaseFeature, IFeature, ICloneable
Constructors
|
Edit this page
View Source
GeometryFeature()
Declaration
|
Edit this page
View Source
GeometryFeature(GeometryFeature)
Declaration
public GeometryFeature(GeometryFeature geometryFeature)
Parameters
|
Edit this page
View Source
GeometryFeature(GeometryFeature, long)
Declaration
public GeometryFeature(GeometryFeature geometryFeature, long id)
Parameters
|
Edit this page
View Source
GeometryFeature(Geometry?)
Declaration
public GeometryFeature(Geometry? geometry)
Parameters
| Type |
Name |
Description |
| Geometry |
geometry |
|
|
Edit this page
View Source
GeometryFeature(long)
Declaration
public GeometryFeature(long id)
Parameters
| Type |
Name |
Description |
| long |
id |
|
Properties
|
Edit this page
View Source
Extent
Declaration
public override MRect? Extent { get; }
Property Value
Overrides
|
Edit this page
View Source
Geometry
Geometry for this feature
Declaration
public Geometry? Geometry { get; set; }
Property Value
| Type |
Description |
| Geometry |
|
Methods
|
Edit this page
View Source
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public override object Clone()
Returns
| Type |
Description |
| object |
A new object that is a copy of this instance.
|
Overrides
|
Edit this page
View Source
CoordinateVisitor(Action<double, double, CoordinateSetter>)
Implementation of visitor pattern for coordinates
Declaration
public override void CoordinateVisitor(Action<double, double, CoordinateSetter> visit)
Parameters
Overrides
|
Edit this page
View Source
Modified()
Function to call whenever something changes in settings of feature.
Declaration
public override void Modified()
Overrides
Implements
Extension Methods