diff --git a/js/src/mapviewmodel.js b/js/src/mapviewmodel.js index 1a7e74c..6cd7b8a 100644 --- a/js/src/mapviewmodel.js +++ b/js/src/mapviewmodel.js @@ -158,6 +158,7 @@ export default class MapViewModel extends ViewModel { uObserve.observe(track, 'positions', () => { this.displayTrack(track, false); this.api.zoomToExtent(); + this.toggleStyleOptions(); }); this.displayTrack(track, true); }