Search
MapContent Methods
 


 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