MindFusion.Wpf Pack Programmer's Guide
Customizing the Map

Maps can be customized by assigning labels to the map elements, by specifying new colors, or by adding decoration images.

To set an element's label, assign to the Label property of MapElement. The label is diplayed using the font set through the FontName and FontSize properties. Note that labels can be automatically loaded from the Shapefile database by passing a column name as third argument of the LoadFromStream method.

Colors of map elements can be set via the Color property of the Shape class. This property specifies an index within the layer's palette. The palette colors can be customized via the FillColors property of the Layer class. By default, all shapes are painted using the same color. The AssignColors method lets you automatically assign colors in such a way that no adjacent shapes share the same color.