Class MapInfo
Assembly: Mapsui.dll
Syntax
Constructors
|
Edit this page
View Source
MapInfo(ScreenPosition, MPoint, double, IEnumerable<MapInfoRecord>?)
Declaration
public MapInfo(ScreenPosition screenPosition, MPoint worldPosition, double resolution, IEnumerable<MapInfoRecord>? mapInfoRecords = null)
Parameters
Properties
|
Edit this page
View Source
Feature
The feature touched by the user
Declaration
public IFeature? Feature { get; }
Property Value
|
Edit this page
View Source
Layer
The layer to which the touched feature belongs
Declaration
public ILayer? Layer { get; }
Property Value
|
Edit this page
View Source
MapInfoRecord
Declaration
public MapInfoRecord? MapInfoRecord { get; }
Property Value
|
Edit this page
View Source
MapInfoRecords
Declaration
public IEnumerable<MapInfoRecord> MapInfoRecords { get; }
Property Value
|
Edit this page
View Source
Resolution
The resolution at which the info was retrieved. This can
be useful to calculate screen distances, which are needed
for editing functionality.
Declaration
public double Resolution { get; }
Property Value
|
Edit this page
View Source
ScreenPosition
Screen position of the place the user touched
Declaration
public ScreenPosition ScreenPosition { get; }
Property Value
|
Edit this page
View Source
Style
The style of feature touched by the user
Declaration
public IStyle? Style { get; }
Property Value
|
Edit this page
View Source
WorldPosition
World position of the place the user touched
Declaration
public MPoint WorldPosition { get; }
Property Value
Extension Methods