Renders an interactive 360-degree panoramic image viewer with configurable infospots using the Panolens.js library, driven by data_panolens and data_panolens_infospot database tables.
BigTable — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 — lens code used to look up the panorama configuration. If Param1 is %, the lens code is taken from the first column of the query result instead.
Returns an HTML <div> and inline <script> that initialise a PANOLENS.Viewer with a background image and dynamically generated infospots. Each infospot is positioned, given hover text, and wired to a custom JavaScript event handler — all read from data_panolens_infospot. The viewer is configured with autoHideInfospot: false.
Requires panolens.css, panolens/three.min.js, and panolens/panolens.min.js. Panorama metadata (image path, dimensions, infospot positions and actions) is stored in the data_panolens and data_panolens_infospot tables.