Google Maps X Pano Hotspots

Q&A about the latest versions
Post Reply
MGFilho
Posts: 11
Joined: Fri Feb 03, 2012 6:14 pm

Hi,
I tryed today to include a google map in a tour - what I have already done before - but it made disapears all the hotspots I had connected. I tryed twice but couldn't find what went wrong.
Any guess? I'm working with 5.2 Beta 3 version.

Cheers. BR
MGFilho
Posts: 11
Joined: Fri Feb 03, 2012 6:14 pm

Ok, I gave up of including a google map connection. But:

- I want a 800 px X 550 px window and worked it on the html file. Neverthless, when I launch the tour in a small window (I worked with logic block to hide original buttons on mobiles viewing), the navigation propper buttons for mobiles do not show up. Then, instead of changing the window size in pixels, I changed to 80% X 60%. Now, the tour in mobile is too small (IPhone).
(I followed - viewtopic.php?f=6&t=11671&p=48084&hilit ... 05d#p48084)

- Besides, I wanted to center the tour, but when I include the div code, the image doesn't appear on screen.

Well, any guess how I can publish a tour:
in a small window / centered on desktop browser and mobile / if possible, with google maps that may keep the hotspots

Thanks, cheers.

the project, at this moment: http://cub360.fot.br/apair/index.html
MGFilho
Posts: 11
Joined: Fri Feb 03, 2012 6:14 pm

Hi, someone aout there?
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi MGFilho,
To check my understanding you want the pano to be 800 x 550px in the HTML page.
Can I ask what you want to do with this as Im struggling to understand why?
Just curious.

Code: Select all

<body>
	<center>
<!-- - - - - - - 8<- - - - - - cut here - - - - - 8<- - - - - - - -->
		<script type="text/javascript" src="pano2vr_player.js">
		</script>
		<script type="text/javascript" src="skin.js">
		</script>
		<div id="container" style="width:800px;height:500px;overflow:hidden;">
		<br>Loading...<br><br>
		This content requires HTML5 with CSS3 3D Transforms or WebGL.
		</div>
		<script type="text/javascript">
	
			// create the panorama player with the container
			pano=new pano2vrPlayer("container");
		// add the skin object
		skin=new pano2vrSkin(pano);
		// load the configuration
		window.addEventListener("load", function() {
			pano.readConfigUrlAsync("pano.xml");
		});
		</script>
		<noscript>
			<p><b>Please enable Javascript!</b></p>
		</noscript>
<!-- - - - - - - 8<- - - - - - cut here - - - - - 8<- - - - - - - --> 
		<!-- Hack needed to hide the url bar on iOS 9, iPhone 5s --> 
		<div style="width:1px;height:1px;"></div>
	</center>	
	</body>
So entering the body and then setting the size of the div.
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/
MGFilho
Posts: 11
Joined: Fri Feb 03, 2012 6:14 pm

Hey, Hopki. How are you?
First, I just wanted to resize the pano to include it in a HTML page, as an exemple in a site. I didn' want fullscreen. I wanted it centered because it's gonna be a showcase. The point would be to show the same tour on a mobile, also using google cardboard. But:
- when I changed the size (from % to pixel - following a tutorial) it's ok on desktop, but it becomes shrinked on smartphone.
What I would like is a centered 800 X 600 pixel image on desktop, that worked full screem in smartphones.
Well, actualy, it has nothing to do with the pano2 but with the html output. As I know nothing about HTML I went for a help but I understand that it's a really big help, if you could.
Thanks. Cheers.
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi, I do well,
Then the only thing I can think of is having a fullscreen button that opens the project again in its own 100% HTML page.
This would fill the screen of a mobile. Closing this window would then bring you back to the original page.
So the fullscreen button would have the action mouse click, go to url, xxxxxx.HTML, target _blank.
Of course you would have two HTML pages, one with 100% and one with size set.
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/
MGFilho
Posts: 11
Joined: Fri Feb 03, 2012 6:14 pm

Thanks Hopki. I will keep trying.

BR
Post Reply