Developing Web Applications with the Web ADF  

Working with graphics

Drawing graphics on a Web ADF map can be accomplished using techniques available in each tier of a Web ADF application: client, Web, and server. Each tier is associated with a different development environment and thus a different means for rendering graphic elements on a map is utilized.  Since the Web ADF is designed to consolidate multiple data sources in a single application, it offers a rich Web-tier and client-tier solutions for generating and managing graphic content.  However, it is important to understand how the Web ADF utilizes graphics.  The diagram below illustrates where graphics layers can be created and rendered in each tier.  The Web ADF includes a public JavaScript library which provides the components to create graphics that reside solely on the client browser.  The Web ADF also manages a set of map resources on te Web-tier, including the types Web ADF graphics, ArcGIS Server and ArcIMS.   ADF Graphics map resources are used to manage Web-tier graphics layers and render them in the Web-tier as a map image or render on the client using ADF JavaScript graphic features.   Both the ArcGIS Server and ArcIMS map resources use their respective service capabilities in the server-tier to create a graphics layer and merge it other map data layers in a single map image.  Assuming browser blending is enabled for the Web ADF Map control, each map image will be overlayed in the browser in the order of the Web ADF resources.   The sections below cover different options available in each tier and how they apply to the Web ADF in more detail.