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