UNPKG

@panoramax/web-viewer

Version:

Panoramax web viewer for geolocated pictures

33 lines (23 loc) 1.24 kB
<a name="Panoramax.components.menus.MapLegend"></a> ## Panoramax.components.menus.MapLegend ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code> **Kind**: static class of <code>Panoramax.components.menus</code> **Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code> **Element**: pnx-map-legend * [.MapLegend](#Panoramax.components.menus.MapLegend) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code> * [new MapLegend()](#new_Panoramax.components.menus.MapLegend_new) * [.properties](#Panoramax.components.menus.MapLegend+properties) : <code>Object</code> <a name="new_Panoramax.components.menus.MapLegend_new"></a> ### new MapLegend() Map legend displays information about map sources. **Example** ```html <pnx-map-legend ._parent=${viewer} /> ``` <a name="Panoramax.components.menus.MapLegend+properties"></a> ### mapLegend.properties : <code>Object</code> Component properties. **Kind**: instance property of [<code>MapLegend</code>](#Panoramax.components.menus.MapLegend) **Properties** | Name | Type | Default | Description | | --- | --- | --- | --- | | [light] | <code>boolean</code> | <code>false</code> | Lighter version (for iframes) |