Getting depth map value from panorama with depth example

Hi to all,
I’m trying to get the depth map value from panorama with depth example when moving the mouse :
https://threejs.org/examples/webxr_vr_panorama_depth.html

i tried using Raycaster but with no success, is there any other suggestion that i can follow to make that happens.