Speed, altitude checkbox not re-enabled after latest position (fixes #148)
This commit is contained in:
parent
d418df6234
commit
56c8c90210
@ -158,6 +158,7 @@ export default class MapViewModel extends ViewModel {
|
|||||||
uObserve.observe(track, 'positions', () => {
|
uObserve.observe(track, 'positions', () => {
|
||||||
this.displayTrack(track, false);
|
this.displayTrack(track, false);
|
||||||
this.api.zoomToExtent();
|
this.api.zoomToExtent();
|
||||||
|
this.toggleStyleOptions();
|
||||||
});
|
});
|
||||||
this.displayTrack(track, true);
|
this.displayTrack(track, true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user