Adding options to InfoHotshpots

47 views
Skip to first unread message

Tobias Trofast

unread,
Aug 22, 2024, 2:01:00 AM8/22/24
to marzipano
I'm, using the Marzinpano tool to create the basis for our panoramas. Is there a way to add more options to the InfoHotspots in data.js. My aim is to set custom icons and also defining if the hotspot should be visible/open by default. Something like this:

"infoHotspots": [
{
"yaw": -0.1,
"pitch": -0.25,
"title": "Podium-kamera",
"text": texter.kameror.kamera_podium
"custom-icon": ../img/kamera.svg
"open" : true
}
]

Can I somehow get the function creating the hotspot to pick up these options (without modifying the marzipano.js file...)

//Tobias
Reply all
Reply to author
Forward
0 new messages