mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.

Home Page:https://pannellum.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pannellum click list hotspot

016886611529a opened this issue · comments

commented

I want to add list hotspot at right browser.
image
and when I click each item hotspot then change scene
can you help me ?

You'd have to add custom HTML over the viewer, as is done in the custom control example. You'd then need to add a click event listener to each of your buttons, which would call Pannellum's loadScene method to change the scene.

commented

@mpetroff you can example for me ....
I just started writing javascript.
image

Thanks

I'm happy to answer specific questions, but I'm not going to write code for you.

commented

i had add custom HTML add a click event listener to each of your buttons, which would call Pannellum's [loadScene] method to change the scene. but unsuccessful
image

commented

thanks you bro. I made it work