Commit cf688f4
committed
PB-2068: Fix tracking being disabled when geolocation updates position.
- Fix TODO bug in setCenter that disabled tracking when geolocation updated the position
- Check dispatcher name to distinguish between geolocation updates and user map movements
- Always enable tracking unconditionally after geolocation activation
- This fixes the 3-phase bug where tracking would be disabled immediately after activation1 parent 4488348 commit cf688f4
File tree
2 files changed
+12
-7
lines changed- packages/viewer/src
- modules/map/components/toolbox
- store/modules/position/actions
2 files changed
+12
-7
lines changedLines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
| |||
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
| 53 | + | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
| |||
0 commit comments