mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.23k stars 721 forks source link

An easy way to position hotspots #1197

Open estratagema opened 9 months ago

estratagema commented 9 months ago

Is there a simple way to create and position hotspots without geometry knowledge? Visually, is it possible?

mpetroff commented 8 months ago

If you set the hotSpotDebug parameter to true, coordinates of mouse clicks will be printed to your browser's developer console. You can then click where you want to place a hot spot, and it will print the location to the console, so you can copy the coordinates into your configuration.