![]() ![]() |
ESRI.ArcGIS.ADF.Web.DataSources.IMS | |
MapFunctionality Class | |
Members See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace : MapFunctionality Class |

Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class MapFunctionality Implements ESRI.ArcGIS.ADF.Web.DataSources.IGISFunctionality, ESRI.ArcGIS.ADF.Web.DataSources.IMapFunctionality, ESRI.ArcGIS.ADF.Web.DataSources.ISupportsLayerInfo |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As MapFunctionality |
C# | |
---|---|
[SerializableAttribute()] public class MapFunctionality : ESRI.ArcGIS.ADF.Web.DataSources.IGISFunctionality, ESRI.ArcGIS.ADF.Web.DataSources.IMapFunctionality, ESRI.ArcGIS.ADF.Web.DataSources.ISupportsLayerInfo |
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 ArcIMS, specifically an ArcIMS MapResource. 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, and cast the returned IMapFunctionality to the ArcIMS-specific MapFunctionality if needed.
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 the IDs and names of layers with the GetLayers method.
To work with the ArcIMS-specific API, you can use MapView to obtain a reference to the ArcIMS ESRI.ArcGIS.ADF.IMS.Carto.MapView. The MapView allows you to work with ArcIMS layers, coordinate systems, rendering, etc.
This MapFunctionality class is the implementation of IMapFunctionality for ArcIMS services. You can work at the generic interface level so that your code will also function with any Web ADF data source (ArcGIS Server, OGC WMS, etc.).
For a discussion of functionalities in the Web ADF, see the topic Working with resources and functionalities in the Developer Help.
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
Reference
MapFunctionality MembersESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace
T:ESRI.ArcGIS.ADF.Web.DataSources.IMapFunctionality