Esri / arcgis-maps-sdk-swift-toolkit

Mapping components that will simplify your Swift app development with the ArcGIS Maps SDK for Swift.
https://developers.arcgis.com/swift
Apache License 2.0
29 stars 9 forks source link

`UtilityNetworkTrace` - Auto zoom to trace extent #958

Closed dfeinzimer closed 2 weeks ago

dfeinzimer commented 2 weeks ago

Closes #947

Aligns the component with the following design spec:

By default, the control will zoom to the trace result area. This feature can be disabled by setting the AutoZoomToTraceResults property of the control to false.

Behavioral changes:

https://github.com/user-attachments/assets/577a0aa1-59d6-441c-bd2b-28111196dba4

dfeinzimer commented 2 weeks ago

Does the design state that the extent should be buffered a bit to fully show the result (so it doesn't stretch right to the edge of the display)?

I'm not seeing any language about it in the spec but we do add a buffer here. Should we expand it a bit more?

mhdostal commented 2 weeks ago

Should we expand it a bit more?

No, that's fine. I missed that a buffer was already being applied. Thanks.