MindFusion.Mapping Programmer's Guide

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. Creates and loads a map from a file.

HitTest

Overloaded. Returns the Shape that contains a specified point.

Latitude

Overloaded. Converts latitude to its representation as a double value.

LoadFromFile

Overloaded. Loads the map data from an ESRI file.

LoadFromStream

Overloaded. Loads the map data from a stream.

Longitude

Overloaded. Converts longitude to its representation as a double value.

SaveToFile

Saves the map to the specified file.

 Protected Methods

  Name Description

OnPropertyChanged

Raises the PropertyChanged event.

 Public Events

  Name Description

PropertyChanged

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

 See Also