@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,389 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.utils.API"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.utils.API
|
|
4
|
-
**Kind**: static class of <code>Panoramax.utils</code>
|
|
5
|
-
**Emits**: [<code>ready</code>](#Panoramax.utils.API+event_ready), [<code>broken</code>](#Panoramax.utils.API+event_broken)
|
|
6
|
-
|
|
7
|
-
* [.API](#Panoramax.utils.API)
|
|
8
|
-
* [new API(endpoint, [options])](#new_Panoramax.utils.API_new)
|
|
9
|
-
* _instance_
|
|
10
|
-
* [.onceReady()](#Panoramax.utils.API+onceReady) ⇒ <code>Promise</code>
|
|
11
|
-
* [.isReady()](#Panoramax.utils.API+isReady) ⇒ <code>boolean</code>
|
|
12
|
-
* [.getAvailableFeatures()](#Panoramax.utils.API+getAvailableFeatures) ⇒ <code>Array.<string></code>
|
|
13
|
-
* [.getUnavailableFeatures()](#Panoramax.utils.API+getUnavailableFeatures) ⇒ <code>Array.<string></code>
|
|
14
|
-
* [.getSequenceItems(seqId, [next], [data], [limit])](#Panoramax.utils.API+getSequenceItems) ⇒ <code>Promise</code>
|
|
15
|
-
* [.getPicturesAroundCoordinatesUrl(lat, lon, [factor], [limit], [seqId])](#Panoramax.utils.API+getPicturesAroundCoordinatesUrl) ⇒ <code>string</code>
|
|
16
|
-
* [.getPicturesAroundCoordinates(lat, lon, [factor], [limit], [seqId])](#Panoramax.utils.API+getPicturesAroundCoordinates) ⇒ <code>Promise</code>
|
|
17
|
-
* [.getPictureMetadataUrl(picId, [seqId])](#Panoramax.utils.API+getPictureMetadataUrl) ⇒ <code>string</code>
|
|
18
|
-
* [.getPictureThumbnailURLForSequence(seqId, [seq])](#Panoramax.utils.API+getPictureThumbnailURLForSequence) ⇒ <code>Promise</code>
|
|
19
|
-
* [.getPictureThumbnailURL(picId, [seqId])](#Panoramax.utils.API+getPictureThumbnailURL) ⇒ <code>Promise</code>
|
|
20
|
-
* [.getRSSURL([bbox])](#Panoramax.utils.API+getRSSURL) ⇒ <code>string</code> \| <code>null</code>
|
|
21
|
-
* [.getSequenceMetadataUrl(seqId)](#Panoramax.utils.API+getSequenceMetadataUrl) ⇒ <code>string</code>
|
|
22
|
-
* [.getSequenceMetadata(seqId)](#Panoramax.utils.API+getSequenceMetadata) ⇒ <code>Promise</code>
|
|
23
|
-
* [.getDataBbox()](#Panoramax.utils.API+getDataBbox) ⇒ <code>LngLatBoundsLike</code>
|
|
24
|
-
* [.searchUsers(query)](#Panoramax.utils.API+searchUsers) ⇒ <code>Promise</code>
|
|
25
|
-
* [.getUserName(userId)](#Panoramax.utils.API+getUserName) ⇒ <code>Promise</code>
|
|
26
|
-
* [.sendReport(data)](#Panoramax.utils.API+sendReport) ⇒ <code>Promise</code>
|
|
27
|
-
* [.sendPictureSemantics(picMeta, semanticsDiff)](#Panoramax.utils.API+sendPictureSemantics) ⇒ <code>Promise</code>
|
|
28
|
-
* [.createPictureAnnotation(picMeta, shape, semanticsDiff)](#Panoramax.utils.API+createPictureAnnotation) ⇒ <code>Promise</code>
|
|
29
|
-
* [.editPictureAnnotation(annotationId, semanticsDiff)](#Panoramax.utils.API+editPictureAnnotation) ⇒ <code>Promise</code>
|
|
30
|
-
* [.deletePictureAnnotation(annotationId)](#Panoramax.utils.API+deletePictureAnnotation) ⇒ <code>Promise</code>
|
|
31
|
-
* [.getAuthURL()](#Panoramax.utils.API+getAuthURL) ⇒ <code>Promise</code>
|
|
32
|
-
* ["broken"](#Panoramax.utils.API+event_broken)
|
|
33
|
-
* ["ready"](#Panoramax.utils.API+event_ready)
|
|
34
|
-
* _static_
|
|
35
|
-
* [.isValidHttpUrl(str)](#Panoramax.utils.API.isValidHttpUrl) ⇒ <code>boolean</code>
|
|
36
|
-
* [.isIdValid(id)](#Panoramax.utils.API.isIdValid) ⇒ <code>boolean</code>
|
|
37
|
-
|
|
38
|
-
<a name="new_Panoramax.utils.API_new"></a>
|
|
39
|
-
|
|
40
|
-
### new API(endpoint, [options])
|
|
41
|
-
API contains various utility functions to communicate with Panoramax/STAC API
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
| Param | Type | Default | Description |
|
|
45
|
-
| --- | --- | --- | --- |
|
|
46
|
-
| endpoint | <code>string</code> | | The endpoint. It corresponds to the <a href="https://github.com/radiantearth/stac-api-spec/blob/main/overview.md#example-landing-page">STAC landing page</a>, with all links describing the API capabilities. |
|
|
47
|
-
| [options] | <code>object</code> | | Options |
|
|
48
|
-
| [options.tiles] | <code>string</code> | | API route serving pictures & sequences vector tiles |
|
|
49
|
-
| [options.skipReadLanding] | <code>boolean</code> | <code>false</code> | True to not call API landing page automatically |
|
|
50
|
-
| [options.fetch] | <code>object</code> | | Set custom options for fetch calls made against API ([same syntax as fetch options parameter](https://developer.mozilla.org/en-US/docs/Web/API/fetch#parameters)) |
|
|
51
|
-
|
|
52
|
-
<a name="Panoramax.utils.API+onceReady"></a>
|
|
53
|
-
|
|
54
|
-
### api.onceReady() ⇒ <code>Promise</code>
|
|
55
|
-
Resolves when the API is ready to be used.
|
|
56
|
-
|
|
57
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
58
|
-
**Fulfil**: <code>string</code> "API is ready" when initialization is complete.
|
|
59
|
-
**Reject**: <code>string</code> Error message
|
|
60
|
-
<a name="Panoramax.utils.API+isReady"></a>
|
|
61
|
-
|
|
62
|
-
### api.isReady() ⇒ <code>boolean</code>
|
|
63
|
-
Checks if the API is ready to be used.
|
|
64
|
-
|
|
65
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
66
|
-
**Returns**: <code>boolean</code> - True if the API is ready, false otherwise.
|
|
67
|
-
<a name="Panoramax.utils.API+getAvailableFeatures"></a>
|
|
68
|
-
|
|
69
|
-
### api.getAvailableFeatures() ⇒ <code>Array.<string></code>
|
|
70
|
-
List of available features offered by API
|
|
71
|
-
|
|
72
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
73
|
-
**Returns**: <code>Array.<string></code> - Keywords of enabled features
|
|
74
|
-
<a name="Panoramax.utils.API+getUnavailableFeatures"></a>
|
|
75
|
-
|
|
76
|
-
### api.getUnavailableFeatures() ⇒ <code>Array.<string></code>
|
|
77
|
-
List of unavailable features on API
|
|
78
|
-
|
|
79
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
80
|
-
**Returns**: <code>Array.<string></code> - Keywords of disabled features
|
|
81
|
-
<a name="Panoramax.utils.API+getSequenceItems"></a>
|
|
82
|
-
|
|
83
|
-
### api.getSequenceItems(seqId, [next], [data], [limit]) ⇒ <code>Promise</code>
|
|
84
|
-
Get sequence GeoJSON representation
|
|
85
|
-
|
|
86
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
87
|
-
**Fulfil**: <code>object</code> Sequence GeoJSON
|
|
88
|
-
**Reject**: <code>Error</code> If API is not ready or for any network issue
|
|
89
|
-
|
|
90
|
-
| Param | Type | Default | Description |
|
|
91
|
-
| --- | --- | --- | --- |
|
|
92
|
-
| seqId | <code>string</code> | | The sequence ID |
|
|
93
|
-
| [next] | <code>string</code> | <code>null</code> | The next link URL (only for internals) |
|
|
94
|
-
| [data] | <code>object</code> | <code></code> | The previous dataset (only for internals) |
|
|
95
|
-
| [limit] | <code>number</code> | <code></code> | How many items to retrieve (defaults to unset). If set, pages are not looked through. |
|
|
96
|
-
|
|
97
|
-
<a name="Panoramax.utils.API+getPicturesAroundCoordinatesUrl"></a>
|
|
98
|
-
|
|
99
|
-
### api.getPicturesAroundCoordinatesUrl(lat, lon, [factor], [limit], [seqId]) ⇒ <code>string</code>
|
|
100
|
-
Get full URL for listing pictures around a specific location
|
|
101
|
-
|
|
102
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
103
|
-
**Returns**: <code>string</code> - The corresponding URL
|
|
104
|
-
|
|
105
|
-
| Param | Type | Default | Description |
|
|
106
|
-
| --- | --- | --- | --- |
|
|
107
|
-
| lat | <code>number</code> | | Latitude |
|
|
108
|
-
| lon | <code>number</code> | | Longitude |
|
|
109
|
-
| [factor] | <code>number</code> | <code>0.0005</code> | The radius to search around (in degrees) |
|
|
110
|
-
| [limit] | <code>number</code> | | Max amount of pictures to retrieve |
|
|
111
|
-
| [seqId] | <code>string</code> | | The sequence ID to filter on (by default, no filter) |
|
|
112
|
-
|
|
113
|
-
<a name="Panoramax.utils.API+getPicturesAroundCoordinates"></a>
|
|
114
|
-
|
|
115
|
-
### api.getPicturesAroundCoordinates(lat, lon, [factor], [limit], [seqId]) ⇒ <code>Promise</code>
|
|
116
|
-
Get list of pictures around a specific location
|
|
117
|
-
|
|
118
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
119
|
-
**Fulfil**: <code>object</code> The GeoJSON feature collection
|
|
120
|
-
|
|
121
|
-
| Param | Type | Description |
|
|
122
|
-
| --- | --- | --- |
|
|
123
|
-
| lat | <code>number</code> | Latitude |
|
|
124
|
-
| lon | <code>number</code> | Longitude |
|
|
125
|
-
| [factor] | <code>number</code> | The radius to search around (in degrees) |
|
|
126
|
-
| [limit] | <code>number</code> | Max amount of pictures to retrieve |
|
|
127
|
-
| [seqId] | <code>string</code> | The sequence ID to filter on (by default, no filter) |
|
|
128
|
-
|
|
129
|
-
<a name="Panoramax.utils.API+getPictureMetadataUrl"></a>
|
|
130
|
-
|
|
131
|
-
### api.getPictureMetadataUrl(picId, [seqId]) ⇒ <code>string</code>
|
|
132
|
-
Get full URL for retrieving a specific picture metadata
|
|
133
|
-
|
|
134
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
135
|
-
**Returns**: <code>string</code> - The corresponding URL
|
|
136
|
-
**Throws**:
|
|
137
|
-
|
|
138
|
-
- <code>Error</code> If API is not ready
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
| Param | Type | Description |
|
|
142
|
-
| --- | --- | --- |
|
|
143
|
-
| picId | <code>string</code> | The picture unique identifier |
|
|
144
|
-
| [seqId] | <code>string</code> | The sequence ID |
|
|
145
|
-
|
|
146
|
-
<a name="Panoramax.utils.API+getPictureThumbnailURLForSequence"></a>
|
|
147
|
-
|
|
148
|
-
### api.getPictureThumbnailURLForSequence(seqId, [seq]) ⇒ <code>Promise</code>
|
|
149
|
-
Get a picture thumbnail URL for a given sequence
|
|
150
|
-
|
|
151
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
152
|
-
**Throws**:
|
|
153
|
-
|
|
154
|
-
- <code>Error</code> If API is not ready
|
|
155
|
-
|
|
156
|
-
**Fulfil**: <code>string\|null</code> Promise resolving on the picture thumbnail URL, or null if not found
|
|
157
|
-
|
|
158
|
-
| Param | Type | Description |
|
|
159
|
-
| --- | --- | --- |
|
|
160
|
-
| seqId | <code>string</code> | The sequence ID |
|
|
161
|
-
| [seq] | <code>object</code> | The sequence metadata (with links) if already loaded |
|
|
162
|
-
|
|
163
|
-
<a name="Panoramax.utils.API+getPictureThumbnailURL"></a>
|
|
164
|
-
|
|
165
|
-
### api.getPictureThumbnailURL(picId, [seqId]) ⇒ <code>Promise</code>
|
|
166
|
-
Get thumbnail URL for a specific picture
|
|
167
|
-
|
|
168
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
169
|
-
**Throws**:
|
|
170
|
-
|
|
171
|
-
- <code>Error</code> If API is not ready
|
|
172
|
-
|
|
173
|
-
**Fulfil**: <code>string\|null</code> The corresponding URL on resolve, or null if no thumbnail could be found
|
|
174
|
-
|
|
175
|
-
| Param | Type | Description |
|
|
176
|
-
| --- | --- | --- |
|
|
177
|
-
| picId | <code>string</code> | The picture unique identifier |
|
|
178
|
-
| [seqId] | <code>string</code> | The sequence ID |
|
|
179
|
-
|
|
180
|
-
<a name="Panoramax.utils.API+getRSSURL"></a>
|
|
181
|
-
|
|
182
|
-
### api.getRSSURL([bbox]) ⇒ <code>string</code> \| <code>null</code>
|
|
183
|
-
Get the RSS feed URL with map parameters (if map is enabled)
|
|
184
|
-
|
|
185
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
186
|
-
**Returns**: <code>string</code> \| <code>null</code> - The URL, or null if no RSS feed is available
|
|
187
|
-
**Throws**:
|
|
188
|
-
|
|
189
|
-
- <code>Error</code> If API is not ready
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
| Param | Type | Description |
|
|
193
|
-
| --- | --- | --- |
|
|
194
|
-
| [bbox] | <code>LngLatBounds</code> | The map current bounding box, or null if not available |
|
|
195
|
-
|
|
196
|
-
<a name="Panoramax.utils.API+getSequenceMetadataUrl"></a>
|
|
197
|
-
|
|
198
|
-
### api.getSequenceMetadataUrl(seqId) ⇒ <code>string</code>
|
|
199
|
-
Get full URL for retrieving a specific sequence metadata
|
|
200
|
-
|
|
201
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
202
|
-
**Returns**: <code>string</code> - The corresponding URL
|
|
203
|
-
**Throws**:
|
|
204
|
-
|
|
205
|
-
- <code>Error</code> If API is not ready
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
| Param | Type | Description |
|
|
209
|
-
| --- | --- | --- |
|
|
210
|
-
| seqId | <code>string</code> | The sequence ID |
|
|
211
|
-
|
|
212
|
-
<a name="Panoramax.utils.API+getSequenceMetadata"></a>
|
|
213
|
-
|
|
214
|
-
### api.getSequenceMetadata(seqId) ⇒ <code>Promise</code>
|
|
215
|
-
Retrieve metadata for a specific sequence
|
|
216
|
-
|
|
217
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
218
|
-
**Throws**:
|
|
219
|
-
|
|
220
|
-
- <code>Error</code> If API is not ready
|
|
221
|
-
|
|
222
|
-
**Fulfil**: <code>object\|null</code> Sequence metadata
|
|
223
|
-
|
|
224
|
-
| Param | Type | Description |
|
|
225
|
-
| --- | --- | --- |
|
|
226
|
-
| seqId | <code>string</code> | The sequence ID |
|
|
227
|
-
|
|
228
|
-
<a name="Panoramax.utils.API+getDataBbox"></a>
|
|
229
|
-
|
|
230
|
-
### api.getDataBbox() ⇒ <code>LngLatBoundsLike</code>
|
|
231
|
-
Get available data bounding box
|
|
232
|
-
|
|
233
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
234
|
-
**Returns**: <code>LngLatBoundsLike</code> - The bounding box or null if not available
|
|
235
|
-
**Throws**:
|
|
236
|
-
|
|
237
|
-
- <code>Error</code> If API is not ready
|
|
238
|
-
|
|
239
|
-
<a name="Panoramax.utils.API+searchUsers"></a>
|
|
240
|
-
|
|
241
|
-
### api.searchUsers(query) ⇒ <code>Promise</code>
|
|
242
|
-
Look for user ID based on user name query
|
|
243
|
-
|
|
244
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
245
|
-
**Throws**:
|
|
246
|
-
|
|
247
|
-
- <code>Error</code> If API is not ready or user search not available
|
|
248
|
-
|
|
249
|
-
**Fulfil**: <code>object\|null</code> List of potential users
|
|
250
|
-
|
|
251
|
-
| Param | Type | Description |
|
|
252
|
-
| --- | --- | --- |
|
|
253
|
-
| query | <code>string</code> | The user name to look for |
|
|
254
|
-
|
|
255
|
-
<a name="Panoramax.utils.API+getUserName"></a>
|
|
256
|
-
|
|
257
|
-
### api.getUserName(userId) ⇒ <code>Promise</code>
|
|
258
|
-
Get user name based on its ID
|
|
259
|
-
|
|
260
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
261
|
-
**Throws**:
|
|
262
|
-
|
|
263
|
-
- <code>Error</code> If API is not ready
|
|
264
|
-
|
|
265
|
-
**Fulfil**: <code>string\|null</code> The user name (or null if not found)
|
|
266
|
-
|
|
267
|
-
| Param | Type | Description |
|
|
268
|
-
| --- | --- | --- |
|
|
269
|
-
| userId | <code>string</code> | The user UUID |
|
|
270
|
-
|
|
271
|
-
<a name="Panoramax.utils.API+sendReport"></a>
|
|
272
|
-
|
|
273
|
-
### api.sendReport(data) ⇒ <code>Promise</code>
|
|
274
|
-
Send a report to API
|
|
275
|
-
|
|
276
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
277
|
-
**Fulfil**: <code>object</code> The JSON API response
|
|
278
|
-
|
|
279
|
-
| Param | Type | Description |
|
|
280
|
-
| --- | --- | --- |
|
|
281
|
-
| data | <code>object</code> | The input form data |
|
|
282
|
-
|
|
283
|
-
<a name="Panoramax.utils.API+sendPictureSemantics"></a>
|
|
284
|
-
|
|
285
|
-
### api.sendPictureSemantics(picMeta, semanticsDiff) ⇒ <code>Promise</code>
|
|
286
|
-
Send picture semantics change to origin API.
|
|
287
|
-
|
|
288
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
289
|
-
**Fulfil**: <code>object</code> The JSON API response
|
|
290
|
-
|
|
291
|
-
| Param | Type | Description |
|
|
292
|
-
| --- | --- | --- |
|
|
293
|
-
| picMeta | <code>object</code> | The picture metadata |
|
|
294
|
-
| semanticsDiff | <code>object</code> | The difference in semantics compared to original data |
|
|
295
|
-
|
|
296
|
-
<a name="Panoramax.utils.API+createPictureAnnotation"></a>
|
|
297
|
-
|
|
298
|
-
### api.createPictureAnnotation(picMeta, shape, semanticsDiff) ⇒ <code>Promise</code>
|
|
299
|
-
Create new annotation for a given picture on its origin API.
|
|
300
|
-
|
|
301
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
302
|
-
**Fulfil**: <code>object</code> The JSON API response
|
|
303
|
-
|
|
304
|
-
| Param | Type | Description |
|
|
305
|
-
| --- | --- | --- |
|
|
306
|
-
| picMeta | <code>object</code> | The picture metadata |
|
|
307
|
-
| shape | <code>object</code> | The annotation shape |
|
|
308
|
-
| semanticsDiff | <code>object</code> | The difference in semantics compared to original data |
|
|
309
|
-
|
|
310
|
-
<a name="Panoramax.utils.API+editPictureAnnotation"></a>
|
|
311
|
-
|
|
312
|
-
### api.editPictureAnnotation(annotationId, semanticsDiff) ⇒ <code>Promise</code>
|
|
313
|
-
Edit semantics of an existing annotation on its origin API.
|
|
314
|
-
|
|
315
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
316
|
-
**Fulfil**: <code>object</code> The JSON API response
|
|
317
|
-
|
|
318
|
-
| Param | Type | Description |
|
|
319
|
-
| --- | --- | --- |
|
|
320
|
-
| annotationId | <code>string</code> | The annotation UUID |
|
|
321
|
-
| semanticsDiff | <code>object</code> | The difference in semantics compared to original data |
|
|
322
|
-
|
|
323
|
-
<a name="Panoramax.utils.API+deletePictureAnnotation"></a>
|
|
324
|
-
|
|
325
|
-
### api.deletePictureAnnotation(annotationId) ⇒ <code>Promise</code>
|
|
326
|
-
Delete a single annotation on its origin API.
|
|
327
|
-
|
|
328
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
329
|
-
**Fulfil**: <code>object</code> The JSON API response
|
|
330
|
-
|
|
331
|
-
| Param | Type | Description |
|
|
332
|
-
| --- | --- | --- |
|
|
333
|
-
| annotationId | <code>string</code> | The annotation UUID |
|
|
334
|
-
|
|
335
|
-
<a name="Panoramax.utils.API+getAuthURL"></a>
|
|
336
|
-
|
|
337
|
-
### api.getAuthURL() ⇒ <code>Promise</code>
|
|
338
|
-
Get the URL for user to log-in.
|
|
339
|
-
|
|
340
|
-
**Kind**: instance method of [<code>API</code>](#Panoramax.utils.API)
|
|
341
|
-
**Fulfil**: <code>string\|boolean</code> The log-in URL, or false if no login is available
|
|
342
|
-
<a name="Panoramax.utils.API+event_broken"></a>
|
|
343
|
-
|
|
344
|
-
### "broken"
|
|
345
|
-
Event when API is broken.
|
|
346
|
-
This happens on any API loading or map styling issue.
|
|
347
|
-
|
|
348
|
-
**Kind**: event emitted by [<code>API</code>](#Panoramax.utils.API)
|
|
349
|
-
**Properties**
|
|
350
|
-
|
|
351
|
-
| Name | Type | Description |
|
|
352
|
-
| --- | --- | --- |
|
|
353
|
-
| detail.error | <code>Error</code> | The original error |
|
|
354
|
-
|
|
355
|
-
<a name="Panoramax.utils.API+event_ready"></a>
|
|
356
|
-
|
|
357
|
-
### "ready"
|
|
358
|
-
Event when API is ready to use.
|
|
359
|
-
This happens after initial API read and map styles load.
|
|
360
|
-
|
|
361
|
-
**Kind**: event emitted by [<code>API</code>](#Panoramax.utils.API)
|
|
362
|
-
<a name="Panoramax.utils.API.isValidHttpUrl"></a>
|
|
363
|
-
|
|
364
|
-
### API.isValidHttpUrl(str) ⇒ <code>boolean</code>
|
|
365
|
-
Checks URL string validity
|
|
366
|
-
|
|
367
|
-
**Kind**: static method of [<code>API</code>](#Panoramax.utils.API)
|
|
368
|
-
**Returns**: <code>boolean</code> - True if valid
|
|
369
|
-
|
|
370
|
-
| Param | Type | Description |
|
|
371
|
-
| --- | --- | --- |
|
|
372
|
-
| str | <code>string</code> | The URL to check |
|
|
373
|
-
|
|
374
|
-
<a name="Panoramax.utils.API.isIdValid"></a>
|
|
375
|
-
|
|
376
|
-
### API.isIdValid(id) ⇒ <code>boolean</code>
|
|
377
|
-
Checks picture or sequence ID validity
|
|
378
|
-
|
|
379
|
-
**Kind**: static method of [<code>API</code>](#Panoramax.utils.API)
|
|
380
|
-
**Returns**: <code>boolean</code> - True if valid
|
|
381
|
-
**Throws**:
|
|
382
|
-
|
|
383
|
-
- <code>Error</code> If not valid
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
| Param | Type | Description |
|
|
387
|
-
| --- | --- | --- |
|
|
388
|
-
| id | <code>string</code> | The ID to check |
|
|
389
|
-
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.utils.InitParameters"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.utils.InitParameters
|
|
4
|
-
**Kind**: static class of <code>Panoramax.utils</code>
|
|
5
|
-
|
|
6
|
-
* [.InitParameters](#Panoramax.utils.InitParameters)
|
|
7
|
-
* [new InitParameters([componentAttrs], [urlParams], [browserStorage])](#new_Panoramax.utils.InitParameters_new)
|
|
8
|
-
* [.getParentInit()](#Panoramax.utils.InitParameters+getParentInit)
|
|
9
|
-
* [.getParentPostInit()](#Panoramax.utils.InitParameters+getParentPostInit)
|
|
10
|
-
* [.getPSVInit()](#Panoramax.utils.InitParameters+getPSVInit)
|
|
11
|
-
* [.getPSVPostInit()](#Panoramax.utils.InitParameters+getPSVPostInit)
|
|
12
|
-
* [.getMapInit()](#Panoramax.utils.InitParameters+getMapInit)
|
|
13
|
-
* [.getMapPostInit()](#Panoramax.utils.InitParameters+getMapPostInit)
|
|
14
|
-
|
|
15
|
-
<a name="new_Panoramax.utils.InitParameters_new"></a>
|
|
16
|
-
|
|
17
|
-
### new InitParameters([componentAttrs], [urlParams], [browserStorage])
|
|
18
|
-
Merges all URL parameters and component attributes into a single set of coherent settings.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
| Param | Type | Description |
|
|
22
|
-
| --- | --- | --- |
|
|
23
|
-
| [componentAttrs] | <code>object</code> | HTML attributes from parent component |
|
|
24
|
-
| [urlParams] | <code>object</code> | Parameters extracted from URL |
|
|
25
|
-
| [browserStorage] | <code>object</code> | Parameters read from local/session storage |
|
|
26
|
-
|
|
27
|
-
<a name="Panoramax.utils.InitParameters+getParentInit"></a>
|
|
28
|
-
|
|
29
|
-
### initParameters.getParentInit()
|
|
30
|
-
Get core component initialization parameters.
|
|
31
|
-
They must be passed as soon as possible.
|
|
32
|
-
|
|
33
|
-
**Kind**: instance method of [<code>InitParameters</code>](#Panoramax.utils.InitParameters)
|
|
34
|
-
<a name="Panoramax.utils.InitParameters+getParentPostInit"></a>
|
|
35
|
-
|
|
36
|
-
### initParameters.getParentPostInit()
|
|
37
|
-
Get core component post-initialization parameters.
|
|
38
|
-
They must be passed after first rendering or init.
|
|
39
|
-
|
|
40
|
-
**Kind**: instance method of [<code>InitParameters</code>](#Panoramax.utils.InitParameters)
|
|
41
|
-
<a name="Panoramax.utils.InitParameters+getPSVInit"></a>
|
|
42
|
-
|
|
43
|
-
### initParameters.getPSVInit()
|
|
44
|
-
Get Photo Sphere Viewer initialization parameters.
|
|
45
|
-
They must be passed as soon as possible.
|
|
46
|
-
|
|
47
|
-
**Kind**: instance method of [<code>InitParameters</code>](#Panoramax.utils.InitParameters)
|
|
48
|
-
<a name="Panoramax.utils.InitParameters+getPSVPostInit"></a>
|
|
49
|
-
|
|
50
|
-
### initParameters.getPSVPostInit()
|
|
51
|
-
Get Photo Sphere Viewer post-initialization parameters.
|
|
52
|
-
They must be passed after first rendering or init.
|
|
53
|
-
|
|
54
|
-
**Kind**: instance method of [<code>InitParameters</code>](#Panoramax.utils.InitParameters)
|
|
55
|
-
<a name="Panoramax.utils.InitParameters+getMapInit"></a>
|
|
56
|
-
|
|
57
|
-
### initParameters.getMapInit()
|
|
58
|
-
Get MapLibre GL initialization parameters.
|
|
59
|
-
They must be passed as soon as possible.
|
|
60
|
-
|
|
61
|
-
**Kind**: instance method of [<code>InitParameters</code>](#Panoramax.utils.InitParameters)
|
|
62
|
-
<a name="Panoramax.utils.InitParameters+getMapPostInit"></a>
|
|
63
|
-
|
|
64
|
-
### initParameters.getMapPostInit()
|
|
65
|
-
Get MapLibre GL post-initialization parameters.
|
|
66
|
-
They must be passed after first rendering or init.
|
|
67
|
-
|
|
68
|
-
**Kind**: instance method of [<code>InitParameters</code>](#Panoramax.utils.InitParameters)
|