Style categories (Map Viewer Classic)


This topic includes information related to Map Viewer Classic. An enhanced map viewer is now available. Open Map Viewer from the app launcher to get started. To learn more, see the Map Viewer help documentation.

Map Viewer Classic allows you to explore your data through a variety of smart mapping styles. When you use Change Style in Map Viewer Classic, the nature of your data determines the styling suggestions you see by default. Once you decide how you want to present the layer, you can make changes to its appearance that are immediately reflected on the map. With Map Viewer Classic, you have control over styling elements such as color ramps, line weights, transparency, and symbols.

Sometimes you want to see how your data is distributed by category. Use the Types (Unique Symbols) style or the Types and Size style to do this.

Types (Unique symbols)

Use unique symbols to show different types of things (categorical data), not counts or numeric measurements. For example, you can use different colors to represent different rail lines in the city. See an example.


There is an absolute limit of 200 unique values, although only 10 colors are used, so the same color may represent multiple categories. This means that unique symbols work best with 2 to 10 categories of things—for example, restaurant types, tree species, and political parties.

To style your data by type using unique symbols, do the following:

  1. Follow the first four steps in the change style workflow.
  2. Use the drop-down list under Choose an attribute to show to specify the field that contains the values on which to base the layer's style.
  3. Click the Types (Unique symbols) style and click Options.
  4. Do any of the following:
    • To change all the map symbols at once, click Symbols. For more information, see Change symbols.
    • To customize any of the categories individually, click the colored symbol beside each category in the list. Depending on whether your data is points, lines, or areas, you will see appropriate styling options for each type of symbol. For example, if your data is points, you can change the shape, fill color, stroke, and size of the point symbol.
    • To reorder the categories, drag a category up or down in the list.
    • Ideally, your layer should show fewer than 10 categories; more than 10 are difficult to distinguish by color alone. If you have more than 10 categories in your data, the 10 with the highest counts are shown, and those remaining are automatically grouped into the Others category. If the counts of your features can't be determined, the first 9 categories alphabetically are listed individually, and the rest are grouped in the Others category. To ungroup these observations one at a time, drag them out of the Others list and into the main list or click Move value out Move value out. To ungroup all of these observations at the same time, click Ungroup Ungroup. To hide features in Others, uncheck the box. To show them, keep the box checked.
    • To calculate and set the optimal visible range, click Suggest next to the Visible Range slider. You can also manually set the visible range by moving the slider.
    • To change the transparency for the overall layer, move the Transparency slider to the left (less transparent) or the right (more transparent). To adjust the transparency applied to any individual category, click the color chip beside the category name. To adjust the transparency of unique locations per feature, click Attribute Values, choose an attribute field, optionally choose an attribute to divide by (for normalizing the data), and set a transparency range. You can only use this option if you have numeric or date data associated with your locations. For example, if your layer contains restaurant sales data, you can choose Type for the restaurants and set the transparency of the individual restaurants by their annual sales. If you want to hide the transparency ramp in the legend, uncheck the Show in legend box.

      You can also use a custom attribute expression written in Arcade when setting transparency for features. Arcade expressions are supported for all styles except Heat map, Predominant Category, Predominant Category and Size, and the Age styles. If the layer has an existing rendering expression, you can select it from the bottom of the drop-down menu. Optionally, you can edit the expression directly in Map Viewer Classic by clicking the Edit Expression button and making changes in the editor window.

      In addition, you can create a custom expression by selecting New Expression from the drop-down menu and using the editor window to create the expression, including giving it a name. If an expression was previously created for the layer for use in labels or pop-ups, you can use it to build the expression by selecting it from the Existing tab in the editor window.

  5. Click OK when you are finished customizing your style, or click Cancel to go back to the Change Style pane without saving any of your choices.

Types and Size

This style allows you to represent your data using different sizes and different categories by color. Choose a text, date, or numeric field for unique values and a numeric field for size values, and adjust each attribute's map symbol settings as needed. For example, use this style to show a count attribute, such as the annual average of daily traffic on Florida roads, and use a unique color for each value found in another field, such as the district. See an example.

To style two attributes using unique values and size, do the following:

  1. Follow the first four steps in the change style workflow.
  2. Choose the first attribute to show.
  3. Click Add attribute and choose the second attribute to show.
  4. Click the Types and Size style and click Options.
  5. Apply options to Unique symbols (first attribute) and Size (second attribute).