laptop and a wrench

Erro

The Zoom To Layer function on ArcGIS Pro Contents pane does not follow the layer's extent

Última Publicação: February 27, 2023 ArcGIS Pro
Número de ID do Erro BUG-000155165
EnviadoJanuary 18, 2023
Última ModificaçãoAugust 20, 2024
Aplica-se àArcGIS Pro
Versão encontrada2.7
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
Versão Fixa3.4
StatusAs Designed

Informações Adicionais

This is as designed. Zoom to layer via the Contents pane zooms to the geometry of the layer and applies a small buffer to ensure symbology is not cut off at the edges. With arcpy.mp, mf.camera.setExtent(mf.getLayerExtent(l, False, True)) zooms to the geometry. Optionally, use mf.camera.scale * 1.1 to approximate the buffer the UI does.

Solução Provisória

Use arcpy setExtent() to zoom to the layer's extent correctly.

Etapas para Reproduzir

ID do Erro: BUG-000155165

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