laptop and a wrench

Erro

When the option 'Only show features visible in the map extent' is enabled, the legend does not exclude features which are not visible in the map extent and additional layers are added.

Última Publicação: April 1, 2021 ArcGIS Pro
Número de ID do Erro BUG-000138402
EnviadoMarch 23, 2021
Última ModificaçãoSeptember 5, 2025
Aplica-se àArcGIS Pro
Versão encontrada2.7.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

This is expected behavior. The Feature Display Option "Only show features visible in the map extent" is a property on legend items and not a property set on the legend. Items (layers) added to the legend uses the default setting. The system default is to have "Only show features visible in the map extent" checked off and the legend item is displayed in the legend even if there are no features visible in the current map extent. If user wants to have the "Only show features visible in the map extent" option checked, this must be done manually for each new item to the legend, or set a new legend item default with this option checked on. From the "Work with a legend item" help topic (https://pro.arcgis.com/en/pro-app/latest/help/layouts/work-with-legend-items.htm) “Legend items can be preformatted using default settings. Right-click the legend item and click Save as Default to change the default settings. When additional legend items are added to the legend, they will conform to the last saved default.”

Solução Provisória

Using a Python Script within a task model allowed the customer to manipulate the software to bypass adding the layer to the legend.

Etapas para Reproduzir

ID do Erro: BUG-000138402

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download