You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The addHotSpot method is what you're looking for. If you create your viewer with var viewer = pannellum.viewer(...);, you can add a hot spot to the current scene with
viewer.addHotSpot({"pitch": 10,"yaw": 10,"type": "info","text": "some text here"});
If you want to add it to a different scene, you can provide the scene ID as the second argument to the method.
I want to use javascript to add new hot spots, and can add it pitch yaw text in web
How can I do?
The text was updated successfully, but these errors were encountered: