setMap(map) {
    this.unregisterListeners_();
    super.setMap(map);
    if (this.getActive()) {
      this.registerListeners_();
    }
  }
Remove the interaction from its current map and attach it to the new map.
Subclasses may set up event handlers to get notified about changes to
the map here.
@param {import("../Map.js").default} map Map.
@override