Pannellum dragHandleFunction

346 Views Asked by At

I am using this new feature of draggable hotspot in Pannellum :

var dragHandler = function (e) {
        console.log(e)
 }

"hotSpots": [
                {

                    "pitch": 5,
                    "yaw": 11,
                    "type": "info",
                     draggable:true,
                     "dragHandleFunc": dragHandler
                },

Dragging works fine but I cannot get dragHandler to be called. I am using the latest plugin files available on github.

0

There are 0 best solutions below