You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

MiniMapLayerCollection Class

A collection of mini map layers.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v21.2.dll


public class MiniMapLayerCollection :

The following members accept/return MiniMapLayerCollection objects:


An object of this class can be accessed using the MiniMap.Layers property.


To add a mini map to the map, do the following.

  1. Create a MiniMap object and assign it to the MapControl.MiniMap property.
  2. Add MiniMapLayerBase class descendant object to the MiniMap.Layers collection to display them on the mini map.
  3. Customize the appearance of the mini map. Use the Height, Width and MiniMap.Alignment properties of the MiniMap object.
  4. Configure the mini map’s behavior. To do this, specify the MiniMap.Behavior property.

View Example

    <dxm:MiniMap Height="210" Width="280" Alignment="TopRight">
            <dxm:FixedMiniMapBehavior ZoomLevel="3">
                    <dxm:GeoPoint Longitude="146" Latitude="-38"/>
            <dxm:BingMapDataProvider BingKey="{Binding Source={StaticResource bingKey}}"/>
        <dxm:MiniMapVectorLayer ShapeFill="Red">
            <dxm:ListSourceDataAdapter DataSource="{Binding Source={StaticResource data}, XPath=Ship}">
                    <dxm:MapDotSettings Size="10"/>
                    <dxm:MapItemMappingInfo Longitude="Longitude" Latitude="Latitude"/>
See Also