Visual Basic (Declaration) | |
---|---|
Public MustInherit Class MapLayer |
C# | |
---|---|
public abstract class MapLayer |
You can subclass a MapLayer if you want to nest a dataset in the MapLayer pile. A good example would be a shapefile or a SDCLayer. The data for a MapLayer shouldn't change often and shouldn't generate too many screen refreshes.
Unlike the original MobileCacheLayer, which represents the map data defined on the Server, MapLayer is exposed through the Map control, and hence determines how MapLayer is presented to the end user on display, allowing its properties (like name, visibility, or Opacity) to be modified.
To see the difference between MapLayer and MapGraphicLayer, see MapGraphicLayer.
A couple of MapLayer properties are available to customize the display of map through Map control, such as MinScale, MaxScale, Opacity, Visible, etc.
Map labels are represented by the LabelClass.
ESRI.ArcGIS.Mobile.MapLayer
ESRI.ArcGIS.Mobile.DataProducts.RasterData.TileMapLayer
ESRI.ArcGIS.Mobile.DataProducts.StreetMapData.StreetMapLayer
ESRI.ArcGIS.Mobile.FeatureCaching.MobileCacheMapLayer
ESRI.ArcGIS.Mobile.SingleColorMapLayer
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