code: function() {
          for (const lk of listenerKeys_) {
            olEventsUnlistenByKey(lk);
          }
          listenerKeys_.length = 0;
          if (scope.$eval(attrs['ngeoMapQueryAutoclear']) !== false) {
            ngeoMapQuerent.clear();
          }
        }
docs: Unlisten the map events.