Search
Layer(TColor, TPalette) Members
Constructors Properties Methods Events
 


Represents a map layer.

The following tables list the members exposed by the Layer(TColor, TPalette) type.

 Public Constructors

  Name Description

Layer

Initializes a new instance of the Layer class. (Inherited from Layer.)

 Public Properties

  Name Description

BoundingBox

Returns the bounding box of elements in this layer. (Inherited from Layer.)

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.)

LineColor

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

Palette

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

Visible

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

 Public Methods

  Name Description

ClearCache

Clears any cached values associated with the layer for the current zoom level. (Inherited from Layer.)

Draw

Overloaded.   (Inherited from Layer.)

DrawHighlights

Draws the layer's highlighted elements on the specified canvas. (Inherited from Layer.)

DrawLabels

Draws the labels of elements of this layer on the specified canvas. (Inherited from Layer.)

Highlight

Highlights the specified map element. (Inherited from Layer.)

HitTest

Returns the map element located at the specified point. (Inherited from Layer.)

Select

Overloaded.   (Inherited from Layer.)

Toggle

Toggles the selection state the specified map element. (Inherited from Layer.)

 Protected Methods

  Name Description

OnAsyncDatabaseLoadComplete

Raises the AsyncDatabaseLoadComplete event. (Inherited from Layer.)

OnAsyncLoadComplete

Raises the AsyncLoadComplete event. (Inherited from Layer.)

OnBeginLoad

Raises the BeginLoad event. (Inherited from Layer.)

OnEndLoad

Raises the EndLoad 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.)

BeginLoad

Raised when the component starts loading map data from a file or memory stream. (Inherited from Layer.)

EndLoad

Raised when the component ends loading map data from a file or memory stream. (Inherited from Layer.)

PropertyChanged

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

 See Also