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

Returns the MapLayerCollection that's used by the map component.

Syntax

Visual Basic (Declaration) 
<CompilerGeneratedAttribute()>
Public ReadOnly Property MapLayers As MapLayerCollection
C# 
[CompilerGeneratedAttribute()]
public MapLayerCollection MapLayers {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

Target 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

© 2013 All Rights Reserved.