This example shows how to set GooglePhotoSphereLoader to load from a google maps URL.
Try https://www.google.com/maps/place/Barcelona,+Spain/@41.3818031,2.1713843,3a,75y,256.77h,90t/data=!3m8!1e1!3m6!1sCIHM0ogKEICAgICE_enPsQE!2e10!3e11!6shttps:%2F%2Flh3.googleusercontent.com%2Fgpms-cs-s%2FAFP8RcO4Fenig1v_I8tE6isuUcWM2zG8CzAHgncs_BJTXl0SBTmU2_2Ovk7231Tul9dYx1eurW9yFZxbFjlCyHF58Fy2Lw506aVYXA_UyOaZW0TUFvLjB6u37Ix4rD1XJPmbceZflqiTBA%3Dw900-h600-k-no-pi0-ya254.9278712878522-ro0-fo100!7i9772!8i4886!4m6!3m5!1s0x12a49816718e30e5:0x44b0fb3d4f47660a!8m2!3d41.3874374!4d2.1686496!16zL20vMDFmNjI