Gets or sets a map that drives the content presented in the map display.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public Map Map { get; set; }
Visual Basic (Declaration)
Public Property Map As Map

Field Value

A Map object that stores the maps content.

Remarks

The Map is primarily used to contain and organize map content or MapItems; A Map cannot be explicitly instantiated; it is always obtained using the MapDisplay.Map property. The ChildItems property enables you to manage the content stored by a map; it is a MapItemCollection that you can add to and remove from. Add a MapItem to the collection and it will be added to the Map in the application. The ArcGIS Explorer application will respond in different ways depending on the type of MapItem you add. All ChildItems will be displayed in the application content window, however only MapItems with associated graphics (Notes) or spatial data (Layers) will be drawn on the Map.

The order of the Map.ChildItems collection dictates the order in which items are presented in the ArcGIS Explorer contents window. By default, items are added to the end of the collection and will display at the bottom of the content hierarchy. If you wish to add items to the top of the hierarchy use the MapItemCollection.AddFirst method.The order of the Map.ChildItems collection does not influence drawing order of layers or image overlays contained by the Map.

See Also