ESRI.ArcGIS.Mobile
MapGraphicLayers Property
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > Map Class : MapGraphicLayers Property

Returns the collection of MapGraphicLayers that's associated with the map.

Syntax

Visual Basic (Declaration) 
<CompilerGeneratedAttribute()>
<DesignerSerializationVisibilityAttribute()>
<DescriptionAttribute("The collection of MapGraphicLayers.")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.Mobile.Designer.MapGraphicLayerCollectionEditor, ESRI.ArcGIS.Mobile.Designer, Culture=neutral")>
<CategoryAttribute("Map")>
Public ReadOnly Property MapGraphicLayers As MapGraphicLayerCollection
C# 
[CompilerGeneratedAttribute()]
[DesignerSerializationVisibilityAttribute()]
[DescriptionAttribute("The collection of MapGraphicLayers.")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.Mobile.Designer.MapGraphicLayerCollectionEditor, ESRI.ArcGIS.Mobile.Designer, Culture=neutral")]
[CategoryAttribute("Map")]
public MapGraphicLayerCollection MapGraphicLayers {get;}

Remarks

Data from various DataSources associated with Map component can be rendered. Generally you can have FeatureLayer, RasterLayer, or AnnotationLayer from a local MobileCache. You can also manually add a TileServiceMapLayer to your map's MapLayers collection and use it as a base map. Besides these layers, developers can also implement a custom layer that draws data from other sources (such as GeoRSS). All these layers belong to the MapLayers collection and is managed by Map component for drawing purpose.

The MapGraphicLayer, on the other hand, can be used to show a small amount of geometries/graphics/icons that need to be rendered on top of the other MapLayers. For example, the MapGraphicLayer can be used to show the location of your team-members for real-time tracking purpose.

Please note that MapGraphicLayers will be drawn on top of MapLayers.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also