Available map elements for Web applications
The following list defines the available map elements and provides tips for configuring each:
- Table of contents—Displays the layers in the map and optionally allows users to check them on and off. You can choose not to show symbology in the table of contents, which may improve performance.
-
Overview map—Shows the user's position on the main map relative to a smaller-scale inset map. In some cases, you might want your overview map and your main map to come from different map services. Be aware that if you use a cached map for the overview map, the smallest-scale image will need to be resampled to fit the overview map size, and the display quality may be less than expected. To work around this, create the cache at a very small scale, or use a noncached service for the overview map.
You can set either a static or interactive mode for the overview map. By default, the mode is static, which results in the best performance. If your application requires that the overview map be closely in sync with the map, you can choose the interactive mode. In interactive mode, the overview map extent updates automatically whenever the Web application user zooms or pans the map. The user can also resize the area of interest box.
- Magnifier—The magnifier displays an enlarged view of a small area on your map. You can specify which map layer to display in the magnifier by selecting a map resource from the drop-down list.
For instance, if you had two layers, one displaying city boundaries and another displaying high-resolution orthoimagery, you could specify to display the orthoimagery in the magnifier to help the user visualize what features are located in a specific part of the city.
- Toolbar—Contains tools for zooming, panning, identifying, and magnifying the map. You cannot add or remove tools from the toolbar using Manager, but you can do this if you edit the application in Microsoft Visual Studio.
- Navigation—Allows users to pan the map by clicking the mouse over the edges of the control. You can specify an image for the Navigation control (this is the default), or you can pick a north arrow from the ESRI North font or another font that you provide.
- Scale bar—Displays the relation between distance on the screen and distance on the ground. The scale bar will only appear if you are using the default extent and coordinate system of an ArcGIS Server service or an ArcIMS image service. You can set the units in Manager, as well as the bar and text color. Set these colors with your map in mind. You'll want to use light colors if your map is generally dark and dark colors if your map is light.
- Zoom level—Restricts users to specific scales in your map through a slider control, common to many Web mapping sites. You can use the zoom level slider to easily jump between known scale levels. The zoom level slider is especially appropriate for cached services, since the Web application limits users to viewing the cached scales only.
- Map copyright text—Makes a copyright link available on your application, which users can click to see any copyright information for the service. If you've configured any Credits information in the data frame or layer properties in your map service's source map document, the information is displayed when you click this link.
If you prefer not to edit the map document or if the map document is inaccessible to you, you can configure copyright text in Manager by clicking Map Copyright Text on the Map Elements panel or tab. The Label text displays as a link on the map, and the Description appears in a pop-up window when you click the link. If you enter some label text, you must also enter a description.
It's also possible to use Manager to customize the label text while allowing the description to come from the Credits box in the map document. In this scenario, you can leave the Description box blank.
- Zoom to scale—Displays a box allowing users to zoom to different scales on the map. If one of the map service layers in the application is cached, the box is a drop-down list containing the cached scales. If none of the map service layers in the map are cached, the user can type a scale in the box. This map element has no configurable properties.