Initial field of view is different between Google Maps and its iframe

Q&A about the latest versions
Post Reply
User avatar
panox
Posts: 305
Joined: Mon Mar 12, 2007 11:03 pm
Contact:

How can I get the same initial FOV and direction?
snap2686.jpg
snap2686.jpg (207.2 KiB) Viewed 2127 times
View in an iframe on my site:
snap2685.jpg
snap2685.jpg (83.94 KiB) Viewed 2127 times

https://goo.gl/maps/3KVZhrNx9oL2
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Harald,
Sadly you can not, Google will use 0 degrees all the time. Your better off using transformation and then pano the equirec so the centre in the opening view.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Zero point is the position for which the X,Y pixel, mm, cm, inches, degrees are measured from to a predetermined second position on the canvas.

I think there is a different zero position for several features.

For example:

On a typical rectangle image the zero degree point is the upper left corner of the image.

On an equirectangle image or 2:1 panorama the Zero degree mark is positioned mid center or 50% from the left to the right, and 50% from the top to bottom of the image.

Not sure where the zero measurement starting mark is locate on the Pano2vr skin objects designated for OFFSET from 0 pixels.
In Pano2vr degrees are often spoken as degree width of FOV between left to right side of the image view port.

Politely spoken: Where is the Google zero degree mark located ??
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
User avatar
panox
Posts: 305
Joined: Mon Mar 12, 2007 11:03 pm
Contact:

Thank you for your input! I just managed to set the initial view in the iframes. They are the same when I move the panorama in StreetView to the view I want to see.
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi panox,
Im not sure how you have done this but the easiest way is to just rotate the pano to the view you want then copy the iframe as the ifraen and embed data updates as you move the pano.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply