Skip to content

Create and style vector tiles (2 of 7)

Use the portal to pre-style your feature layer using data-driven visualization.

style feature data
Pre-style a feature layer using data-driven visualization techniques.

Prerequisites

Steps

Go to the item page

Navigate to the item page of the hosted feature layer to access the styling tools.

  1. In the top navigation bar, click Content.

  2. Click the feature layer item created in the previous step to view its item page.

  3. Click Visualization in the top menu bar.

Style features

Style the features using the population attribute to create a color ramp that highlights population differences across states.

  1. In the left panel, click Layers and select the USA States Population layer.

  2. In the right panel, click Styles.

  3. Click + Field and add POPULATION.

  4. Under Pick a style, select Counts and Amounts (color).

  5. In the Theme dropdown menu, select High to low.
    pick a theme

  6. Click Style options.

  7. Click the pencil icon under Symbol style to modify the symbol style.

  8. Click the pencil icon under Colors to modify the color.

  9. In the Ramp menu, select a color ramp of your choice > Done.
    color ramp

  10. Click the X to exit out of Symbol style. Then, click Done twice.

  11. Click Save to save the style in the feature layer item.

Style text

Add labels to the layer so state names are visible on the map.

  1. In the right panel, click Labels.

  2. Click + Add label class.

  3. In the Label field dropdown menu, select STATE_NAME.

  4. Click Save to save the style in the feature layer item.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.