Skip to content

Legend

Panoramax.components.ui.widgets.Legend ⇐ lit.LitElement

Kind: static class of Panoramax.components.ui.widgets
Extends: lit.LitElement
Element: pnx-widget-legend

new Legend()

Legend widget, handling switch between map and photo components. Also displays a default "About Panoramax" message.

Example

<pnx-widget-legend
  _parent=${viewer}
  focus="map"
  picture="PICTURE-ID-IF-ANY"
/>

legend.properties : Object

Component properties.

Kind: instance property of Legend
Properties

Name Type Description
[focus] string The focused main component (map, pic)
[picture] string The picture ID