Search
Map Members
Constructors Properties Methods Events
 


Represents a geographic map.

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

 Public Constructors

  Name Description

Map

Initializes a new instance of the Map class.

 Public Properties

  Name Description

BoundingBox

Returns the bounding box of all map shapes.

Database

Gets or sets the DBF database associated with the map file.

Shapes

Returns the list of map shapes.

ShapeType

Returns the shape type associated with this map.

 Public Methods

  Name Description

AssignColors

Assigns colors to polygon shapes in the map in such a way that no two adjacent polygons are painted in the same color.

ClearCache

Clears any cached values associated with the map for the current zoom level.

FromFile

Overloaded.  

FromXml

Creates and loads a map from the specified file.

HitTest

Overloaded.  

Latitude

Overloaded.  

LoadFromFile

Overloaded.  

LoadFromStream

Overloaded.  

LoadFromXml

Loads the map data from the specified OSM map file.

Longitude

Overloaded.  

SaveToFile

Saves the map to the specified file.

 Protected Methods

  Name Description

OnBeginLoad

Raises the BeginLoad event.

OnEndLoad

Raises the EndLoad event.

OnPropertyChanged

Raises the PropertyChanged event.

 Public Events

  Name Description

BeginLoad

Raised when the component starts loading map data from a file or memory stream.

EndLoad

Raised when the component ends loading map data from a file or memory stream.

PropertyChanged

Raised when the value of a property of the Map class is changed.

 See Also