laptop and a wrench

漏洞

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

上次发布: February 27, 2023 ArcGIS Pro
漏洞 ID 编号 BUG-000155165
已提交January 18, 2023
上次修改时间August 20, 2024
适用范围ArcGIS Pro
找到的版本2.7
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本3.4
状态As Designed

附加信息

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.

解决办法

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

重现步骤

漏洞 ID: BUG-000155165

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项