Show / Hide Table of Contents

Class GeoMapElement

Base class definition for top level data items

Inheritance
System.Object
GeoMapElement
GeoArc
GeoCircle
GeoLine
GeoLineString
GeoMapAction
GeoMapIcon
GeoMapImage
GeoPoint
GeoPolygon
Implements
IGeoMapElement
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public abstract class GeoMapElement : object, 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

Declaration
public Dictionary<string, string> DataList { get; }
Property Value
Type Description
Dictionary<System.String, System.String>
View Source

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

View Source

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

View Source

Thickness

Gets or sets the thickness of the map element

Declaration
public int Thickness { get; set; }
Property Value
Type Description
System.Int32
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
System.String uniqueKey

Unique indexer of the data item

System.String value

Value of the data item

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

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-2024 CADology Limited