Class for working with map services exposed through the ArcGIS Server REST API. Use the CreateLayer method to add the map service to the Virtual Earth map.

Namespace:  ESRI.ArcGIS.VE
  (in ArcGISVE.exe)

Syntax

JScript
 class ArcGISLayerFactory

Remarks

Use the ArcGIS LayerFactory when you want to add a layer from ArcGIS Server to the Virtual Earth map. If the ArcGIS Server service is secured with tokens, you will need to supply an authentication token, either in the layer factory or by using a proxy page.

The CreateLayer method constructs the Virtual Earth layer, which can then be added to the map.

The GetResourceInfo method may be used when you want general information about an ArcGIS Server map service.

See Also