Class GeoMapElement
Base class definition for top level data items
Inheritance
System.Object
GeoMapElement
Implements
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public abstract class GeoMapElement : object, IGeoMapElement
Constructors
View SourceGeoMapElement()
Constructor for class GeoMapElement
Declaration
public GeoMapElement()
Properties
View SourceColor
Gets or sets the colour of the map element
Declaration
public FpaColour Color { get; set; }
Property Value
Type | Description |
---|---|
FpaColour |
DataList
Declaration
public Dictionary<string, string> DataList { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.String> |
Description
Gets or sets the description of the map element
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
A general description for a map element, can be left blank but used when needed
Name
Gets or sets the name of the map element
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This can have have any text literal and is made available for your own naming of Map Elements
Thickness
Gets or sets the thickness of the map element
Declaration
public int Thickness { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
UniqueId
Gets or sets the unique id of the map element
Declaration
public Guid UniqueId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Methods
View SourceAddDataList(String, String)
Add a row entry to the data list
Declaration
public void AddDataList(string uniqueKey, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | uniqueKey | Unique indexer of the data item |
System.String | value | Value of the data item |
AssignProperties(MapObjectProperties)
Method to assign properties to a GeoMapElement
Declaration
public virtual void AssignProperties(MapObjectProperties mapObjectProperties)
Parameters
Type | Name | Description |
---|---|---|
MapObjectProperties | mapObjectProperties | Properties to assign to the GeoMapElement |
Draw()
Method to draw the MapElement
Declaration
public virtual void Draw()