MindFusion.Wpf Pack Programmer's Guide
MapLayer Members
Constructors Properties Methods Events
 


Represents a map layer containing geometric shapes.

The following tables list the members exposed by the MapLayer type.

 Public Constructors

  Name Description

MapLayer

Initializes a new instance of the MapLayer class.

 Public Properties

  Name Description

AutoAssignColors

Gets or sets whether colors should be assigned automatically to map elements.

BoundingBox

Layer.BoundingBox override.

DatabaseLocation

Gets or sets the URL of the DBF database file.

EnableHighlight

Gets or sets whether map elements should be automatically highlighted when the mouse hovers over them. (Inherited from Layer.)

EnableSelection

Gets or sets whether map elements should be selected when the user clicks them. (Inherited from Layer.)

FillColors

Gets or sets the colors used to fill map elements on this layer. (Inherited from Layer.)

HighlightColor

Gets or sets the color used to highlight elements on this layer. (Inherited from Layer.)

LabelField

Gets or sets the name of the label column in the DBF database.

LabelsLoaded

Gets or sets whether the map element labels have been loaded.

LineColor

Gets or sets the line color used to draw elements on this layer. (Inherited from Layer.)

Map

Gets or sets the Map whose elements should be rendered on this layer. (Inherited from MapLayerBase.)

MapLocation

Gets or sets the URL of the shapefile map file.

Palette

Gets or sets the color palette associated with this layer. (Inherited from Layer.)

Selection

Gets the list of selected map shapes. (Inherited from MapLayerBase.)

Visible

Gets or sets whether this layer should be visible in the map view. (Inherited from Layer.)

 Public Methods

  Name Description

ClearCache

Layer.ClearCache override. (Inherited from MapLayerBase.)

Draw

Layer.Draw override. (Inherited from MapLayerBase.)

DrawHighlights

Overrides Layer.DrawHighlights. (Inherited from MapLayerBase.)

DrawLabels

Layer.DrawLabels override. (Inherited from MapLayerBase.)

Highlight

Layer.Highlight override. (Inherited from MapLayerBase.)

HitTest

Layer.HitTest override. (Inherited from MapLayerBase.)

Select

Overloaded. Selects one or more map elements. (Inherited from MapLayerBase.)

Toggle

Layer.Toggle override. (Inherited from MapLayerBase.)

 Protected Methods

  Name Description

OnAsyncDatabaseLoadComplete

Raises the AsyncDatabaseLoadComplete event. (Inherited from Layer.)

OnAsyncLoadComplete

Raises the AsyncLoadComplete event. (Inherited from Layer.)

OnPropertyChanged

Raises the PropertyChanged event. (Inherited from Layer.)

 Public Events

  Name Description

AsyncDatabaseLoadComplete

Raised when an asynchronous database-read operation is completed. (Inherited from Layer.)

AsyncLoadComplete

Raised when an asynchronous shapefile-read operation is completed. (Inherited from Layer.)

PropertyChanged

Raised when the value of a property of the Layer class is changed. (Inherited from Layer.)

 See Also

MapLayer Class
MindFusion.Mapping.Wpf Namespace