modules/google-maps/src/utils.js
function handleMouseEvent(deck, type, event) {
  let callback;
  switch (type) {
    case 'click':
      // Hack: because we do not listen to pointer down, perform picking now
      deck._lastPointerDownInfo = deck.pickObject({
        x: event.pixel.x,
        y: event.pixel.y
      });
      callback = deck._onEvent;
      break;

    case 'mousemove':
      callback = deck._onPointerMove;
      break;

    case 'mouseout':
      callback = deck._onPointerLeave;
      break;

    default:
      return;
  }

  callback({
    type,
    offsetCenter: event.pixel,
    srcEvent: event
  });
}
function handleMouseEvent(deck, type, event) {
  let callback;
  switch (type) {
    case 'click':
      // Hack: because we do not listen to pointer down, perform picking now
      deck._lastPointerDownInfo = deck.pickObject({
        x: event.pixel.x,
        y: event.pixel.y
      });
      callback = deck._onEvent;
      break;

    case 'mousemove':
      callback = deck._onPointerMove;
      break;

    case 'mouseout':
      callback = deck._onPointerLeave;
      break;

    default:
      return;
  }

  callback({
    type,
    offsetCenter: event.pixel,
    srcEvent: event
  });
}
function handleMouseEvent ( deck , type , event ) { let callback ; switch ( type ) { case 'click' : // Hack: because we do not listen to pointer down, perform picking now deck . _lastPointerDownInfo = deck . pickObject ( { x : event . pixel . x , y : event . pixel . y } ) ; callback = deck . _onEvent ; break ; case 'mousemove' : callback = deck . _onPointerMove ; break ; case 'mouseout' : callback = deck . _onPointerLeave ; break ; default : return ; } callback ( { type , offsetCenter : event . pixel , srcEvent : event } ) ; }
Triggers picking on a mouse event
Triggers picking on a mouse event