ASP.NET Pack Programmer's Guide
StreetMapLayer Members
Constructors Properties Methods Events
 


Represents a map layer containing open street maps.

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

 Public Constructors

  Name Description

StreetMapLayer

Initializes a new instance of the StreetMapLayer class.

 Public Properties

  Name Description

BoundingBox

Layer.BoundingBox override. (Inherited from MapLayerBase.)

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

FileName

Gets or sets the name of the OSM map file.

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

Map

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

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

AddBrush

Adds a brush to the list of brushes used for shapes rendering.

AddPen

Adds a pen to the list of pens used for shapes rendering.

ClearCache

Layer.ClearCache override.

Draw

Layer.Draw override.

Draw

Layer.Draw override. (Inherited from MapLayerBase.)

DrawHighlights

Overrides Layer.DrawHighlights. (Inherited from MapLayerBase.)

DrawLabels

Layer.DrawLabels override. (Inherited from MapLayerBase.)

DrawStreetMap

Layer.DrawStreetMap override. (Inherited from MapLayerBase.)

Highlight

Layer.Highlight override. (Inherited from MapLayerBase.)

HitTest

Layer.HitTest override. (Inherited from MapLayerBase.)

LoadFromXml

Loads the map data from the specified OSM map file.

Select

Layer.Select override.

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

OnBeginLoad

Raises the BeginLoad event. (Inherited from MapLayerBase.)

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

StreetMapLayer Class
MindFusion.Mapping.WebForms Namespace