src/query/mapQueryComponent.js
function() {
        listenerKeys_.push(
          olEventsListen(map, 'singleclick', handleMapClick_)
        );
        const queryOptions = /** @type {import('ngeo/query/MapQuerent.js').QueryOptions} */ (
          $injector.has('ngeoQueryOptions') ? $injector.get('ngeoQueryOptions') : {}
        );
        if (queryOptions.cursorHover) {
          listenerKeys_.push(
            olEventsListen(map, 'pointermove', handlePointerMove_)
          );
        }
      }
function() {
        listenerKeys_.push(
          olEventsListen(map, 'singleclick', handleMapClick_)
        );
        const queryOptions = /** @type {import('ngeo/query/MapQuerent.js').QueryOptions} */ (
          $injector.has('ngeoQueryOptions') ? $injector.get('ngeoQueryOptions') : {}
        );
        if (queryOptions.cursorHover) {
          listenerKeys_.push(
            olEventsListen(map, 'pointermove', handlePointerMove_)
          );
        }
      }
function ( ) { listenerKeys_ . push ( olEventsListen ( map , 'singleclick' , handleMapClick_ ) ) ; const queryOptions = /** @type {import('ngeo/query/MapQuerent.js').QueryOptions} */ ( $injector . has ( 'ngeoQueryOptions' ) ? $injector . get ( 'ngeoQueryOptions' ) : { } ) ; if ( queryOptions . cursorHover ) { listenerKeys_ . push ( olEventsListen ( map , 'pointermove' , handlePointerMove_ ) ) ; } }
Listen to the map events.
Listen to the map events .