PROBLEM

Legend appears too large or too small for an ArcMap service

Last Published: April 25, 2020

Description

A legend from an ArcMap service appears too small or too large when requesting it using an HTML or Custom viewer.

Cause

The autoextend property for the GET_LEGEND AXL request may be set equal to false.

Solution or Workaround

Check if autoextend = false in the request for legend is used.

Always use autoextend = true if the exact width and height for the legend is unknown. The width and height of the legend then defaults to the maximum width and height required for displaying the legend elements.

    Article ID:000005117

    Software:
    • Legacy Products

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options

    Discover more on this topic