File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Shared/Samples/Show line of sight between geoelements Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,21 @@ struct ShowLineOfSightBetweenGeoelementsView: View {
7272 ) {
7373 Text ( " Observer Height " )
7474 } minimumValueLabel: {
75- Text ( Measurement ( value: heightRange. lowerBound, unit: UnitLength . meters) . formatted ( ) )
75+ Text (
76+ Measurement (
77+ value: heightRange. lowerBound,
78+ unit: UnitLength . meters
79+ ) ,
80+ format: . measurement( width: . abbreviated)
81+ )
7682 } maximumValueLabel: {
77- Text ( Measurement ( value: heightRange. upperBound, unit: UnitLength . meters) . formatted ( ) )
83+ Text (
84+ Measurement (
85+ value: heightRange. upperBound,
86+ unit: UnitLength . meters
87+ ) ,
88+ format: . measurement( width: . abbreviated)
89+ )
7890 }
7991 . listRowSeparator ( . hidden, edges: . top)
8092 }
You can’t perform that action at this time.
0 commit comments