Search
MapContent Members
Properties Methods
 


Represents the content of a map file.

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

 Public Properties

  Name Description

Map

Gets or sets the Map wrapped by this MapContent.

 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.

AssignColors

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

Draw

Draws this MapContent on the specified graphics surface.

FromFile

Overloaded. Creates a MapContent object from the specified map file.

FromXml

Creates a MapContent object from the specified OSM file.

Transform

Gets a matrix representing the transformation from layer to screen coordinates.

 See Also