Show / Hide Table of Contents

Class GeoMapElement

Base class definition for top level data items

Inheritance
object
GeoMapElement
GeoArc
GeoCircle
GeoLine
GeoLineString
GeoMapAction
GeoMapIcon
GeoMapImage
GeoPoint
GeoPolygon
Implements
IGeoMapElement
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public abstract class GeoMapElement : IGeoMapElement

Constructors

View Source

GeoMapElement()

Constructor for class GeoMapElement

Declaration
public GeoMapElement()

Properties

View Source

Color

Gets or sets the colour of the map element

Declaration
public FpaColour Color { get; set; }
Property Value
Type Description
FpaColour
View Source

DataList

A Key/Value pair for holding other data

Declaration
public Dictionary<string, string> DataList { get; }
Property Value
Type Description
Dictionary<string, string>

Pair of string objects held in a Dictionary (Key and Value)

Remarks

A simple two column list to hold a list of data. The Key must be unique

View Source

Description

Gets or sets the description of the map element

Declaration
public string Description { get; set; }
Property Value
Type Description
string
Remarks

A general description for a map element, can be left blank but used when needed

View Source

Name

Gets or sets the name of the map element

Declaration
public string Name { get; set; }
Property Value
Type Description
string
Remarks

This can have have any text literal and is made available for your own naming of Map Elements

View Source

Thickness

Gets or sets the thickness of the map element

Declaration
public int Thickness { get; set; }
Property Value
Type Description
int
View Source

UniqueId

Gets or sets the unique id of the map element

Declaration
public Guid UniqueId { get; set; }
Property Value
Type Description
Guid

Methods

View Source

AddDataList(string, string)

Add a row entry to the data list

Declaration
public void AddDataList(string uniqueKey, string value)
Parameters
Type Name Description
string uniqueKey

Unique indexer of the data item

string value

Value of the data item

Exceptions
Type Condition
ArgumentException

If key has already been added to the list

View Source

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

Exceptions
Type Condition
NullReferenceException

If parameter 'mapObjectProperties' is null

View Source

Draw()

Method to draw the MapElement

Declaration
public virtual void Draw()

Implements

IGeoMapElement
  • View Source
In this article
Back to top Copyright 2018-2025 CADology Limited