Commit d0d7f35
committed
Added getRotationLabel helper: Created a function in index.js:231 to convert rotation degrees (0, 90, 180, 270) into their corresponding labels ("North-up", "East-up", etc.).
Updated handleDistanceModalConfirm: Modified the toast message in index.js:1042 to dynamically include the selected rotation label when a 1-point calibration becomes active after setting the scale.
Updated handleOneTapClick: Modified the toast message in index.js:1137 to dynamically include the selected rotation label when a 1-point calibration is active after pinning a location1 parent 1335e37 commit d0d7f35
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
231 | 241 | | |
232 | 242 | | |
233 | 243 | | |
| |||
1029 | 1039 | | |
1030 | 1040 | | |
1031 | 1041 | | |
1032 | | - | |
| 1042 | + | |
| 1043 | + | |
1033 | 1044 | | |
1034 | 1045 | | |
1035 | 1046 | | |
| |||
1123 | 1134 | | |
1124 | 1135 | | |
1125 | 1136 | | |
1126 | | - | |
| 1137 | + | |
| 1138 | + | |
1127 | 1139 | | |
1128 | 1140 | | |
1129 | 1141 | | |
| |||
0 commit comments