ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Send comments on this topic.
MapFunctionality Class
See Also  Members  
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace : MapFunctionality Class


Provides methods and properties for displaying maps in the Web ADF through an ArcGIS Server service.

Object Model


Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class MapFunctionality 
   Implements IGISFunctionality, IMapFunctionality, ISupportsLayerInfo, ISupportsRotation 
Visual Basic (Usage)Copy Code
Dim instance As MapFunctionality
C# 
[SerializableAttribute()]
public class MapFunctionality : IGISFunctionality, IMapFunctionality, ISupportsLayerInfo, ISupportsRotation  

Remarks

MapFunctionality enables clients working with the Web ADF to generate and display maps and perform related mapping tasks. A MapFunctionality is obtained through a map resource--for ArcGIS Server, specifically a MapResourceInternet (for Internet/Web service connections) or MapResourceLocal (for Local connections). The map resource's CreateFunctionality method may be used to obtain a MapFunctionality object. However, if working with a Map control, a more direct way is to use the Map.GetFunctionalities or Map.GetFunctionality methods.

With the MapFunctionality, you can generate a map with the DrawExtent method. This might be useful if you are not using a Map control on your page. You can also turn layers on and off with SetLayerVisibility. You can obtain information about layers with the GetLayerInfo method.

This MapFunctionality class is the implementation of IMapFunctionality for ArcGIS Server services. You can work at the generic interface level so that your code will also function with any Web ADF data source (ArcIMS, OGC WMS, etc.).

For a discussion of functionalities in the Web ADF, see the topic Working with resources and functionalities in the Developer Help (also available available online at the ESRI Developer Network).

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapFunctionality

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

© 2009 All Rights Reserved.