Layer properties available in Manager

Once you've added some layers as described in Adding layers to a Web application in Manager, you can set properties such as the name, transparency, and position of the layer. The following properties are available:

To reorder the layers, use the up and down arrows between the Current Layers list and the Layer Properties list.

Setting properties for sublayers inside a layer

Clicking a sublayer inside a layer reveals additional properties for that sublayer. You'll see three categories of properties: Symbols, Records, and Fields. These properties allow you to specify how you want to draw and display attribute information for features in the sublayer. The Web Mapping Application uses these settings when identifying features and displaying task results as MapTips.

CautionCaution:

If you add, delete, or reorder layers in your source MXD or MSD after applying custom formatting in Manager, your custom formatting will be lost. The custom formatting depends on the index position of the layer in the source map table of contents (top layer is index 0, next layer or sublayer is index 1, and so on). If the layer is not found at the expected index, the formatting will not be applied. If you must change a layer index after applying custom formatting, you can manually edit the index position (id) in the <ResourceItems> section of the Web application's Default.aspx page.

Symbols

The Symbols category represents how the layer should draw its features found through executing a task, like the Search or Query Attributes task. These symbols are only used when drawing task results.

Symbols Category
  • Draw withAllows you to choose a symbol to represent the feature. This symbol displays over the feature and represents the feature. For point layers, you can choose from one of the many point symbols available with Manager. For line and polygon layers, you can set the specific properties such as line color and polygon color.
  • Highlight withAllows you to choose the symbol to highlight the feature, for example, when displaying its MapTip. You might want to choose the same symbol as the one specified for Draw with in a more vibrant color or larger size.

Fields

The Fields category controls the display of field attributes for the layer when viewed in tabular form, such as when printing task results.

Fields Category

You can check those fields that should be visible and type in a more user-friendly name with the field alias. The primary display field is used to summarize the record. For example, the Identify tool uses the primary display field in its results to help the user quickly recognize the record returned. Typically, the primary display field is a name field.

For ArcGIS Server map services, the settings you initially see in the Fields category reflect the field aliases, visibility, and primary display field as defined in the source map document (.mxd) for the map service. The settings you specify in Manager override the map document settings only for the particular Web application you're creating. If you want to reuse these settings in other Web applications, you should consider setting the field properties in the source map document using ArcMap instead of setting them in each Web application in Manager.

For services that are not ArcGIS Server services and don't provide field settings, all fields are visible by default, and the alias is the same as the field name. The primary display field is set by default to the first string field with "name" in it. If no such field is found, it is the first string field. If there are no string fields, it is the first numeric field.

Records

The Records category defines how to format the display of attribute information for an individual record in the layer. These settings define the content of the MapTip window that appears when you click a task result and the content of the Identify window that displays when using the Identify tool. For example, here's a MapTip showing information about a particular school.

Map Tip

If you don't specify any record formatting, you'll get a simple list of field names and values based on the field visibility and alias settings set on the Fields tab. Alternatively, you can choose to display records using your own custom formatting.

Records Category

To apply your own custom formatting to the records, click the Custom Formatting option to enable the text editor on this tab. You can set the title, or summary of the record, that appears in the title bar of the window and the contents or detailed information about the record.

  • TitleThe Title appears in bold text on the title bar of the MapTip window. You can type in static text and insert field values. The primary display field is the default value. Clicking the Fields drop-down arrow displays a list of fields allowing you to select one, inserting it into the text box at the current pointer location.
  • ContentsThe Contents area can contain static text, field attributes, hyperlinks, and images. By default, the Contents area is populated with visible fields by their aliases and the corresponding field values.

There are two ways you can edit the contents: in HTML view or Rich Text view. In HTML view, you can enter any valid HTML. In Rich Text view, you can use the toolbar to set the font name and size, as well as insert hyperlinks and images. Here are the list of tools available to you on the toolbar:

  • FontThe list of fonts available.
  • Font sizeThe font size: small, medium, or large.
  • BoldMakes the selected text bold.
  • ItalicMakes the selected text italic.
  • UnderlineUnderlines the selected text.
  • Text colorSets the color of the text.
  • Background colorSets the background color of the callout area.
  • UndoUndoes the last edit.
  • RedoRestores the previous undo.
  • Left justifyLeft aligns the line of text the cursor is in.
  • Center justifyCenters the line of text the cursor is in.
  • Right justifyRight aligns the line of text the cursor is in.
  • Numbered listCreates a numbered list.
  • Bullet listCreates a bullet list.
  • Insert tableInserts a table of the specified number of rows and columns.
  • Insert hyperlinkMakes the selected text a hyperlink (you first need to select some text). The URL is defined by typing text and including field attribute values to derive a link.
  • Insert imageInserts an image at the cursor location. The source of the image is a URL defined by typing text and including field attribute values.
  • Insert fieldInserts the value from a field. For a given feature, the actual attribute value will be substituted for the field reference. Curly brackets denote a field (for example, {Name}). The drop-down list will show all fields, regardless of field visibility, except for the Shape field, and any other nonalphanumeric fields.

Setting map display properties

At the bottom of the Layers tab is a set of map display properties. These allow you to configure the coordinate system and visible extent of the map in the Web application.

Rotated data frames

You can consume map services with rotated data frames in .NET Web applications built with Manager or the Web Application Developer Framework (ADF). The primary map resource determines the rotation of the map.

When using map services with rotated data frames, if your primary map resource is rotated, you cannot use nonrotatable service types, such as ArcIMS and WMS, in the same map. If you set the nonrotatable service as the primary map resource, the Web ADF will unrotate your rotated service on the fly so that it lines up with the nonrotatable service.

NoteNote:

Maps with rotated data frames cannot be cached. Also, you should not set EnableTileCaching = True on a Map control containing a map service with a rotated data frame.


3/6/2013