Using ArcGIS Online services in your Web application

You can add ArcGIS Online services as layers in your Web mapping applications. To access ArcGIS Online services, you make a connection to the ArcGIS Online server using Manager when creating your Web mapping application. By default, an ArcGIS Online connection is created for you when install ArcGIS Server through the use of an anonymous account. If you wish to use another account, or if you delete your connection to ArcGIS Online, you will need to re-create your connection by providing the ArcGIS Online services URL, user name, and password you wish to use.

This topic explains how to connect to ArcGIS Online services while building a Web application in Manager. For help with making an ArcGIS Online connection programmatically, or through the Web ADF's controls, see the ArcGIS Server Developer Help for your platform.

The Web mapping application below was created in Manager and uses an ArcGIS Online service.

Overlaying map caches in Web applications

Each ArcGIS Online service uses a cache of prerendered images to quickly display the map. Each image is called a tile. When designing your own map caches that will overlay the ArcGIS Online layers in a Web application, there are some special rules to follow about how you create your cache tiles. You can read about these in Overlaying your own caches with ArcGIS Online services in the Java Web ADF.

Accessing ArcGIS Online services in a Web mapping application

ArcGIS Server Manager contains a simple interface for creating a Web mapping application. The steps below explain how to use Manager to create an application that displays a map with an ArcGIS Online layer. Before performing these steps, you need to have registered to use ArcGIS Online services.

To add an ArcGIS Online service to your Web application, you will need to make a connection to the ArcGIS Online server:

Steps:
  1. Start Manager and click the Create a Web Application link.
  2. Specify a name for the Web application, then click Next.
  3. Click Add Layers.
  4. Click Add GIS Server if you do not see an existing connection to http://server.arcgisonline.com listed.
    1. Select ArcGIS Server Internet as the connection type and type http://server.arcgisonline.com/arcgis/services as the URL.
    2. Click Add. You will now see the server listed as an available server for creating your Web application.
  5. Double-click the ArcGIS Online service to see a list of available services.

  6. Continue creating your Web application by completing the remaining panels of the Manager wizard.

    Note: ArcGIS Online layers cannot be displayed in the Overview Map. You should either choose a different layer in the Overview Map Settings section or uncheck the option to include the Overview Map.

Related Topics


11/18/2013