[]
        
(Showing Draft Content)

C1.Win.FlexReport.CustomFields.Maps.LayerBase

LayerBase Class

Abstract base class for map layer classes.

Implements
Namespace: C1.Win.FlexReport.CustomFields.Maps
Assembly: C1.Win.FlexReport.CustomFields.4.8.dll
Syntax
public abstract class LayerBase : MapOwnedKeyedItem, ILegendItem

Constructors

Name Description
LayerBase(Map)

Initializes a new instance of the LayerBase class.

Properties

Name Description
Caption

Gets or sets the current layer's caption. Used to represent the layer in legends.

DataSource

Gets or sets the name of the data source used to retrieve data for the layer.

DataSourceFilterExpr

Gets or sets the data source filter expression (only available when a non-default data source is used).

LegendItemCaption

Gets the layer item caption.

LegendItemDashStyle

Gets the legend item graphic's dash style (for line item kind).

LegendItemFillColor

Gets the legend item graphic's fill color.

LegendItemFont

Gets legend item font.

LegendItemKind

Gets the kind of a legend item.

LegendItemLineThickness

Gets the legend item graphic's line thickness in 96dpi pixels (for line item kind). Specify -1 to use the default.

LegendItemMarkerShape

Gets the legend item graphic's shape (for point marker item kind).

LegendItemMarkerSize

Gets the legend item graphic's marker size in 96dpi pixels (for point marker item kind). Specify -1 to use the default.

LegendItemStrokeColor

Gets legend item stroke color.

LegendItemTextColor

The legend item text color.

LegendItemVisible

Gets the layer item visibility value.

Opacity

Gets or sets the opacity factor applied to the layer.

PointsLocationExpressions

Gets the list of lists of location expressions. The outer list corresponds to the point or points associated with each record of the layer - i.e. for a points layer, that list will contain one element, for lines - two etc. The inner list for each point is the collection of location expressions. E.g. it can be Country, City, Address.

PointsLocations

Gets the List<LonLat<string>> of locations.

RecordSource

Gets or sets an SQL statement used to retrieve data for the layer.

Track

Gets or sets a value indicating whether spatial data from the current layer should be used to auto center/zoom the map.

Visible

Gets or sets the current layer's visibility.

Methods

Name Description
GetDefaultName(LayerBase)

Gets default name of map layer.

OnOwnerChanged()
ToString()