Skin button element over map element

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
bherbes
Posts: 8
Joined: Sat Jun 30, 2018 11:06 pm
Location: Melbourne, Australia
Contact:

Does P2VR b3 support skin elements over mapbox map elements?

I’m trying to implement custom map "control buttons" (zoom in/zoom out) in the skin editor. (ie I've disabled the use map UI - map controls)

I’ve applied the map zoom actions to the button, the issue is the button will not appear above the map element

The map z index is 75, the button z index is 80.

The button appears, then the map tiles cover the button. The button functions work fine - they are just not visible?

Is this a bug.

Any suggestions please
Bruce Herbes | Wayfinding Specialist & Digital Cartographer | Melbourne Australia
profile: http://linkedin.com/in/bruceherbes | website:http://visualvoice.com.au | https://youareheremaps.com.au
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Any chance you can post your skin?

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
bherbes
Posts: 8
Joined: Sat Jun 30, 2018 11:06 pm
Location: Melbourne, Australia
Contact:

G'day Tony,

Thanks for your interest. I’m new to p2vr, have made a basic project demonstrating the issue - project uses a self hosted map.

Hit the button bottom right to show the map
The 2 buttons below the map function fine, but cannot be placed over the map!
I’ve placed them half way to demonstrate the issue.
Have changed to default tree z-index - still no change.

Made with beta3 trial. Any suggestions ?
Attachments
test-file.zip
(2.6 MiB) Downloaded 142 times
Bruce Herbes | Wayfinding Specialist & Digital Cartographer | Melbourne Australia
profile: http://linkedin.com/in/bruceherbes | website:http://visualvoice.com.au | https://youareheremaps.com.au
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Great old panoramas, very interesting.

Okay, if I'm having z index issues I tend to set the elements I want on top to 99 as this always seems to put them at the top. So I did that with your skin setting the 'btn_map_zoom_out' and 'btn_map_zoom_in' elements at Properties > Advanced> Z-Index: = 99 and then the Map 1 element to 98 and it seems to have done the trick. Let me know if this is what you are after.

Here's the output https://s3-ap-southeast-2.amazonaws.com ... index.html

I've attached the skin
OldMap.ggsk
(1.17 KiB) Downloaded 139 times
cheers,
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
bherbes
Posts: 8
Joined: Sat Jun 30, 2018 11:06 pm
Location: Melbourne, Australia
Contact:

Yes, that's it. That was a simple solution.

Appreciate you sharing your experience with p2vr

Thank you very much Tony.
Bruce Herbes | Wayfinding Specialist & Digital Cartographer | Melbourne Australia
profile: http://linkedin.com/in/bruceherbes | website:http://visualvoice.com.au | https://youareheremaps.com.au
Post Reply