Class: Panoramax

module:Panoramax~Panoramax()

Dock content for the Panoramax tool. It embeds the <pnx-photo-viewer> web component (lazy-loaded the first time the dock is opened) and connects it to the Panoramax map module (mainLizmap.panoramax):

  • a click on the coverage layer asks the viewer to load the matching picture,
  • the picture position/orientation drives the arrow drawn on the map.

module:Panoramax~Panoramax()

Handle the map side of the Panoramax tool:

  • the Panoramax MVT coverage layer (added to the layer tree as an external layer),
  • the orientation arrow drawn on the map and kept in sync with the photo viewer,
  • the detection of the clicked picture/sequence on the coverage layer.

The UI side (the <pnx-photo-viewer> web component) lives in the components/Panoramax.js custom element which drives this module.