vendredi 4 juin 2021

I want to add a hyperlink on a hotspot when I click it how can I do?

viewer = pannellum.viewer('panorama',  {
  "type": "equirectangular",
  "panorama": "https://images.unsplash.com/photo-1509225770129-fbcf8a696c0b?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1959&q=80",
  "autoLoad": true,
  "hotSpots": [{
    "pitch": 14.1,
    "yaw": 1.5,
    "cssClass": "custom-hotspot",
    "createTooltipFunc": hotspot,
    "createTooltipArgs": "1"
  },



Aucun commentaire:

Enregistrer un commentaire