@panoramax/web-viewer 4.4.0-develop-3839b5a4 → 4.4.0-develop-f91f6758
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{src → build}/components/core/Basic.js +22 -16
- package/{src → build}/components/core/CoverageMap.js +19 -14
- package/{src → build}/components/core/Editor.js +16 -16
- package/{src → build}/components/core/PhotoViewer.js +30 -29
- package/{src → build}/components/core/Viewer.js +21 -20
- package/build/components/core/index.js +10 -0
- package/build/components/index.js +11 -0
- package/build/components/index_photoviewer.js +6 -0
- package/{src → build}/components/layout/BottomDrawer.js +4 -4
- package/{src → build}/components/layout/CorneredGrid.js +1 -1
- package/{src → build}/components/layout/Mini.js +5 -4
- package/{src → build}/components/layout/Tabs.js +1 -1
- package/build/components/layout/index.js +9 -0
- package/{src → build}/components/menus/LocationPrecisionDoc.js +4 -6
- package/{src → build}/components/menus/MapBackground.js +4 -6
- package/{src → build}/components/menus/MapFilters.js +16 -21
- package/{src → build}/components/menus/MapLayers.js +20 -24
- package/{src → build}/components/menus/MapLegend.js +3 -4
- package/{src → build}/components/menus/MiniPictureLegend.js +3 -4
- package/{src → build}/components/menus/PictureLegend.js +10 -15
- package/{src → build}/components/menus/PictureMetadata.js +12 -19
- package/{src → build}/components/menus/PlayerOptions.js +5 -7
- package/{src → build}/components/menus/QualityScoreDoc.js +3 -4
- package/{src → build}/components/menus/ReportForm.js +8 -9
- package/{src → build}/components/menus/SemanticsDoc.js +3 -4
- package/{src → build}/components/menus/SemanticsDownload.js +3 -3
- package/{src → build}/components/menus/SemanticsFilters.js +7 -8
- package/{src → build}/components/menus/SemanticsList.js +11 -18
- package/{src → build}/components/menus/SemanticsMetadata.js +8 -11
- package/{src → build}/components/menus/Share.js +6 -7
- package/build/components/menus/index.js +22 -0
- package/build/components/menus/index_photoviewer.js +11 -0
- package/{src → build}/components/styles.js +0 -2
- package/{src → build}/components/ui/AnnotationsSwitch.js +6 -8
- package/{src → build}/components/ui/Button.js +1 -1
- package/{src → build}/components/ui/ButtonGroup.js +2 -1
- package/{src → build}/components/ui/CopyButton.js +4 -6
- package/{src → build}/components/ui/Grade.js +5 -5
- package/{src → build}/components/ui/GradeFilter.js +3 -3
- package/{src → build}/components/ui/IconSwitch.js +1 -1
- package/{src → build}/components/ui/LinkButton.js +1 -1
- package/{src → build}/components/ui/ListGroup.js +3 -3
- package/{src → build}/components/ui/ListItem.js +1 -1
- package/{src → build}/components/ui/Loader.js +8 -7
- package/{src → build}/components/ui/Map.js +38 -26
- package/{src → build}/components/ui/MapMore.js +7 -7
- package/{src → build}/components/ui/Photo.js +29 -27
- package/{src → build}/components/ui/Popup.js +4 -4
- package/{src → build}/components/ui/QualityScore.js +4 -4
- package/{src → build}/components/ui/SearchBar.js +6 -7
- package/{src → build}/components/ui/SemanticsEditor.js +14 -15
- package/{src → build}/components/ui/SemanticsTable.js +4 -5
- package/{src → build}/components/ui/Switch.js +1 -1
- package/{src → build}/components/ui/TogglableGroup.js +4 -4
- package/build/components/ui/index.js +29 -0
- package/build/components/ui/index_photoviewer.js +21 -0
- package/{src → build}/components/ui/widgets/CopyCoordinates.js +5 -5
- package/{src → build}/components/ui/widgets/GeoSearch.js +10 -10
- package/{src → build}/components/ui/widgets/Legend.js +9 -8
- package/{src → build}/components/ui/widgets/LevelSelect.js +9 -7
- package/{src → build}/components/ui/widgets/MapFiltersButton.js +5 -5
- package/{src → build}/components/ui/widgets/MapLayersButton.js +5 -5
- package/{src → build}/components/ui/widgets/OSMEditors.js +8 -8
- package/{src → build}/components/ui/widgets/PictureLegendActions.js +4 -4
- package/{src → build}/components/ui/widgets/Player.js +6 -7
- package/{src → build}/components/ui/widgets/SemanticsFiltersButton.js +6 -7
- package/{src → build}/components/ui/widgets/Zoom.js +6 -6
- package/build/components/ui/widgets/index.js +16 -0
- package/build/components/ui/widgets/index_photoviewer.js +7 -0
- package/build/editor.html +94 -10
- package/{src → build}/img/arrow_triangle.svg +0 -1
- package/{src → build}/img/arrow_turn.svg +0 -1
- package/build/index.html +111 -1
- package/build/index.js +6 -95
- package/build/index_photoviewer.js +4 -0
- package/build/map.html +97 -1
- package/build/package.json +141 -0
- package/build/photo.html +85 -1
- package/build/servers.js +3 -4
- package/{src → build}/utils/API.js +33 -33
- package/{src → build}/utils/InitParameters.js +11 -9
- package/{src → build}/utils/MapStyleComposer.js +39 -37
- package/{src → build}/utils/PhotoAdapter.js +1 -0
- package/{src → build}/utils/PresetsManager.js +4 -4
- package/{src → build}/utils/SemanticsMapProtocol.js +3 -4
- package/{src → build}/utils/URLHandler.js +16 -14
- package/{src → build}/utils/geocoder.js +5 -5
- package/{src → build}/utils/i18n.js +21 -20
- package/build/utils/index.js +17 -0
- package/build/utils/index_photoviewer.js +14 -0
- package/{src → build}/utils/indoor.js +9 -5
- package/{src → build}/utils/map.js +15 -11
- package/{src → build}/utils/picture.js +22 -17
- package/{src → build}/utils/semantics.js +9 -5
- package/{src → build}/utils/utils.js +8 -4
- package/{src → build}/utils/widgets.js +2 -2
- package/build/viewer.html +120 -35
- package/build/viewer_indoor.html +90 -8
- package/build/widgets.html +410 -1
- package/package.json +81 -204
- package/.dockerignore +0 -7
- package/.gitlab-ci.yml +0 -78
- package/CHANGELOG.md +0 -853
- package/CODE_OF_CONDUCT.md +0 -134
- package/Dockerfile +0 -14
- package/build/index.css +0 -36
- package/build/index.css.map +0 -1
- package/build/index.js.map +0 -1
- package/build/photoviewer.css +0 -36
- package/build/photoviewer.css.map +0 -1
- package/build/photoviewer.js +0 -86
- package/build/photoviewer.js.map +0 -1
- package/build/static/media/atkinson-hyperlegible-next-latin-400-normal..woff +0 -0
- package/build/static/media/atkinson-hyperlegible-next-latin-400-normal..woff2 +0 -0
- package/build/static/media/atkinson-hyperlegible-next-latin-ext-400-normal..woff +0 -0
- package/build/static/media/atkinson-hyperlegible-next-latin-ext-400-normal..woff2 +0 -0
- package/config/env.js +0 -104
- package/config/getHttpsConfig.js +0 -69
- package/config/getPackageJson.js +0 -25
- package/config/jest/babelTransform.js +0 -29
- package/config/jest/cssTransform.js +0 -14
- package/config/jest/fileTransform.js +0 -40
- package/config/jest/mocks.js +0 -230
- package/config/modules.js +0 -134
- package/config/paths.js +0 -76
- package/config/pnpTs.js +0 -35
- package/config/webpack/persistentCache/createEnvironmentHash.js +0 -9
- package/config/webpack.config.js +0 -825
- package/config/webpackDevServer.config.js +0 -131
- package/docs/03_URL_settings.md +0 -218
- package/docs/05_Compatibility.md +0 -83
- package/docs/09_Develop.md +0 -141
- package/docs/90_Releases.md +0 -27
- package/docs/images/class_diagram.drawio +0 -144
- package/docs/images/class_diagram.jpg +0 -0
- package/docs/images/comparative_3drender.jpg +0 -0
- package/docs/images/indoor_level.png +0 -0
- package/docs/images/screenshot.jpg +0 -0
- package/docs/index.md +0 -159
- package/docs/reference/components/core/Basic.md +0 -211
- package/docs/reference/components/core/CoverageMap.md +0 -220
- package/docs/reference/components/core/Editor.md +0 -252
- package/docs/reference/components/core/PhotoViewer.md +0 -320
- package/docs/reference/components/core/Viewer.md +0 -398
- package/docs/reference/components/layout/BottomDrawer.md +0 -35
- package/docs/reference/components/layout/CorneredGrid.md +0 -29
- package/docs/reference/components/layout/Mini.md +0 -45
- package/docs/reference/components/layout/Tabs.md +0 -46
- package/docs/reference/components/menus/LocationPrecisionDoc.md +0 -15
- package/docs/reference/components/menus/MapBackground.md +0 -32
- package/docs/reference/components/menus/MapFilters.md +0 -37
- package/docs/reference/components/menus/MapLayers.md +0 -15
- package/docs/reference/components/menus/MapLegend.md +0 -32
- package/docs/reference/components/menus/MiniPictureLegend.md +0 -15
- package/docs/reference/components/menus/PictureLegend.md +0 -45
- package/docs/reference/components/menus/PictureMetadata.md +0 -32
- package/docs/reference/components/menus/PlayerOptions.md +0 -15
- package/docs/reference/components/menus/QualityScoreDoc.md +0 -15
- package/docs/reference/components/menus/ReportForm.md +0 -15
- package/docs/reference/components/menus/SemanticsDoc.md +0 -15
- package/docs/reference/components/menus/SemanticsDownload.md +0 -15
- package/docs/reference/components/menus/SemanticsFilters.md +0 -33
- package/docs/reference/components/menus/SemanticsList.md +0 -97
- package/docs/reference/components/menus/SemanticsMetadata.md +0 -15
- package/docs/reference/components/menus/ShareMenu.md +0 -32
- package/docs/reference/components/ui/AnnotationsSwitch.md +0 -32
- package/docs/reference/components/ui/Button.md +0 -40
- package/docs/reference/components/ui/ButtonGroup.md +0 -36
- package/docs/reference/components/ui/CopyButton.md +0 -41
- package/docs/reference/components/ui/Grade.md +0 -32
- package/docs/reference/components/ui/GradeFilter.md +0 -42
- package/docs/reference/components/ui/IconSwitch.md +0 -53
- package/docs/reference/components/ui/LinkButton.md +0 -45
- package/docs/reference/components/ui/ListGroup.md +0 -22
- package/docs/reference/components/ui/ListItem.md +0 -39
- package/docs/reference/components/ui/Loader.md +0 -56
- package/docs/reference/components/ui/Map.md +0 -150
- package/docs/reference/components/ui/MapMore.md +0 -150
- package/docs/reference/components/ui/Photo.md +0 -495
- package/docs/reference/components/ui/Popup.md +0 -56
- package/docs/reference/components/ui/ProgressBar.md +0 -32
- package/docs/reference/components/ui/QualityScore.md +0 -45
- package/docs/reference/components/ui/SearchBar.md +0 -63
- package/docs/reference/components/ui/SemanticsEditor.md +0 -113
- package/docs/reference/components/ui/SemanticsTable.md +0 -32
- package/docs/reference/components/ui/Switch.md +0 -49
- package/docs/reference/components/ui/TogglableGroup.md +0 -39
- package/docs/reference/components/ui/widgets/CopyCoordinates.md +0 -32
- package/docs/reference/components/ui/widgets/GeoSearch.md +0 -36
- package/docs/reference/components/ui/widgets/Legend.md +0 -58
- package/docs/reference/components/ui/widgets/LevelSelect.md +0 -16
- package/docs/reference/components/ui/widgets/MapFiltersButton.md +0 -37
- package/docs/reference/components/ui/widgets/MapLayersButton.md +0 -15
- package/docs/reference/components/ui/widgets/OSMEditors.md +0 -15
- package/docs/reference/components/ui/widgets/PictureLegendActions.md +0 -32
- package/docs/reference/components/ui/widgets/Player.md +0 -34
- package/docs/reference/components/ui/widgets/SemanticsFiltersButton.md +0 -15
- package/docs/reference/components/ui/widgets/Zoom.md +0 -15
- package/docs/reference/utils/API.md +0 -389
- package/docs/reference/utils/InitParameters.md +0 -68
- package/docs/reference/utils/MapStyleComposer.md +0 -408
- package/docs/reference/utils/PanoraMapProtocol.md +0 -28
- package/docs/reference/utils/PresetsManager.md +0 -43
- package/docs/reference/utils/SemanticsMapProtocol.md +0 -43
- package/docs/reference/utils/URLHandler.md +0 -114
- package/docs/reference.md +0 -99
- package/docs/shortcuts.md +0 -11
- package/docs/tutorials/aerial_imagery.md +0 -21
- package/docs/tutorials/authentication.md +0 -10
- package/docs/tutorials/custom_widgets.md +0 -59
- package/docs/tutorials/indoor_maps.md +0 -50
- package/docs/tutorials/map_style.md +0 -83
- package/docs/tutorials/migrate_v4.md +0 -153
- package/docs/tutorials/migrate_v5.md +0 -103
- package/docs/tutorials/semantics_overlays.md +0 -74
- package/docs/tutorials/synced_coverage.md +0 -43
- package/mkdocs.yml +0 -131
- package/public/editor.html +0 -53
- package/public/index.html +0 -70
- package/public/map.html +0 -55
- package/public/photo.html +0 -43
- package/public/servers.js +0 -15
- package/public/viewer.html +0 -79
- package/public/viewer_indoor.html +0 -48
- package/public/widgets.html +0 -366
- package/scripts/build.js +0 -217
- package/scripts/doc.js +0 -79
- package/scripts/start.js +0 -172
- package/scripts/test.js +0 -52
- package/src/components/core/index.js +0 -12
- package/src/components/index.js +0 -13
- package/src/components/index_photoviewer.js +0 -8
- package/src/components/layout/index.js +0 -9
- package/src/components/menus/index.js +0 -22
- package/src/components/menus/index_photoviewer.js +0 -13
- package/src/components/ui/index.js +0 -29
- package/src/components/ui/index_photoviewer.js +0 -23
- package/src/components/ui/widgets/index.js +0 -16
- package/src/components/ui/widgets/index_photoviewer.js +0 -9
- package/src/index.js +0 -8
- package/src/index_photoviewer.js +0 -6
- package/src/utils/index.js +0 -17
- package/src/utils/index_photoviewer.js +0 -16
- package/tests/components/core/Basic.test.js +0 -168
- package/tests/components/core/BasicMock.js +0 -25
- package/tests/components/core/CoverageMap.test.js +0 -20
- package/tests/components/core/Editor.test.js +0 -20
- package/tests/components/core/PhotoViewer.test.js +0 -57
- package/tests/components/core/Viewer.test.js +0 -85
- package/tests/components/core/__snapshots__/PhotoViewer.test.js.snap +0 -96
- package/tests/components/core/__snapshots__/Viewer.test.js.snap +0 -188
- package/tests/components/ui/CopyButton.test.js +0 -52
- package/tests/components/ui/Loader.test.js +0 -55
- package/tests/components/ui/Map.test.js +0 -145
- package/tests/components/ui/Photo.test.js +0 -437
- package/tests/components/ui/Popup.test.js +0 -26
- package/tests/components/ui/QualityScore.test.js +0 -18
- package/tests/components/ui/SearchBar.test.js +0 -110
- package/tests/components/ui/__snapshots__/CopyButton.test.js.snap +0 -33
- package/tests/components/ui/__snapshots__/Loader.test.js.snap +0 -56
- package/tests/components/ui/__snapshots__/Map.test.js.snap +0 -16
- package/tests/components/ui/__snapshots__/Photo.test.js.snap +0 -263
- package/tests/components/ui/__snapshots__/Popup.test.js.snap +0 -29
- package/tests/components/ui/__snapshots__/QualityScore.test.js.snap +0 -11
- package/tests/components/ui/__snapshots__/SearchBar.test.js.snap +0 -65
- package/tests/data/Map_geocoder_ban.json +0 -36
- package/tests/data/Map_geocoder_nominatim.json +0 -41
- package/tests/data/Viewer_pictures_1.json +0 -148
- package/tests/setupTests.js +0 -5
- package/tests/utils/API.test.js +0 -752
- package/tests/utils/InitParameters.test.js +0 -599
- package/tests/utils/MapStyleComposer.test.js +0 -697
- package/tests/utils/PresetsManager.test.js +0 -123
- package/tests/utils/URLHandler.test.js +0 -587
- package/tests/utils/__snapshots__/API.test.js.snap +0 -40
- package/tests/utils/__snapshots__/MapStyleComposer.test.js.snap +0 -767
- package/tests/utils/__snapshots__/URLHandler.test.js.snap +0 -21
- package/tests/utils/__snapshots__/geocoder.test.js.snap +0 -37
- package/tests/utils/__snapshots__/map.test.js.snap +0 -1249
- package/tests/utils/__snapshots__/picture.test.js.snap +0 -327
- package/tests/utils/__snapshots__/widgets.test.js.snap +0 -19
- package/tests/utils/geocoder.test.js +0 -37
- package/tests/utils/i18n.test.js +0 -111
- package/tests/utils/map.test.js +0 -200
- package/tests/utils/picture.test.js +0 -745
- package/tests/utils/semantics.test.js +0 -174
- package/tests/utils/utils.test.js +0 -358
- package/tests/utils/widgets.test.js +0 -31
- /package/{src → build}/components/core/Basic.css +0 -0
- /package/{src → build}/components/core/CoverageMap.css +0 -0
- /package/{src → build}/components/core/Editor.css +0 -0
- /package/{src → build}/components/core/PhotoViewer.css +0 -0
- /package/{src → build}/components/core/Viewer.css +0 -0
- /package/{src → build}/components/ui/ButtonGroup.css +0 -0
- /package/{src → build}/components/ui/Map.css +0 -0
- /package/{src → build}/components/ui/Photo.css +0 -0
- /package/{src → build}/components/ui/ProgressBar.js +0 -0
- /package/{src → build}/components/ui/widgets/GeoSearch.css +0 -0
- /package/{src → build}/components/ui/widgets/LevelSelect.css +0 -0
- /package/{src → build}/components/ui/widgets/Player.css +0 -0
- /package/{public → build}/favicon.ico +0 -0
- /package/{src → build}/img/arrow_360.svg +0 -0
- /package/{src → build}/img/arrow_flat.svg +0 -0
- /package/{src → build}/img/bg_aerial.jpg +0 -0
- /package/{src → build}/img/bg_streets.jpg +0 -0
- /package/{src → build}/img/loader_base.jpg +0 -0
- /package/{src → build}/img/logo_dead.svg +0 -0
- /package/{src → build}/img/marker.svg +0 -0
- /package/{src → build}/img/marker_blue.svg +0 -0
- /package/{src → build}/img/osm.svg +0 -0
- /package/{src → build}/img/panoramax.svg +0 -0
- /package/{src → build}/img/switch_big.svg +0 -0
- /package/{src → build}/img/switch_mini.svg +0 -0
- /package/{src → build}/img/wd.svg +0 -0
- /package/{src → build}/translations/ar.json +0 -0
- /package/{src → build}/translations/be.json +0 -0
- /package/{src → build}/translations/br.json +0 -0
- /package/{src → build}/translations/cy.json +0 -0
- /package/{src → build}/translations/da.json +0 -0
- /package/{src → build}/translations/de.json +0 -0
- /package/{src → build}/translations/en.json +0 -0
- /package/{src → build}/translations/eo.json +0 -0
- /package/{src → build}/translations/es.json +0 -0
- /package/{src → build}/translations/fi.json +0 -0
- /package/{src → build}/translations/fr.json +0 -0
- /package/{src → build}/translations/hu.json +0 -0
- /package/{src → build}/translations/it.json +0 -0
- /package/{src → build}/translations/ja.json +0 -0
- /package/{src → build}/translations/ko.json +0 -0
- /package/{src → build}/translations/nl.json +0 -0
- /package/{src → build}/translations/nn.json +0 -0
- /package/{src → build}/translations/pl.json +0 -0
- /package/{src → build}/translations/pt.json +0 -0
- /package/{src → build}/translations/pt_BR.json +0 -0
- /package/{src → build}/translations/sv.json +0 -0
- /package/{src → build}/translations/ti.json +0 -0
- /package/{src → build}/translations/tr.json +0 -0
- /package/{src → build}/translations/uk.json +0 -0
- /package/{src → build}/translations/zh_Hant.json +0 -0
- /package/{src → build}/utils/PanoraMapProtocol.js +0 -0
- /package/{src → build}/utils/services.js +0 -0
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.SearchBar"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.SearchBar ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Emits**: [<code>result</code>](#Panoramax.components.ui.SearchBar+event_result)
|
|
7
|
-
**Element**: pnx-search-bar
|
|
8
|
-
|
|
9
|
-
* [.SearchBar](#Panoramax.components.ui.SearchBar) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
10
|
-
* [new SearchBar()](#new_Panoramax.components.ui.SearchBar_new)
|
|
11
|
-
* [.properties](#Panoramax.components.ui.SearchBar+properties) : <code>Object</code>
|
|
12
|
-
* ["result"](#Panoramax.components.ui.SearchBar+event_result)
|
|
13
|
-
|
|
14
|
-
<a name="new_Panoramax.components.ui.SearchBar_new"></a>
|
|
15
|
-
|
|
16
|
-
### new SearchBar()
|
|
17
|
-
Search Bar Element displays an interactive search widget.
|
|
18
|
-
|
|
19
|
-
**Example**
|
|
20
|
-
```html
|
|
21
|
-
<pnx-search-bar
|
|
22
|
-
id="my-search-bar"
|
|
23
|
-
placeholder="Search something..."
|
|
24
|
-
.searcher=${mysearchfct}
|
|
25
|
-
._parent=${viewer}
|
|
26
|
-
reduceable="false"
|
|
27
|
-
reduced="false"
|
|
28
|
-
size="xxl" @result=${e => console.log(e.detail)}
|
|
29
|
-
>
|
|
30
|
-
<!-- Optional icon for display on left-side of search bar -->
|
|
31
|
-
</pnx-search-bar>
|
|
32
|
-
```
|
|
33
|
-
<a name="Panoramax.components.ui.SearchBar+properties"></a>
|
|
34
|
-
|
|
35
|
-
### searchBar.properties : <code>Object</code>
|
|
36
|
-
Component properties.
|
|
37
|
-
|
|
38
|
-
**Kind**: instance property of [<code>SearchBar</code>](#Panoramax.components.ui.SearchBar)
|
|
39
|
-
**Properties**
|
|
40
|
-
|
|
41
|
-
| Name | Type | Default | Description |
|
|
42
|
-
| --- | --- | --- | --- |
|
|
43
|
-
| [id] | <code>string</code> | | The ID attribute set on component and prefix for input as well |
|
|
44
|
-
| [placeholder] | <code>string</code> | | Default text to display on empty field |
|
|
45
|
-
| [reduceable] | <code>boolean</code> | <code>false</code> | Can the search bar be collapsed (for mobile view) |
|
|
46
|
-
| [reduced] | <code>boolean</code> | <code>false</code> | Is the search bar currently collapsed ? |
|
|
47
|
-
| [value] | <code>string</code> | | The default input value |
|
|
48
|
-
| [size] | <code>string</code> | <code>"md"</code> | The component sizing (md, xxl) |
|
|
49
|
-
| [searcher] | <code>function</code> | | Search callback, function that takes as parameter the input text value, and resolves on list of results ({title, subtitle} and any other data you'd like to get on validation) |
|
|
50
|
-
| [no-menu-closure] | <code>boolean</code> | <code>false</code> | Set to true to ignore menu closure events |
|
|
51
|
-
|
|
52
|
-
<a name="Panoramax.components.ui.SearchBar+event_result"></a>
|
|
53
|
-
|
|
54
|
-
### "result"
|
|
55
|
-
Event for search result clicked
|
|
56
|
-
|
|
57
|
-
**Kind**: event emitted by [<code>SearchBar</code>](#Panoramax.components.ui.SearchBar)
|
|
58
|
-
**Properties**
|
|
59
|
-
|
|
60
|
-
| Name | Type | Description |
|
|
61
|
-
| --- | --- | --- |
|
|
62
|
-
| detail | <code>object</code> \| <code>null</code> | The data associated to clicked item (format based on searcher function results), or null on reset |
|
|
63
|
-
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.SemanticsEditor"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.SemanticsEditor ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Emits**: [<code>change</code>](#Panoramax.components.ui.SemanticsEditor+event_change)
|
|
7
|
-
**Element**: pnx-semantics-editor
|
|
8
|
-
|
|
9
|
-
* [.SemanticsEditor](#Panoramax.components.ui.SemanticsEditor) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
10
|
-
* [new SemanticsEditor()](#new_Panoramax.components.ui.SemanticsEditor_new)
|
|
11
|
-
* [.properties](#Panoramax.components.ui.SemanticsEditor+properties) : <code>Object</code>
|
|
12
|
-
* [.getDiff()](#Panoramax.components.ui.SemanticsEditor+getDiff) ⇒ <code>Array.<object></code>
|
|
13
|
-
* [.checkValidity()](#Panoramax.components.ui.SemanticsEditor+checkValidity) ⇒ <code>boolean</code>
|
|
14
|
-
* [.reportValidity()](#Panoramax.components.ui.SemanticsEditor+reportValidity)
|
|
15
|
-
* [.reset([baseSemantics])](#Panoramax.components.ui.SemanticsEditor+reset)
|
|
16
|
-
* [.forceInput()](#Panoramax.components.ui.SemanticsEditor+forceInput)
|
|
17
|
-
* ["change"](#Panoramax.components.ui.SemanticsEditor+event_change)
|
|
18
|
-
|
|
19
|
-
<a name="new_Panoramax.components.ui.SemanticsEditor_new"></a>
|
|
20
|
-
|
|
21
|
-
### new SemanticsEditor()
|
|
22
|
-
Semantics Editor offer an easy-to-use input for adding or editing semantics tags.
|
|
23
|
-
|
|
24
|
-
It manipulates list of `{key: "mypanokey", value: "myvalue"}` entries through `semantics` attribute.
|
|
25
|
-
|
|
26
|
-
**Example**
|
|
27
|
-
```html
|
|
28
|
-
<!-- Basic example -->
|
|
29
|
-
<pnx-semantics-editor
|
|
30
|
-
id="editor"
|
|
31
|
-
semantics=${mypic.semantics}
|
|
32
|
-
._t=${viewer._t}
|
|
33
|
-
onchange=${e => console.log(e.detail.semantics)}
|
|
34
|
-
/>
|
|
35
|
-
|
|
36
|
-
<!-- You can access editor and check its validity through native web browser functions -->
|
|
37
|
-
<script>
|
|
38
|
-
const editor = document.getElementById("editor");
|
|
39
|
-
console.log(editor.checkValidity()); // True if input is valid
|
|
40
|
-
</script>
|
|
41
|
-
|
|
42
|
-
<!-- You can change specifically style of textarea -->
|
|
43
|
-
<style>
|
|
44
|
-
pnx-semantics-editor::part(text) {
|
|
45
|
-
color: blue;
|
|
46
|
-
}
|
|
47
|
-
</style>
|
|
48
|
-
```
|
|
49
|
-
<a name="Panoramax.components.ui.SemanticsEditor+properties"></a>
|
|
50
|
-
|
|
51
|
-
### semanticsEditor.properties : <code>Object</code>
|
|
52
|
-
Component properties.
|
|
53
|
-
|
|
54
|
-
**Kind**: instance property of [<code>SemanticsEditor</code>](#Panoramax.components.ui.SemanticsEditor)
|
|
55
|
-
**Properties**
|
|
56
|
-
|
|
57
|
-
| Name | Type | Default | Description |
|
|
58
|
-
| --- | --- | --- | --- |
|
|
59
|
-
| [semantics] | <code>object</code> | | The `semantics` field of a picture or annotation feature. It is updated when field changes, but reflect the whole list of new tags (not delta needed by API). If you want delta, please use getDiff function. |
|
|
60
|
-
| [rows] | <code>number</code> | <code>3</code> | The amount of rows shown for textarea |
|
|
61
|
-
|
|
62
|
-
<a name="Panoramax.components.ui.SemanticsEditor+getDiff"></a>
|
|
63
|
-
|
|
64
|
-
### semanticsEditor.getDiff() ⇒ <code>Array.<object></code>
|
|
65
|
-
Get current delta between initial tags and user changes.
|
|
66
|
-
|
|
67
|
-
**Kind**: instance method of [<code>SemanticsEditor</code>](#Panoramax.components.ui.SemanticsEditor)
|
|
68
|
-
**Returns**: <code>Array.<object></code> - The list of tag changes (in API format)
|
|
69
|
-
<a name="Panoramax.components.ui.SemanticsEditor+checkValidity"></a>
|
|
70
|
-
|
|
71
|
-
### semanticsEditor.checkValidity() ⇒ <code>boolean</code>
|
|
72
|
-
Check if input is having a valid value.
|
|
73
|
-
|
|
74
|
-
**Kind**: instance method of [<code>SemanticsEditor</code>](#Panoramax.components.ui.SemanticsEditor)
|
|
75
|
-
**Returns**: <code>boolean</code> - True if it's valid
|
|
76
|
-
<a name="Panoramax.components.ui.SemanticsEditor+reportValidity"></a>
|
|
77
|
-
|
|
78
|
-
### semanticsEditor.reportValidity()
|
|
79
|
-
Force display of invalid input
|
|
80
|
-
|
|
81
|
-
**Kind**: instance method of [<code>SemanticsEditor</code>](#Panoramax.components.ui.SemanticsEditor)
|
|
82
|
-
<a name="Panoramax.components.ui.SemanticsEditor+reset"></a>
|
|
83
|
-
|
|
84
|
-
### semanticsEditor.reset([baseSemantics])
|
|
85
|
-
Forces Editor to goes back to its empty, initial state.
|
|
86
|
-
|
|
87
|
-
**Kind**: instance method of [<code>SemanticsEditor</code>](#Panoramax.components.ui.SemanticsEditor)
|
|
88
|
-
|
|
89
|
-
| Param | Type | Default | Description |
|
|
90
|
-
| --- | --- | --- | --- |
|
|
91
|
-
| [baseSemantics] | <code>object</code> | <code></code> | Initial existing semantics you want to show in editor. This is useful for getting a diff of only new semantic entries. Leave empty if no tags pre-exist. |
|
|
92
|
-
|
|
93
|
-
<a name="Panoramax.components.ui.SemanticsEditor+forceInput"></a>
|
|
94
|
-
|
|
95
|
-
### semanticsEditor.forceInput()
|
|
96
|
-
Forces Editor to save current text and parse semantics.
|
|
97
|
-
|
|
98
|
-
**Kind**: instance method of [<code>SemanticsEditor</code>](#Panoramax.components.ui.SemanticsEditor)
|
|
99
|
-
<a name="Panoramax.components.ui.SemanticsEditor+event_change"></a>
|
|
100
|
-
|
|
101
|
-
### "change"
|
|
102
|
-
Event for value change.
|
|
103
|
-
|
|
104
|
-
Note that this event is launched only on valid input.
|
|
105
|
-
|
|
106
|
-
**Kind**: event emitted by [<code>SemanticsEditor</code>](#Panoramax.components.ui.SemanticsEditor)
|
|
107
|
-
**Properties**
|
|
108
|
-
|
|
109
|
-
| Name | Type | Description |
|
|
110
|
-
| --- | --- | --- |
|
|
111
|
-
| detail.semantics | <code>Array.<object></code> | The new tags list (in API semantics property format) |
|
|
112
|
-
| detail.delta | <code>Array.<object></code> | The delta between old and current tags (expected by API) |
|
|
113
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.SemanticsTable"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.SemanticsTable ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-semantics-table
|
|
7
|
-
|
|
8
|
-
* [.SemanticsTable](#Panoramax.components.ui.SemanticsTable) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new SemanticsTable()](#new_Panoramax.components.ui.SemanticsTable_new)
|
|
10
|
-
* [.properties](#Panoramax.components.ui.SemanticsTable+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.ui.SemanticsTable_new"></a>
|
|
13
|
-
|
|
14
|
-
### new SemanticsTable()
|
|
15
|
-
Semantics Tables display all semantics tags from either a picture or an annotation.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-semantics-table source=${picture.properties} ._t=${viewer._t} />
|
|
20
|
-
```
|
|
21
|
-
<a name="Panoramax.components.ui.SemanticsTable+properties"></a>
|
|
22
|
-
|
|
23
|
-
### semanticsTable.properties : <code>Object</code>
|
|
24
|
-
Component properties.
|
|
25
|
-
|
|
26
|
-
**Kind**: instance property of [<code>SemanticsTable</code>](#Panoramax.components.ui.SemanticsTable)
|
|
27
|
-
**Properties**
|
|
28
|
-
|
|
29
|
-
| Name | Type | Description |
|
|
30
|
-
| --- | --- | --- |
|
|
31
|
-
| [source] | <code>object</code> | The picture or annotation feature (having a `semantics` property) |
|
|
32
|
-
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.Switch"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.Switch ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Emits**: [<code>change</code>](#Panoramax.components.ui.Switch+event_change)
|
|
7
|
-
**Element**: pnx-switch
|
|
8
|
-
**Change=${dosomething}**: >
|
|
9
|
-
Label text
|
|
10
|
-
</pnx-switch>
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
* [.Switch](#Panoramax.components.ui.Switch) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
14
|
-
* [new Switch()](#new_Panoramax.components.ui.Switch_new)
|
|
15
|
-
* [.properties](#Panoramax.components.ui.Switch+properties) : <code>Object</code>
|
|
16
|
-
* ["change"](#Panoramax.components.ui.Switch+event_change)
|
|
17
|
-
|
|
18
|
-
<a name="new_Panoramax.components.ui.Switch_new"></a>
|
|
19
|
-
|
|
20
|
-
### new Switch()
|
|
21
|
-
Switch button, based on a native checkbox.
|
|
22
|
-
|
|
23
|
-
**Example**
|
|
24
|
-
```html
|
|
25
|
-
<pnx-switch
|
|
26
|
-
checked="true"
|
|
27
|
-
name="my-switch"
|
|
28
|
-
|
|
29
|
-
<a name="Panoramax.components.ui.Switch+properties"></a>
|
|
30
|
-
|
|
31
|
-
### switch.properties : <code>Object</code>
|
|
32
|
-
Component properties.
|
|
33
|
-
|
|
34
|
-
**Kind**: instance property of [<code>Switch</code>](#Panoramax.components.ui.Switch)
|
|
35
|
-
**Properties**
|
|
36
|
-
|
|
37
|
-
| Name | Type | Description |
|
|
38
|
-
| --- | --- | --- |
|
|
39
|
-
| checked | <code>boolean</code> | True if checked |
|
|
40
|
-
| disabled | <code>boolean</code> | Inactive if true |
|
|
41
|
-
| value | <code>boolean</code> | The current switch value |
|
|
42
|
-
| name | <code>string</code> | The switch name (also serves as ID) |
|
|
43
|
-
|
|
44
|
-
<a name="Panoramax.components.ui.Switch+event_change"></a>
|
|
45
|
-
|
|
46
|
-
### "change"
|
|
47
|
-
Event for switch status change
|
|
48
|
-
|
|
49
|
-
**Kind**: event emitted by [<code>Switch</code>](#Panoramax.components.ui.Switch)
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.TogglableGroup"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.TogglableGroup ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-togglable-group
|
|
7
|
-
**Slot**: `button` The button on which click leads to open/close menu
|
|
8
|
-
**Slot**: `default` The menu to make shown/hidden on button click
|
|
9
|
-
|
|
10
|
-
* [.TogglableGroup](#Panoramax.components.ui.TogglableGroup) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
11
|
-
* [new TogglableGroup()](#new_Panoramax.components.ui.TogglableGroup_new)
|
|
12
|
-
* [.properties](#Panoramax.components.ui.TogglableGroup+properties) : <code>Object</code>
|
|
13
|
-
|
|
14
|
-
<a name="new_Panoramax.components.ui.TogglableGroup_new"></a>
|
|
15
|
-
|
|
16
|
-
### new TogglableGroup()
|
|
17
|
-
Togglable Group element allows to make a menu appear/disappear based on button click.
|
|
18
|
-
|
|
19
|
-
**Example**
|
|
20
|
-
```html
|
|
21
|
-
<pnx-togglable-group padded="false" ._parent=${viewer}>
|
|
22
|
-
<pnx-button slot="button">
|
|
23
|
-
Open menu
|
|
24
|
-
</pnx-button>
|
|
25
|
-
<div>Menu content</div>
|
|
26
|
-
</pnx-togglable-group>
|
|
27
|
-
```
|
|
28
|
-
<a name="Panoramax.components.ui.TogglableGroup+properties"></a>
|
|
29
|
-
|
|
30
|
-
### togglableGroup.properties : <code>Object</code>
|
|
31
|
-
Component properties.
|
|
32
|
-
|
|
33
|
-
**Kind**: instance property of [<code>TogglableGroup</code>](#Panoramax.components.ui.TogglableGroup)
|
|
34
|
-
**Properties**
|
|
35
|
-
|
|
36
|
-
| Name | Type | Description |
|
|
37
|
-
| --- | --- | --- |
|
|
38
|
-
| [padded] | <code>string</code> | If set, adds a 15px padding to the menu panel. |
|
|
39
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.CopyCoordinates"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.CopyCoordinates ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-copy-coordinates
|
|
7
|
-
|
|
8
|
-
* [.CopyCoordinates](#Panoramax.components.ui.widgets.CopyCoordinates) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new CopyCoordinates()](#new_Panoramax.components.ui.widgets.CopyCoordinates_new)
|
|
10
|
-
* [.properties](#Panoramax.components.ui.widgets.CopyCoordinates+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.ui.widgets.CopyCoordinates_new"></a>
|
|
13
|
-
|
|
14
|
-
### new CopyCoordinates()
|
|
15
|
-
Copy Coordinates button allows easy copy of several format of map coordinates.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-copy-coordinates gps=${[-1.7, 48.6]} _parent=${viewer} />
|
|
20
|
-
```
|
|
21
|
-
<a name="Panoramax.components.ui.widgets.CopyCoordinates+properties"></a>
|
|
22
|
-
|
|
23
|
-
### copyCoordinates.properties : <code>Object</code>
|
|
24
|
-
Component properties.
|
|
25
|
-
|
|
26
|
-
**Kind**: instance property of [<code>CopyCoordinates</code>](#Panoramax.components.ui.widgets.CopyCoordinates)
|
|
27
|
-
**Properties**
|
|
28
|
-
|
|
29
|
-
| Name | Type | Description |
|
|
30
|
-
| --- | --- | --- |
|
|
31
|
-
| gps | <code>Array.<number></code> | GPS/map coordinates, as [lon, lat] |
|
|
32
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.GeoSearch"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.GeoSearch ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-widget-geosearch
|
|
7
|
-
|
|
8
|
-
* [.GeoSearch](#Panoramax.components.ui.widgets.GeoSearch) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new GeoSearch()](#new_Panoramax.components.ui.widgets.GeoSearch_new)
|
|
10
|
-
* [.properties](#Panoramax.components.ui.widgets.GeoSearch+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.ui.widgets.GeoSearch_new"></a>
|
|
13
|
-
|
|
14
|
-
### new GeoSearch()
|
|
15
|
-
Ready-to-use geocoder search bar.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<!-- Default geocoder -->
|
|
20
|
-
<pnx-widget-geosearch _parent=${viewer} />
|
|
21
|
-
|
|
22
|
-
<!-- Custom-URL geocoder -->
|
|
23
|
-
<pnx-widget-geosearch geocoder="https://photon.komoot.io/api" _parent=${viewer} />
|
|
24
|
-
```
|
|
25
|
-
<a name="Panoramax.components.ui.widgets.GeoSearch+properties"></a>
|
|
26
|
-
|
|
27
|
-
### geoSearch.properties : <code>Object</code>
|
|
28
|
-
Component properties.
|
|
29
|
-
|
|
30
|
-
**Kind**: instance property of [<code>GeoSearch</code>](#Panoramax.components.ui.widgets.GeoSearch)
|
|
31
|
-
**Properties**
|
|
32
|
-
|
|
33
|
-
| Name | Type | Default | Description |
|
|
34
|
-
| --- | --- | --- | --- |
|
|
35
|
-
| [geocoder] | <code>string</code> | <code>"nominatim"</code> | The geocoder engine to use (nominatim, ban, or URL to a standard [GeocodeJSON-compliant](https://github.com/geocoders/geocodejson-spec/blob/master/draft/README.md) API) |
|
|
36
|
-
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.Legend"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.Legend ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-widget-legend
|
|
7
|
-
**Slot**: `editors` External links to map editors, or any tool that may be helpful. Defaults to OSM tools (iD & JOSM).
|
|
8
|
-
|
|
9
|
-
* [.Legend](#Panoramax.components.ui.widgets.Legend) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
10
|
-
* [new Legend()](#new_Panoramax.components.ui.widgets.Legend_new)
|
|
11
|
-
* [.properties](#Panoramax.components.ui.widgets.Legend+properties) : <code>Object</code>
|
|
12
|
-
|
|
13
|
-
<a name="new_Panoramax.components.ui.widgets.Legend_new"></a>
|
|
14
|
-
|
|
15
|
-
### new Legend()
|
|
16
|
-
Legend widget, handling switch between map and photo components.
|
|
17
|
-
Also displays a default "About Panoramax" message.
|
|
18
|
-
|
|
19
|
-
**Example**
|
|
20
|
-
```html
|
|
21
|
-
<!-- Default legend -->
|
|
22
|
-
<pnx-widget-legend
|
|
23
|
-
_parent=${viewer}
|
|
24
|
-
focus="map"
|
|
25
|
-
picture="PICTURE-ID-IF-ANY"
|
|
26
|
-
></pnx-widget-legend>
|
|
27
|
-
|
|
28
|
-
<!-- With custom editor links -->
|
|
29
|
-
<pnx-widget-legend
|
|
30
|
-
_parent=${viewer}
|
|
31
|
-
focus="map"
|
|
32
|
-
picture="PICTURE-ID-IF-ANY"
|
|
33
|
-
>
|
|
34
|
-
<div slot="editors"><a href="http://my.own.tool">Edit in my own tool</a></div>
|
|
35
|
-
</pnx-widget-legend>
|
|
36
|
-
|
|
37
|
-
<!-- Lighter version -->
|
|
38
|
-
<pnx-widget-legend
|
|
39
|
-
_parent=${viewer}
|
|
40
|
-
focus="pic"
|
|
41
|
-
picture="PICTURE-ID-IF-ANY"
|
|
42
|
-
light
|
|
43
|
-
></pnx-widget-legend>
|
|
44
|
-
```
|
|
45
|
-
<a name="Panoramax.components.ui.widgets.Legend+properties"></a>
|
|
46
|
-
|
|
47
|
-
### legend.properties : <code>Object</code>
|
|
48
|
-
Component properties.
|
|
49
|
-
|
|
50
|
-
**Kind**: instance property of [<code>Legend</code>](#Panoramax.components.ui.widgets.Legend)
|
|
51
|
-
**Properties**
|
|
52
|
-
|
|
53
|
-
| Name | Type | Default | Description |
|
|
54
|
-
| --- | --- | --- | --- |
|
|
55
|
-
| [focus] | <code>string</code> | | The focused main component (map, pic) |
|
|
56
|
-
| [picture] | <code>string</code> | | The picture ID |
|
|
57
|
-
| [light] | <code>boolean</code> | <code>false</code> | Lighter version (for iframes) |
|
|
58
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.LevelSelect"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.LevelSelect ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-level-select
|
|
7
|
-
<a name="new_Panoramax.components.ui.widgets.LevelSelect_new"></a>
|
|
8
|
-
|
|
9
|
-
### new LevelSelect()
|
|
10
|
-
Widget for indoor level selecting over map.
|
|
11
|
-
It relies on indoor= MapLibre plugin to work, so this should be enabled before calling this widget.
|
|
12
|
-
|
|
13
|
-
**Example**
|
|
14
|
-
```html
|
|
15
|
-
<pnx-level-select _parent=${viewer} />
|
|
16
|
-
```
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.MapFiltersButton"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.MapFiltersButton ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-widget-mapfilters
|
|
7
|
-
|
|
8
|
-
* [.MapFiltersButton](#Panoramax.components.ui.widgets.MapFiltersButton) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new MapFiltersButton()](#new_Panoramax.components.ui.widgets.MapFiltersButton_new)
|
|
10
|
-
* [.properties](#Panoramax.components.ui.widgets.MapFiltersButton+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.ui.widgets.MapFiltersButton_new"></a>
|
|
13
|
-
|
|
14
|
-
### new MapFiltersButton()
|
|
15
|
-
Collapsible button showing off map filters menus.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-widget-mapfilters user-search="" _parent=${viewer} />
|
|
20
|
-
```
|
|
21
|
-
<a name="Panoramax.components.ui.widgets.MapFiltersButton+properties"></a>
|
|
22
|
-
|
|
23
|
-
### mapFiltersButton.properties : <code>Object</code>
|
|
24
|
-
Component properties.
|
|
25
|
-
|
|
26
|
-
**Kind**: instance property of [<code>MapFiltersButton</code>](#Panoramax.components.ui.widgets.MapFiltersButton)
|
|
27
|
-
**Properties**
|
|
28
|
-
|
|
29
|
-
| Name | Type | Default | Description |
|
|
30
|
-
| --- | --- | --- | --- |
|
|
31
|
-
| [user-search] | <code>boolean</code> | <code>false</code> | Should user search filter show up ? |
|
|
32
|
-
| [quality-score] | <code>boolean</code> | <code>false</code> | Should quality score filter show up ? |
|
|
33
|
-
| [no-date] | <code>boolean</code> | <code>false</code> | Should date filters be hidden ? |
|
|
34
|
-
| [no-picture-type] | <code>boolean</code> | <code>false</code> | Should picture type filter be hidden ? |
|
|
35
|
-
| [no-gps] | <code>boolean</code> | <code>false</code> | Should GPS precision filter be hidden ? |
|
|
36
|
-
| [no-source] | <code>boolean</code> | <code>false</code> | Should pictures source (world, instance) filter be hidden ? |
|
|
37
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.MapLayersButton"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.MapLayersButton ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-widget-maplayers
|
|
7
|
-
<a name="new_Panoramax.components.ui.widgets.MapLayersButton_new"></a>
|
|
8
|
-
|
|
9
|
-
### new MapLayersButton()
|
|
10
|
-
Collapsible button showing off map filters menus.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-widget-maplayers _parent=${viewer} />
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.OSMEditors"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.OSMEditors ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-widget-osmeditors
|
|
7
|
-
<a name="new_Panoramax.components.ui.widgets.OSMEditors_new"></a>
|
|
8
|
-
|
|
9
|
-
### new OSMEditors()
|
|
10
|
-
OSM Editors component offers direct links to OpenStreetMap's iD and JOSM editors.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-widget-osmeditors _parent=${viewer} />
|
|
15
|
-
```
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.PictureLegendActions"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.PictureLegendActions ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-picture-legend-actions
|
|
7
|
-
|
|
8
|
-
* [.PictureLegendActions](#Panoramax.components.ui.widgets.PictureLegendActions) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new PictureLegendActions()](#new_Panoramax.components.ui.widgets.PictureLegendActions_new)
|
|
10
|
-
* [.properties](#Panoramax.components.ui.widgets.PictureLegendActions+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.ui.widgets.PictureLegendActions_new"></a>
|
|
13
|
-
|
|
14
|
-
### new PictureLegendActions()
|
|
15
|
-
Picture Legend Actions is a menu showing up complementary actions for picture legend.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-picture-legend-actions _parent=${viewer} />
|
|
20
|
-
```
|
|
21
|
-
<a name="Panoramax.components.ui.widgets.PictureLegendActions+properties"></a>
|
|
22
|
-
|
|
23
|
-
### pictureLegendActions.properties : <code>Object</code>
|
|
24
|
-
Component properties.
|
|
25
|
-
|
|
26
|
-
**Kind**: instance property of [<code>PictureLegendActions</code>](#Panoramax.components.ui.widgets.PictureLegendActions)
|
|
27
|
-
**Properties**
|
|
28
|
-
|
|
29
|
-
| Name | Type | Default | Description |
|
|
30
|
-
| --- | --- | --- | --- |
|
|
31
|
-
| [full] | <code>boolean</code> | <code>false</code> | Show advanced actions |
|
|
32
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.Player"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.Player ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-widget-player
|
|
7
|
-
|
|
8
|
-
* [.Player](#Panoramax.components.ui.widgets.Player) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new Player()](#new_Panoramax.components.ui.widgets.Player_new)
|
|
10
|
-
* [.properties](#Panoramax.components.ui.widgets.Player+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.ui.widgets.Player_new"></a>
|
|
13
|
-
|
|
14
|
-
### new Player()
|
|
15
|
-
Player widget shows prev/play/pause/next/more buttons in a unified toolbar.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-widget-player _parent=${viewer} />
|
|
20
|
-
```
|
|
21
|
-
<a name="Panoramax.components.ui.widgets.Player+properties"></a>
|
|
22
|
-
|
|
23
|
-
### player.properties : <code>Object</code>
|
|
24
|
-
Component properties.
|
|
25
|
-
|
|
26
|
-
**Kind**: instance property of [<code>Player</code>](#Panoramax.components.ui.widgets.Player)
|
|
27
|
-
**Properties**
|
|
28
|
-
|
|
29
|
-
| Name | Type | Default | Description |
|
|
30
|
-
| --- | --- | --- | --- |
|
|
31
|
-
| [playing] | <code>boolean</code> | <code>false</code> | Is sequence currently playing ? |
|
|
32
|
-
| [size] | <code>string</code> | <code>"xl"</code> | Group size (md, xl) |
|
|
33
|
-
| [more] | <code>string</code> | <code>"depends"</code> | Should we display the "more options" button ("always", "never", "depends" = only on large screens (default)) |
|
|
34
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.SemanticsFiltersButton"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.SemanticsFiltersButton ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-widget-semantics-filters
|
|
7
|
-
<a name="new_Panoramax.components.ui.widgets.SemanticsFiltersButton_new"></a>
|
|
8
|
-
|
|
9
|
-
### new SemanticsFiltersButton()
|
|
10
|
-
Collapsible button showing off tags filters menus.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-widget-semantics-filters _parent=${viewer} />
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.widgets.Zoom"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.widgets.Zoom ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui.widgets</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-widget-zoom
|
|
7
|
-
<a name="new_Panoramax.components.ui.widgets.Zoom_new"></a>
|
|
8
|
-
|
|
9
|
-
### new Zoom()
|
|
10
|
-
Widget for +/- zoom on PSV or Map.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-widget-zoom _parent=${viewer} />
|
|
15
|
-
```
|