Setting a layer's scale dependency expand/collapse all
Related Topics

Setting the scale dependency of symbols and renderers

Setting the scale dependency of labels

expand/collapse item About scale dependency

You can control the scale at which a layer displays by setting maximum and minimum display scales or scale factors. For example, you might set maximum and minimum scale factors to make a streets layer appear and a highway layer disappear when you zoom in beyond a particular scale.

Adding scale dependencies to a layer is one of the easiest ways to improve performance of your service. Layers should be displayed only when they are meaningful within the context of your application. The ultimate goal is to minimize the amount of data at any given scale. The less data there is to process, the faster the response can be generated.

Adding scale dependency to a layer can also improve the appearance and usefulness of a map by removing clutter when zoomed out and adding detail when zoomed in.

You can create scale dependency for a layer by setting the maximum and minimum scale factors

expand/collapse item How to set scale dependencies

expand/collapse item Setting and removing scale factors using the General tab of the Layer Properties dialog

  1. Click a layer in the legend to make it active.
  2. Click the Layer Properties button Layer Properties on the Author toolbar to open the Layer Properties dialog box.
  3. Click the General tab.
  4. To add scale factors, click Only show layer in the following scale range.
  5. In the Never below text box, type a scale factor below which the layer won't display.
  6. In the Never above text box, type a scale factor above which the layer won't display.
  7. Scale factors have been added.

  8. To remove scale factors, click Always show layer to make the layer visible at all scales.
  9. Scale factors have been removed.

  10. Click OK to apply your changes and to close the Layer Properties dialog box.

expand/collapse item Setting and removing scale factors using the Set Scale Factors tools

  1. Click the Zoom In Zoom In or Zoom Out button Zoom Out on the Author toolbar, and drag a box around the area to zoom in to or out from.
  2. Click a layer in the legend to make it active.
  3. Right-click the layer, and click Scale Factors.
  4. Click Set Minimum Scale Factor to make the layer disappear when zoomed in beyond this scale.

    Click Set Maximum Scale Factor to make the layer disappear when zoomed out beyond this scale.

  5. Click Remove Scale Factors to remove scale dependency from the layer.

expand/collapse item Tips

Layers in the legend

If scale factors have been set, a layer will not appear in the legend when the map is zoomed in or out beyond the specified scale range.

Scale dependency of layers versus scale dependent renderers

When you set scale factors for a layer, the layer will not appear on the map or in the legend when you are zoomed in or out beyond the specified scale range. This is different than setting the scale dependency of symbols and renderers. When you zoom in or out beyond a renderer's visible scale range, that renderer does not display, but all other renderers associated with the same layer do. Also, the layer still appears in the legend.



Search code: @author_layer_scaledep