demos/touch-gestures/index.js
function zoomOnTap(e) {
    var coords = viewer.view().screenToCoordinates(e.center);
    coords.fov = viewer.view().fov() * 0.8;
    viewer.lookTo(coords, { transitionDuration: 300 });
  }
function zoomOnTap(e) {
    var coords = viewer.view().screenToCoordinates(e.center);
    coords.fov = viewer.view().fov() * 0.8;
    viewer.lookTo(coords, { transitionDuration: 300 });
  }
function zoomOnTap ( e ) { var coords = viewer . view ( ) . screenToCoordinates ( e . center ) ; coords . fov = viewer . view ( ) . fov ( ) * 0.8 ; viewer . lookTo ( coords , { transitionDuration : 300 } ) ; }
Zoom on tap.
Zoom on tap .