Page 1 of 1

Google Maps Tilt and Zoom

Posted: Thu Jul 07, 2016 5:46 pm
by ArkiTonio
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.

Re: Google Maps Tilt and Zoom

Posted: Thu Jul 07, 2016 6:09 pm
by Hopki
Hi,
The same code can now be found in the skin.js file.
Open the js file with a text editor.
Regards,
Hopki

Re: Google Maps Tilt and Zoom

Posted: Thu Jul 07, 2016 7:28 pm
by ArkiTonio
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

Re: Google Maps Tilt and Zoom

Posted: Thu Jul 07, 2016 8:54 pm
by Hopki
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

Re: Google Maps Tilt and Zoom

Posted: Thu Jul 07, 2016 9:39 pm
by ArkiTonio
Thank you, Martin. It would be very useful.
Bye

P.S.: I'm an architect and my name's Antonio, so... ArkiTonio. :wink:

Re: Google Maps Tilt and Zoom

Posted: Fri Jul 08, 2016 4:37 pm
by Hopki
:D

Re: Google Maps Tilt and Zoom

Posted: Tue Jan 30, 2018 7:51 pm
by panox
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 4094 times
snap4680.jpg
snap4680.jpg (47.82 KiB) Viewed 4094 times
snap4681.jpg
snap4681.jpg (46.02 KiB) Viewed 4094 times

Re: Google Maps Tilt and Zoom

Posted: Tue Jan 30, 2018 8:43 pm
by Hopki
Hi Guys,
This has been implemented in V6.
Regards,
Hopki

Re: Google Maps Tilt and Zoom

Posted: Tue Jan 30, 2018 9:18 pm
by panox
Thank you, Hopki, great news! :D