Google map in a side window, not floating?

Q&A about the latest versions
Post Reply
User avatar
chantus
Posts: 55
Joined: Thu Mar 25, 2010 3:07 am

Hello
I was wondering if it's possible to display a Google map (or any other provider) not as a floating window but next to the pano, hopefully in a resizable area. I was doing this in Panotour Pro but I'm considering built this in Pano2vr since I like the possibility of having the radar for flat images and much more possibilities Pano2vr offers.
Captura de Pantalla 2022-05-10 a la(s) 16.27.31.jpg
Captura de Pantalla 2022-05-10 a la(s) 16.27.31.jpg (413.98 KiB) Viewed 716 times
Many thanks!

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

Hi Pablo,
You would use a margin as found in the skin editors canvas setting: https://ggnome.com/doc/skin-props/#margins
You can even have this on a button so when you show the map the panorama moves to one side.
Have a search in the forum as there are projects that do this.
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
chantus
Posts: 55
Joined: Thu Mar 25, 2010 3:07 am

That's great! Many thanks

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

Here is a little project that has two actions that change the skins canvas margins on a button click.
You need to separate actions, one to set the margin, the other to return it back.
So the project is using a variable and action filter.
The actions are stacked so it sets the margin first, then the second action sets it back.
But the second action can only trigger if the map is visible when the variable is true.
Regards,
Hopki
Attachments
margin.zip
(14.69 KiB) Downloaded 53 times
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