A newer version of this page is available. Switch to the current version.

MapControl.MiniMap Property

Gets or sets the mini map of the map control.

Namespace: DevExpress.Xpf.Map

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


public MiniMap MiniMap { get; set; }
Public Property MiniMap As MiniMap

Property Value

Type Description

A MiniMap object.


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.
    <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