Skip to content

Commit

Permalink
Fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasstein committed Aug 13, 2024
1 parent e4d2c04 commit 8f755e6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ export default class TimeSliderTocActionDefinitionFactory {
},

trigger(tocItem: any) {
if (that.serviceRegistration) {
that.serviceRegistration.unregister();
that.serviceRegistration = null;
}
const layer = tocItem.ref as ExtendedLayer;
const controller = timeSliderWidgetController;
const timeSliderProperties = tocItem.ref.timeSlider;
Expand Down

0 comments on commit 8f755e6

Please sign in to comment.