| Bug-ID-Nummer |
BUG-000155165 |
| Eingereicht | January 18, 2023 |
| Zuletzt geändert | August 20, 2024 |
| Gilt für | ArcGIS Pro |
| Gefunden in Version | 2.7 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 64 Bit |
| Behoben in Version | 3.4 |
| Status | As Designed
Nach Überprüfung durch das Entwicklungsteam wurde festgestellt, dass dieses Verhalten wie geplant ist. Weitere Informationen finden Sie im Abschnitt "Zusätzliche Informationen".
|
Zusätzliche Informationen
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.
Workaround
Use arcpy setExtent() to zoom to the layer's extent correctly.
Schritte zur Reproduzierung