Google Maps Tilt and Zoom

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
ArkiTonio
Posts: 96
Joined: Mon Apr 20, 2015 10:32 am
Location: Ascoli Piceno, Italy

Hi folks.
Some time ago I was giving v. 4.5.3 Pro a try and set some modifications to the HTML template (normal.ggt) to customize the Google Maps behaviour.
1) I set zoom:19 under mapOptions and removed the line if (!bounds.isEmpty())... to get the desired starting zoom level.
2) I added map.setTilt(0) to the map definition (map = new google.maps.Map...) to avoid that 3D effect.
Great. It worked fine.
Now I'm trying v. 5 and wondering how to achieve those same effects... since the map definition has been removed from the HTML code of the template.
How can I do?

Thank you.
ArkiTonio
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
The same code can now be found in the skin.js file.
Open the js file with a text editor.
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
ArkiTonio
Posts: 96
Joined: Mon Apr 20, 2015 10:32 am
Location: Ascoli Piceno, Italy

Hi, Martin.
If you mean the final output skin.js created for each pano/tour, well... it wouldn't be so handy... It would mean to manage each skin.js made after each pano/tour...
Or you mean a skin template? Is it there such a model anywhere, as the *.ggt for the main HTML code?... Where does skin.js come from?...

Thanx
ArkiTonio
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI Arki,
Hummm sorry this is how it is, you would need to mod the final skin.js file.
Ill add this as a feature request and see what the developers say.
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
ArkiTonio
Posts: 96
Joined: Mon Apr 20, 2015 10:32 am
Location: Ascoli Piceno, Italy

Thank you, Martin. It would be very useful.
Bye

P.S.: I'm an architect and my name's Antonio, so... ArkiTonio. :wink:
ArkiTonio
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

:D
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
panox
Posts: 305
Joined: Mon Mar 12, 2007 11:03 pm
Contact:

Hi Hopki,

any news? What did the developers say? It's very uncomfortable editing the skin.js every time I update the project.

Reminder for future use:
snap4679.jpg
snap4679.jpg (157.21 KiB) Viewed 4031 times
snap4680.jpg
snap4680.jpg (47.82 KiB) Viewed 4031 times
snap4681.jpg
snap4681.jpg (46.02 KiB) Viewed 4031 times
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Guys,
This has been implemented in V6.
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
panox
Posts: 305
Joined: Mon Mar 12, 2007 11:03 pm
Contact:

Thank you, Hopki, great news! :D
Post Reply