@panoramax/web-viewer 4.4.0-develop-3839b5a4 → 4.4.0-develop-d8b38e70
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,1249 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`getMapParamsFromLocalStorage should return parsed params if they exist in localStorage 1`] = `
|
|
4
|
-
Array [
|
|
5
|
-
Array [
|
|
6
|
-
"pnx-map-parameters",
|
|
7
|
-
],
|
|
8
|
-
]
|
|
9
|
-
`;
|
|
10
|
-
|
|
11
|
-
exports[`getPanoramaxLayers works with grid and geojson 1`] = `
|
|
12
|
-
Array [
|
|
13
|
-
Object {
|
|
14
|
-
"id": "geovisio_sequences",
|
|
15
|
-
"layout": Object {
|
|
16
|
-
"line-cap": "square",
|
|
17
|
-
},
|
|
18
|
-
"paint": Object {
|
|
19
|
-
"line-color": "#FF6F00",
|
|
20
|
-
"line-width": Array [
|
|
21
|
-
"interpolate",
|
|
22
|
-
Array [
|
|
23
|
-
"linear",
|
|
24
|
-
],
|
|
25
|
-
Array [
|
|
26
|
-
"zoom",
|
|
27
|
-
],
|
|
28
|
-
0,
|
|
29
|
-
0.5,
|
|
30
|
-
10,
|
|
31
|
-
1.5,
|
|
32
|
-
14.5,
|
|
33
|
-
1.5,
|
|
34
|
-
15.5,
|
|
35
|
-
2,
|
|
36
|
-
22,
|
|
37
|
-
4,
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
"source": "geovisio",
|
|
41
|
-
"source-layer": undefined,
|
|
42
|
-
"type": "line",
|
|
43
|
-
},
|
|
44
|
-
Object {
|
|
45
|
-
"id": "geovisio_sequences_plus",
|
|
46
|
-
"layout": Object {
|
|
47
|
-
"line-cap": "square",
|
|
48
|
-
},
|
|
49
|
-
"paint": Object {
|
|
50
|
-
"line-color": "#ff0000",
|
|
51
|
-
"line-opacity": 0,
|
|
52
|
-
"line-width": Array [
|
|
53
|
-
"interpolate",
|
|
54
|
-
Array [
|
|
55
|
-
"linear",
|
|
56
|
-
],
|
|
57
|
-
Array [
|
|
58
|
-
"zoom",
|
|
59
|
-
],
|
|
60
|
-
0,
|
|
61
|
-
15,
|
|
62
|
-
16,
|
|
63
|
-
30,
|
|
64
|
-
],
|
|
65
|
-
},
|
|
66
|
-
"source": "geovisio",
|
|
67
|
-
"source-layer": undefined,
|
|
68
|
-
"type": "line",
|
|
69
|
-
},
|
|
70
|
-
Object {
|
|
71
|
-
"id": "geovisio_pictures",
|
|
72
|
-
"layout": Object {},
|
|
73
|
-
"paint": Object {
|
|
74
|
-
"circle-color": "#FF6F00",
|
|
75
|
-
"circle-opacity": Array [
|
|
76
|
-
"interpolate",
|
|
77
|
-
Array [
|
|
78
|
-
"linear",
|
|
79
|
-
],
|
|
80
|
-
Array [
|
|
81
|
-
"zoom",
|
|
82
|
-
],
|
|
83
|
-
15,
|
|
84
|
-
0,
|
|
85
|
-
15.5,
|
|
86
|
-
1,
|
|
87
|
-
16.5,
|
|
88
|
-
1,
|
|
89
|
-
17,
|
|
90
|
-
1,
|
|
91
|
-
],
|
|
92
|
-
"circle-radius": Array [
|
|
93
|
-
"interpolate",
|
|
94
|
-
Array [
|
|
95
|
-
"linear",
|
|
96
|
-
],
|
|
97
|
-
Array [
|
|
98
|
-
"zoom",
|
|
99
|
-
],
|
|
100
|
-
15,
|
|
101
|
-
0,
|
|
102
|
-
15.5,
|
|
103
|
-
1,
|
|
104
|
-
16.5,
|
|
105
|
-
2,
|
|
106
|
-
17,
|
|
107
|
-
4,
|
|
108
|
-
18,
|
|
109
|
-
5,
|
|
110
|
-
20,
|
|
111
|
-
7,
|
|
112
|
-
22,
|
|
113
|
-
7,
|
|
114
|
-
],
|
|
115
|
-
"circle-stroke-opacity": Array [
|
|
116
|
-
"case",
|
|
117
|
-
Array [
|
|
118
|
-
"all",
|
|
119
|
-
Array [
|
|
120
|
-
"!",
|
|
121
|
-
Array [
|
|
122
|
-
"has",
|
|
123
|
-
"uncrowded",
|
|
124
|
-
],
|
|
125
|
-
],
|
|
126
|
-
Array [
|
|
127
|
-
"==",
|
|
128
|
-
Array [
|
|
129
|
-
"get",
|
|
130
|
-
"type",
|
|
131
|
-
],
|
|
132
|
-
"equirectangular",
|
|
133
|
-
],
|
|
134
|
-
],
|
|
135
|
-
0.2,
|
|
136
|
-
Array [
|
|
137
|
-
"==",
|
|
138
|
-
Array [
|
|
139
|
-
"get",
|
|
140
|
-
"type",
|
|
141
|
-
],
|
|
142
|
-
"equirectangular",
|
|
143
|
-
],
|
|
144
|
-
0.4,
|
|
145
|
-
0,
|
|
146
|
-
],
|
|
147
|
-
"circle-stroke-width": Array [
|
|
148
|
-
"interpolate",
|
|
149
|
-
Array [
|
|
150
|
-
"linear",
|
|
151
|
-
],
|
|
152
|
-
Array [
|
|
153
|
-
"zoom",
|
|
154
|
-
],
|
|
155
|
-
17.5,
|
|
156
|
-
0,
|
|
157
|
-
18.5,
|
|
158
|
-
Array [
|
|
159
|
-
"case",
|
|
160
|
-
Array [
|
|
161
|
-
"==",
|
|
162
|
-
Array [
|
|
163
|
-
"get",
|
|
164
|
-
"type",
|
|
165
|
-
],
|
|
166
|
-
"equirectangular",
|
|
167
|
-
],
|
|
168
|
-
10,
|
|
169
|
-
2,
|
|
170
|
-
],
|
|
171
|
-
19.5,
|
|
172
|
-
Array [
|
|
173
|
-
"case",
|
|
174
|
-
Array [
|
|
175
|
-
"==",
|
|
176
|
-
Array [
|
|
177
|
-
"get",
|
|
178
|
-
"type",
|
|
179
|
-
],
|
|
180
|
-
"equirectangular",
|
|
181
|
-
],
|
|
182
|
-
10,
|
|
183
|
-
2,
|
|
184
|
-
],
|
|
185
|
-
],
|
|
186
|
-
},
|
|
187
|
-
"source": "geovisio",
|
|
188
|
-
"source-layer": undefined,
|
|
189
|
-
"type": "circle",
|
|
190
|
-
},
|
|
191
|
-
Object {
|
|
192
|
-
"id": "geovisio_grid",
|
|
193
|
-
"layout": Object {
|
|
194
|
-
"circle-sort-key": Array [
|
|
195
|
-
"get",
|
|
196
|
-
"coef",
|
|
197
|
-
],
|
|
198
|
-
},
|
|
199
|
-
"paint": Object {
|
|
200
|
-
"circle-color": Array [
|
|
201
|
-
"interpolate",
|
|
202
|
-
Array [
|
|
203
|
-
"linear",
|
|
204
|
-
],
|
|
205
|
-
Array [
|
|
206
|
-
"get",
|
|
207
|
-
"coef",
|
|
208
|
-
],
|
|
209
|
-
0,
|
|
210
|
-
"#FFA726",
|
|
211
|
-
0.5,
|
|
212
|
-
"#E65100",
|
|
213
|
-
1,
|
|
214
|
-
"#3E2723",
|
|
215
|
-
],
|
|
216
|
-
"circle-opacity": Array [
|
|
217
|
-
"interpolate",
|
|
218
|
-
Array [
|
|
219
|
-
"linear",
|
|
220
|
-
],
|
|
221
|
-
Array [
|
|
222
|
-
"zoom",
|
|
223
|
-
],
|
|
224
|
-
4,
|
|
225
|
-
0.5,
|
|
226
|
-
5,
|
|
227
|
-
1,
|
|
228
|
-
6.75,
|
|
229
|
-
1,
|
|
230
|
-
7,
|
|
231
|
-
0,
|
|
232
|
-
],
|
|
233
|
-
"circle-radius": Array [
|
|
234
|
-
"interpolate",
|
|
235
|
-
Array [
|
|
236
|
-
"linear",
|
|
237
|
-
],
|
|
238
|
-
Array [
|
|
239
|
-
"zoom",
|
|
240
|
-
],
|
|
241
|
-
1,
|
|
242
|
-
Array [
|
|
243
|
-
"match",
|
|
244
|
-
Array [
|
|
245
|
-
"get",
|
|
246
|
-
"coef",
|
|
247
|
-
],
|
|
248
|
-
0,
|
|
249
|
-
0,
|
|
250
|
-
1,
|
|
251
|
-
],
|
|
252
|
-
5,
|
|
253
|
-
Array [
|
|
254
|
-
"match",
|
|
255
|
-
Array [
|
|
256
|
-
"get",
|
|
257
|
-
"coef",
|
|
258
|
-
],
|
|
259
|
-
0,
|
|
260
|
-
0,
|
|
261
|
-
2.5,
|
|
262
|
-
],
|
|
263
|
-
7,
|
|
264
|
-
Array [
|
|
265
|
-
"match",
|
|
266
|
-
Array [
|
|
267
|
-
"get",
|
|
268
|
-
"coef",
|
|
269
|
-
],
|
|
270
|
-
0,
|
|
271
|
-
0,
|
|
272
|
-
7,
|
|
273
|
-
],
|
|
274
|
-
],
|
|
275
|
-
},
|
|
276
|
-
"source": "geovisio",
|
|
277
|
-
"source-layer": "grid",
|
|
278
|
-
"type": "circle",
|
|
279
|
-
},
|
|
280
|
-
]
|
|
281
|
-
`;
|
|
282
|
-
|
|
283
|
-
exports[`getPanoramaxLayers works with grid and vector 1`] = `
|
|
284
|
-
Array [
|
|
285
|
-
Object {
|
|
286
|
-
"id": "geovisio_sequences",
|
|
287
|
-
"layout": Object {
|
|
288
|
-
"line-cap": "square",
|
|
289
|
-
},
|
|
290
|
-
"paint": Object {
|
|
291
|
-
"line-color": "#FF6F00",
|
|
292
|
-
"line-width": Array [
|
|
293
|
-
"interpolate",
|
|
294
|
-
Array [
|
|
295
|
-
"linear",
|
|
296
|
-
],
|
|
297
|
-
Array [
|
|
298
|
-
"zoom",
|
|
299
|
-
],
|
|
300
|
-
0,
|
|
301
|
-
0.5,
|
|
302
|
-
10,
|
|
303
|
-
1.5,
|
|
304
|
-
14.5,
|
|
305
|
-
1.5,
|
|
306
|
-
15.5,
|
|
307
|
-
Array [
|
|
308
|
-
"case",
|
|
309
|
-
Array [
|
|
310
|
-
"!",
|
|
311
|
-
Array [
|
|
312
|
-
"has",
|
|
313
|
-
"uncrowded",
|
|
314
|
-
],
|
|
315
|
-
],
|
|
316
|
-
0.5,
|
|
317
|
-
2,
|
|
318
|
-
],
|
|
319
|
-
22,
|
|
320
|
-
Array [
|
|
321
|
-
"case",
|
|
322
|
-
Array [
|
|
323
|
-
"!",
|
|
324
|
-
Array [
|
|
325
|
-
"has",
|
|
326
|
-
"uncrowded",
|
|
327
|
-
],
|
|
328
|
-
],
|
|
329
|
-
1,
|
|
330
|
-
4,
|
|
331
|
-
],
|
|
332
|
-
],
|
|
333
|
-
},
|
|
334
|
-
"source": "geovisio",
|
|
335
|
-
"source-layer": "sequences",
|
|
336
|
-
"type": "line",
|
|
337
|
-
},
|
|
338
|
-
Object {
|
|
339
|
-
"id": "geovisio_sequences_plus",
|
|
340
|
-
"layout": Object {
|
|
341
|
-
"line-cap": "square",
|
|
342
|
-
},
|
|
343
|
-
"paint": Object {
|
|
344
|
-
"line-color": "#ff0000",
|
|
345
|
-
"line-opacity": 0,
|
|
346
|
-
"line-width": Array [
|
|
347
|
-
"interpolate",
|
|
348
|
-
Array [
|
|
349
|
-
"linear",
|
|
350
|
-
],
|
|
351
|
-
Array [
|
|
352
|
-
"zoom",
|
|
353
|
-
],
|
|
354
|
-
0,
|
|
355
|
-
15,
|
|
356
|
-
16,
|
|
357
|
-
30,
|
|
358
|
-
],
|
|
359
|
-
},
|
|
360
|
-
"source": "geovisio",
|
|
361
|
-
"source-layer": "sequences",
|
|
362
|
-
"type": "line",
|
|
363
|
-
},
|
|
364
|
-
Object {
|
|
365
|
-
"id": "geovisio_pictures",
|
|
366
|
-
"layout": Object {},
|
|
367
|
-
"paint": Object {
|
|
368
|
-
"circle-color": "#FF6F00",
|
|
369
|
-
"circle-opacity": Array [
|
|
370
|
-
"interpolate",
|
|
371
|
-
Array [
|
|
372
|
-
"linear",
|
|
373
|
-
],
|
|
374
|
-
Array [
|
|
375
|
-
"zoom",
|
|
376
|
-
],
|
|
377
|
-
15,
|
|
378
|
-
0,
|
|
379
|
-
15.5,
|
|
380
|
-
Array [
|
|
381
|
-
"case",
|
|
382
|
-
Array [
|
|
383
|
-
"!",
|
|
384
|
-
Array [
|
|
385
|
-
"has",
|
|
386
|
-
"uncrowded",
|
|
387
|
-
],
|
|
388
|
-
],
|
|
389
|
-
0,
|
|
390
|
-
1,
|
|
391
|
-
],
|
|
392
|
-
16.5,
|
|
393
|
-
Array [
|
|
394
|
-
"case",
|
|
395
|
-
Array [
|
|
396
|
-
"!",
|
|
397
|
-
Array [
|
|
398
|
-
"has",
|
|
399
|
-
"uncrowded",
|
|
400
|
-
],
|
|
401
|
-
],
|
|
402
|
-
0,
|
|
403
|
-
1,
|
|
404
|
-
],
|
|
405
|
-
17,
|
|
406
|
-
1,
|
|
407
|
-
],
|
|
408
|
-
"circle-radius": Array [
|
|
409
|
-
"interpolate",
|
|
410
|
-
Array [
|
|
411
|
-
"linear",
|
|
412
|
-
],
|
|
413
|
-
Array [
|
|
414
|
-
"zoom",
|
|
415
|
-
],
|
|
416
|
-
15,
|
|
417
|
-
0,
|
|
418
|
-
15.5,
|
|
419
|
-
Array [
|
|
420
|
-
"case",
|
|
421
|
-
Array [
|
|
422
|
-
"!",
|
|
423
|
-
Array [
|
|
424
|
-
"has",
|
|
425
|
-
"uncrowded",
|
|
426
|
-
],
|
|
427
|
-
],
|
|
428
|
-
0,
|
|
429
|
-
1,
|
|
430
|
-
],
|
|
431
|
-
16.5,
|
|
432
|
-
Array [
|
|
433
|
-
"case",
|
|
434
|
-
Array [
|
|
435
|
-
"!",
|
|
436
|
-
Array [
|
|
437
|
-
"has",
|
|
438
|
-
"uncrowded",
|
|
439
|
-
],
|
|
440
|
-
],
|
|
441
|
-
0,
|
|
442
|
-
2,
|
|
443
|
-
],
|
|
444
|
-
17,
|
|
445
|
-
Array [
|
|
446
|
-
"case",
|
|
447
|
-
Array [
|
|
448
|
-
"!",
|
|
449
|
-
Array [
|
|
450
|
-
"has",
|
|
451
|
-
"uncrowded",
|
|
452
|
-
],
|
|
453
|
-
],
|
|
454
|
-
1,
|
|
455
|
-
4,
|
|
456
|
-
],
|
|
457
|
-
18,
|
|
458
|
-
Array [
|
|
459
|
-
"case",
|
|
460
|
-
Array [
|
|
461
|
-
"!",
|
|
462
|
-
Array [
|
|
463
|
-
"has",
|
|
464
|
-
"uncrowded",
|
|
465
|
-
],
|
|
466
|
-
],
|
|
467
|
-
3,
|
|
468
|
-
5,
|
|
469
|
-
],
|
|
470
|
-
20,
|
|
471
|
-
Array [
|
|
472
|
-
"case",
|
|
473
|
-
Array [
|
|
474
|
-
"!",
|
|
475
|
-
Array [
|
|
476
|
-
"has",
|
|
477
|
-
"uncrowded",
|
|
478
|
-
],
|
|
479
|
-
],
|
|
480
|
-
5,
|
|
481
|
-
7,
|
|
482
|
-
],
|
|
483
|
-
22,
|
|
484
|
-
Array [
|
|
485
|
-
"case",
|
|
486
|
-
Array [
|
|
487
|
-
"!",
|
|
488
|
-
Array [
|
|
489
|
-
"has",
|
|
490
|
-
"uncrowded",
|
|
491
|
-
],
|
|
492
|
-
],
|
|
493
|
-
7,
|
|
494
|
-
7,
|
|
495
|
-
],
|
|
496
|
-
],
|
|
497
|
-
"circle-stroke-opacity": Array [
|
|
498
|
-
"case",
|
|
499
|
-
Array [
|
|
500
|
-
"all",
|
|
501
|
-
Array [
|
|
502
|
-
"!",
|
|
503
|
-
Array [
|
|
504
|
-
"has",
|
|
505
|
-
"uncrowded",
|
|
506
|
-
],
|
|
507
|
-
],
|
|
508
|
-
Array [
|
|
509
|
-
"==",
|
|
510
|
-
Array [
|
|
511
|
-
"get",
|
|
512
|
-
"type",
|
|
513
|
-
],
|
|
514
|
-
"equirectangular",
|
|
515
|
-
],
|
|
516
|
-
],
|
|
517
|
-
0.2,
|
|
518
|
-
Array [
|
|
519
|
-
"==",
|
|
520
|
-
Array [
|
|
521
|
-
"get",
|
|
522
|
-
"type",
|
|
523
|
-
],
|
|
524
|
-
"equirectangular",
|
|
525
|
-
],
|
|
526
|
-
0.4,
|
|
527
|
-
0,
|
|
528
|
-
],
|
|
529
|
-
"circle-stroke-width": Array [
|
|
530
|
-
"interpolate",
|
|
531
|
-
Array [
|
|
532
|
-
"linear",
|
|
533
|
-
],
|
|
534
|
-
Array [
|
|
535
|
-
"zoom",
|
|
536
|
-
],
|
|
537
|
-
17.5,
|
|
538
|
-
0,
|
|
539
|
-
18.5,
|
|
540
|
-
Array [
|
|
541
|
-
"case",
|
|
542
|
-
Array [
|
|
543
|
-
"all",
|
|
544
|
-
Array [
|
|
545
|
-
"!",
|
|
546
|
-
Array [
|
|
547
|
-
"has",
|
|
548
|
-
"uncrowded",
|
|
549
|
-
],
|
|
550
|
-
],
|
|
551
|
-
Array [
|
|
552
|
-
"==",
|
|
553
|
-
Array [
|
|
554
|
-
"get",
|
|
555
|
-
"type",
|
|
556
|
-
],
|
|
557
|
-
"equirectangular",
|
|
558
|
-
],
|
|
559
|
-
],
|
|
560
|
-
0,
|
|
561
|
-
Array [
|
|
562
|
-
"==",
|
|
563
|
-
Array [
|
|
564
|
-
"get",
|
|
565
|
-
"type",
|
|
566
|
-
],
|
|
567
|
-
"equirectangular",
|
|
568
|
-
],
|
|
569
|
-
10,
|
|
570
|
-
Array [
|
|
571
|
-
"!",
|
|
572
|
-
Array [
|
|
573
|
-
"has",
|
|
574
|
-
"uncrowded",
|
|
575
|
-
],
|
|
576
|
-
],
|
|
577
|
-
0,
|
|
578
|
-
2,
|
|
579
|
-
],
|
|
580
|
-
19.5,
|
|
581
|
-
Array [
|
|
582
|
-
"case",
|
|
583
|
-
Array [
|
|
584
|
-
"all",
|
|
585
|
-
Array [
|
|
586
|
-
"!",
|
|
587
|
-
Array [
|
|
588
|
-
"has",
|
|
589
|
-
"uncrowded",
|
|
590
|
-
],
|
|
591
|
-
],
|
|
592
|
-
Array [
|
|
593
|
-
"==",
|
|
594
|
-
Array [
|
|
595
|
-
"get",
|
|
596
|
-
"type",
|
|
597
|
-
],
|
|
598
|
-
"equirectangular",
|
|
599
|
-
],
|
|
600
|
-
],
|
|
601
|
-
10,
|
|
602
|
-
Array [
|
|
603
|
-
"==",
|
|
604
|
-
Array [
|
|
605
|
-
"get",
|
|
606
|
-
"type",
|
|
607
|
-
],
|
|
608
|
-
"equirectangular",
|
|
609
|
-
],
|
|
610
|
-
10,
|
|
611
|
-
Array [
|
|
612
|
-
"!",
|
|
613
|
-
Array [
|
|
614
|
-
"has",
|
|
615
|
-
"uncrowded",
|
|
616
|
-
],
|
|
617
|
-
],
|
|
618
|
-
0,
|
|
619
|
-
2,
|
|
620
|
-
],
|
|
621
|
-
],
|
|
622
|
-
},
|
|
623
|
-
"source": "geovisio",
|
|
624
|
-
"source-layer": "pictures",
|
|
625
|
-
"type": "circle",
|
|
626
|
-
},
|
|
627
|
-
Object {
|
|
628
|
-
"id": "geovisio_grid",
|
|
629
|
-
"layout": Object {
|
|
630
|
-
"circle-sort-key": Array [
|
|
631
|
-
"get",
|
|
632
|
-
"coef",
|
|
633
|
-
],
|
|
634
|
-
},
|
|
635
|
-
"paint": Object {
|
|
636
|
-
"circle-color": Array [
|
|
637
|
-
"interpolate",
|
|
638
|
-
Array [
|
|
639
|
-
"linear",
|
|
640
|
-
],
|
|
641
|
-
Array [
|
|
642
|
-
"get",
|
|
643
|
-
"coef",
|
|
644
|
-
],
|
|
645
|
-
0,
|
|
646
|
-
"#FFA726",
|
|
647
|
-
0.5,
|
|
648
|
-
"#E65100",
|
|
649
|
-
1,
|
|
650
|
-
"#3E2723",
|
|
651
|
-
],
|
|
652
|
-
"circle-opacity": Array [
|
|
653
|
-
"interpolate",
|
|
654
|
-
Array [
|
|
655
|
-
"linear",
|
|
656
|
-
],
|
|
657
|
-
Array [
|
|
658
|
-
"zoom",
|
|
659
|
-
],
|
|
660
|
-
4,
|
|
661
|
-
0.5,
|
|
662
|
-
5,
|
|
663
|
-
1,
|
|
664
|
-
6.75,
|
|
665
|
-
1,
|
|
666
|
-
7,
|
|
667
|
-
0,
|
|
668
|
-
],
|
|
669
|
-
"circle-radius": Array [
|
|
670
|
-
"interpolate",
|
|
671
|
-
Array [
|
|
672
|
-
"linear",
|
|
673
|
-
],
|
|
674
|
-
Array [
|
|
675
|
-
"zoom",
|
|
676
|
-
],
|
|
677
|
-
1,
|
|
678
|
-
Array [
|
|
679
|
-
"match",
|
|
680
|
-
Array [
|
|
681
|
-
"get",
|
|
682
|
-
"coef",
|
|
683
|
-
],
|
|
684
|
-
0,
|
|
685
|
-
0,
|
|
686
|
-
1,
|
|
687
|
-
],
|
|
688
|
-
5,
|
|
689
|
-
Array [
|
|
690
|
-
"match",
|
|
691
|
-
Array [
|
|
692
|
-
"get",
|
|
693
|
-
"coef",
|
|
694
|
-
],
|
|
695
|
-
0,
|
|
696
|
-
0,
|
|
697
|
-
2.5,
|
|
698
|
-
],
|
|
699
|
-
7,
|
|
700
|
-
Array [
|
|
701
|
-
"match",
|
|
702
|
-
Array [
|
|
703
|
-
"get",
|
|
704
|
-
"coef",
|
|
705
|
-
],
|
|
706
|
-
0,
|
|
707
|
-
0,
|
|
708
|
-
7,
|
|
709
|
-
],
|
|
710
|
-
],
|
|
711
|
-
},
|
|
712
|
-
"source": "geovisio",
|
|
713
|
-
"source-layer": "grid",
|
|
714
|
-
"type": "circle",
|
|
715
|
-
},
|
|
716
|
-
]
|
|
717
|
-
`;
|
|
718
|
-
|
|
719
|
-
exports[`getPanoramaxLayers works with no grid and geojson 1`] = `
|
|
720
|
-
Array [
|
|
721
|
-
Object {
|
|
722
|
-
"id": "geovisio_sequences",
|
|
723
|
-
"layout": Object {
|
|
724
|
-
"line-cap": "square",
|
|
725
|
-
},
|
|
726
|
-
"paint": Object {
|
|
727
|
-
"line-color": "#FF6F00",
|
|
728
|
-
"line-width": Array [
|
|
729
|
-
"interpolate",
|
|
730
|
-
Array [
|
|
731
|
-
"linear",
|
|
732
|
-
],
|
|
733
|
-
Array [
|
|
734
|
-
"zoom",
|
|
735
|
-
],
|
|
736
|
-
0,
|
|
737
|
-
0.5,
|
|
738
|
-
10,
|
|
739
|
-
1.5,
|
|
740
|
-
14.5,
|
|
741
|
-
1.5,
|
|
742
|
-
15.5,
|
|
743
|
-
2,
|
|
744
|
-
22,
|
|
745
|
-
4,
|
|
746
|
-
],
|
|
747
|
-
},
|
|
748
|
-
"source": "geovisio",
|
|
749
|
-
"source-layer": undefined,
|
|
750
|
-
"type": "line",
|
|
751
|
-
},
|
|
752
|
-
Object {
|
|
753
|
-
"id": "geovisio_sequences_plus",
|
|
754
|
-
"layout": Object {
|
|
755
|
-
"line-cap": "square",
|
|
756
|
-
},
|
|
757
|
-
"paint": Object {
|
|
758
|
-
"line-color": "#ff0000",
|
|
759
|
-
"line-opacity": 0,
|
|
760
|
-
"line-width": Array [
|
|
761
|
-
"interpolate",
|
|
762
|
-
Array [
|
|
763
|
-
"linear",
|
|
764
|
-
],
|
|
765
|
-
Array [
|
|
766
|
-
"zoom",
|
|
767
|
-
],
|
|
768
|
-
0,
|
|
769
|
-
15,
|
|
770
|
-
16,
|
|
771
|
-
30,
|
|
772
|
-
],
|
|
773
|
-
},
|
|
774
|
-
"source": "geovisio",
|
|
775
|
-
"source-layer": undefined,
|
|
776
|
-
"type": "line",
|
|
777
|
-
},
|
|
778
|
-
Object {
|
|
779
|
-
"id": "geovisio_pictures",
|
|
780
|
-
"layout": Object {},
|
|
781
|
-
"paint": Object {
|
|
782
|
-
"circle-color": "#FF6F00",
|
|
783
|
-
"circle-opacity": Array [
|
|
784
|
-
"interpolate",
|
|
785
|
-
Array [
|
|
786
|
-
"linear",
|
|
787
|
-
],
|
|
788
|
-
Array [
|
|
789
|
-
"zoom",
|
|
790
|
-
],
|
|
791
|
-
15,
|
|
792
|
-
0,
|
|
793
|
-
15.5,
|
|
794
|
-
1,
|
|
795
|
-
16.5,
|
|
796
|
-
1,
|
|
797
|
-
17,
|
|
798
|
-
1,
|
|
799
|
-
],
|
|
800
|
-
"circle-radius": Array [
|
|
801
|
-
"interpolate",
|
|
802
|
-
Array [
|
|
803
|
-
"linear",
|
|
804
|
-
],
|
|
805
|
-
Array [
|
|
806
|
-
"zoom",
|
|
807
|
-
],
|
|
808
|
-
15,
|
|
809
|
-
0,
|
|
810
|
-
15.5,
|
|
811
|
-
1,
|
|
812
|
-
16.5,
|
|
813
|
-
2,
|
|
814
|
-
17,
|
|
815
|
-
4,
|
|
816
|
-
18,
|
|
817
|
-
5,
|
|
818
|
-
20,
|
|
819
|
-
7,
|
|
820
|
-
22,
|
|
821
|
-
7,
|
|
822
|
-
],
|
|
823
|
-
"circle-stroke-opacity": Array [
|
|
824
|
-
"case",
|
|
825
|
-
Array [
|
|
826
|
-
"all",
|
|
827
|
-
Array [
|
|
828
|
-
"!",
|
|
829
|
-
Array [
|
|
830
|
-
"has",
|
|
831
|
-
"uncrowded",
|
|
832
|
-
],
|
|
833
|
-
],
|
|
834
|
-
Array [
|
|
835
|
-
"==",
|
|
836
|
-
Array [
|
|
837
|
-
"get",
|
|
838
|
-
"type",
|
|
839
|
-
],
|
|
840
|
-
"equirectangular",
|
|
841
|
-
],
|
|
842
|
-
],
|
|
843
|
-
0.2,
|
|
844
|
-
Array [
|
|
845
|
-
"==",
|
|
846
|
-
Array [
|
|
847
|
-
"get",
|
|
848
|
-
"type",
|
|
849
|
-
],
|
|
850
|
-
"equirectangular",
|
|
851
|
-
],
|
|
852
|
-
0.4,
|
|
853
|
-
0,
|
|
854
|
-
],
|
|
855
|
-
"circle-stroke-width": Array [
|
|
856
|
-
"interpolate",
|
|
857
|
-
Array [
|
|
858
|
-
"linear",
|
|
859
|
-
],
|
|
860
|
-
Array [
|
|
861
|
-
"zoom",
|
|
862
|
-
],
|
|
863
|
-
17.5,
|
|
864
|
-
0,
|
|
865
|
-
18.5,
|
|
866
|
-
Array [
|
|
867
|
-
"case",
|
|
868
|
-
Array [
|
|
869
|
-
"==",
|
|
870
|
-
Array [
|
|
871
|
-
"get",
|
|
872
|
-
"type",
|
|
873
|
-
],
|
|
874
|
-
"equirectangular",
|
|
875
|
-
],
|
|
876
|
-
10,
|
|
877
|
-
2,
|
|
878
|
-
],
|
|
879
|
-
19.5,
|
|
880
|
-
Array [
|
|
881
|
-
"case",
|
|
882
|
-
Array [
|
|
883
|
-
"==",
|
|
884
|
-
Array [
|
|
885
|
-
"get",
|
|
886
|
-
"type",
|
|
887
|
-
],
|
|
888
|
-
"equirectangular",
|
|
889
|
-
],
|
|
890
|
-
10,
|
|
891
|
-
2,
|
|
892
|
-
],
|
|
893
|
-
],
|
|
894
|
-
},
|
|
895
|
-
"source": "geovisio",
|
|
896
|
-
"source-layer": undefined,
|
|
897
|
-
"type": "circle",
|
|
898
|
-
},
|
|
899
|
-
]
|
|
900
|
-
`;
|
|
901
|
-
|
|
902
|
-
exports[`getPanoramaxLayers works with no grid and vector 1`] = `
|
|
903
|
-
Array [
|
|
904
|
-
Object {
|
|
905
|
-
"id": "geovisio_sequences",
|
|
906
|
-
"layout": Object {
|
|
907
|
-
"line-cap": "square",
|
|
908
|
-
},
|
|
909
|
-
"paint": Object {
|
|
910
|
-
"line-color": "#FF6F00",
|
|
911
|
-
"line-width": Array [
|
|
912
|
-
"interpolate",
|
|
913
|
-
Array [
|
|
914
|
-
"linear",
|
|
915
|
-
],
|
|
916
|
-
Array [
|
|
917
|
-
"zoom",
|
|
918
|
-
],
|
|
919
|
-
0,
|
|
920
|
-
0.5,
|
|
921
|
-
10,
|
|
922
|
-
1.5,
|
|
923
|
-
14.5,
|
|
924
|
-
1.5,
|
|
925
|
-
15.5,
|
|
926
|
-
Array [
|
|
927
|
-
"case",
|
|
928
|
-
Array [
|
|
929
|
-
"!",
|
|
930
|
-
Array [
|
|
931
|
-
"has",
|
|
932
|
-
"uncrowded",
|
|
933
|
-
],
|
|
934
|
-
],
|
|
935
|
-
0.5,
|
|
936
|
-
2,
|
|
937
|
-
],
|
|
938
|
-
22,
|
|
939
|
-
Array [
|
|
940
|
-
"case",
|
|
941
|
-
Array [
|
|
942
|
-
"!",
|
|
943
|
-
Array [
|
|
944
|
-
"has",
|
|
945
|
-
"uncrowded",
|
|
946
|
-
],
|
|
947
|
-
],
|
|
948
|
-
1,
|
|
949
|
-
4,
|
|
950
|
-
],
|
|
951
|
-
],
|
|
952
|
-
},
|
|
953
|
-
"source": "geovisio",
|
|
954
|
-
"source-layer": "sequences",
|
|
955
|
-
"type": "line",
|
|
956
|
-
},
|
|
957
|
-
Object {
|
|
958
|
-
"id": "geovisio_sequences_plus",
|
|
959
|
-
"layout": Object {
|
|
960
|
-
"line-cap": "square",
|
|
961
|
-
},
|
|
962
|
-
"paint": Object {
|
|
963
|
-
"line-color": "#ff0000",
|
|
964
|
-
"line-opacity": 0,
|
|
965
|
-
"line-width": Array [
|
|
966
|
-
"interpolate",
|
|
967
|
-
Array [
|
|
968
|
-
"linear",
|
|
969
|
-
],
|
|
970
|
-
Array [
|
|
971
|
-
"zoom",
|
|
972
|
-
],
|
|
973
|
-
0,
|
|
974
|
-
15,
|
|
975
|
-
16,
|
|
976
|
-
30,
|
|
977
|
-
],
|
|
978
|
-
},
|
|
979
|
-
"source": "geovisio",
|
|
980
|
-
"source-layer": "sequences",
|
|
981
|
-
"type": "line",
|
|
982
|
-
},
|
|
983
|
-
Object {
|
|
984
|
-
"id": "geovisio_pictures",
|
|
985
|
-
"layout": Object {},
|
|
986
|
-
"paint": Object {
|
|
987
|
-
"circle-color": "#FF6F00",
|
|
988
|
-
"circle-opacity": Array [
|
|
989
|
-
"interpolate",
|
|
990
|
-
Array [
|
|
991
|
-
"linear",
|
|
992
|
-
],
|
|
993
|
-
Array [
|
|
994
|
-
"zoom",
|
|
995
|
-
],
|
|
996
|
-
15,
|
|
997
|
-
0,
|
|
998
|
-
15.5,
|
|
999
|
-
Array [
|
|
1000
|
-
"case",
|
|
1001
|
-
Array [
|
|
1002
|
-
"!",
|
|
1003
|
-
Array [
|
|
1004
|
-
"has",
|
|
1005
|
-
"uncrowded",
|
|
1006
|
-
],
|
|
1007
|
-
],
|
|
1008
|
-
0,
|
|
1009
|
-
1,
|
|
1010
|
-
],
|
|
1011
|
-
16.5,
|
|
1012
|
-
Array [
|
|
1013
|
-
"case",
|
|
1014
|
-
Array [
|
|
1015
|
-
"!",
|
|
1016
|
-
Array [
|
|
1017
|
-
"has",
|
|
1018
|
-
"uncrowded",
|
|
1019
|
-
],
|
|
1020
|
-
],
|
|
1021
|
-
0,
|
|
1022
|
-
1,
|
|
1023
|
-
],
|
|
1024
|
-
17,
|
|
1025
|
-
1,
|
|
1026
|
-
],
|
|
1027
|
-
"circle-radius": Array [
|
|
1028
|
-
"interpolate",
|
|
1029
|
-
Array [
|
|
1030
|
-
"linear",
|
|
1031
|
-
],
|
|
1032
|
-
Array [
|
|
1033
|
-
"zoom",
|
|
1034
|
-
],
|
|
1035
|
-
15,
|
|
1036
|
-
0,
|
|
1037
|
-
15.5,
|
|
1038
|
-
Array [
|
|
1039
|
-
"case",
|
|
1040
|
-
Array [
|
|
1041
|
-
"!",
|
|
1042
|
-
Array [
|
|
1043
|
-
"has",
|
|
1044
|
-
"uncrowded",
|
|
1045
|
-
],
|
|
1046
|
-
],
|
|
1047
|
-
0,
|
|
1048
|
-
1,
|
|
1049
|
-
],
|
|
1050
|
-
16.5,
|
|
1051
|
-
Array [
|
|
1052
|
-
"case",
|
|
1053
|
-
Array [
|
|
1054
|
-
"!",
|
|
1055
|
-
Array [
|
|
1056
|
-
"has",
|
|
1057
|
-
"uncrowded",
|
|
1058
|
-
],
|
|
1059
|
-
],
|
|
1060
|
-
0,
|
|
1061
|
-
2,
|
|
1062
|
-
],
|
|
1063
|
-
17,
|
|
1064
|
-
Array [
|
|
1065
|
-
"case",
|
|
1066
|
-
Array [
|
|
1067
|
-
"!",
|
|
1068
|
-
Array [
|
|
1069
|
-
"has",
|
|
1070
|
-
"uncrowded",
|
|
1071
|
-
],
|
|
1072
|
-
],
|
|
1073
|
-
1,
|
|
1074
|
-
4,
|
|
1075
|
-
],
|
|
1076
|
-
18,
|
|
1077
|
-
Array [
|
|
1078
|
-
"case",
|
|
1079
|
-
Array [
|
|
1080
|
-
"!",
|
|
1081
|
-
Array [
|
|
1082
|
-
"has",
|
|
1083
|
-
"uncrowded",
|
|
1084
|
-
],
|
|
1085
|
-
],
|
|
1086
|
-
3,
|
|
1087
|
-
5,
|
|
1088
|
-
],
|
|
1089
|
-
20,
|
|
1090
|
-
Array [
|
|
1091
|
-
"case",
|
|
1092
|
-
Array [
|
|
1093
|
-
"!",
|
|
1094
|
-
Array [
|
|
1095
|
-
"has",
|
|
1096
|
-
"uncrowded",
|
|
1097
|
-
],
|
|
1098
|
-
],
|
|
1099
|
-
5,
|
|
1100
|
-
7,
|
|
1101
|
-
],
|
|
1102
|
-
22,
|
|
1103
|
-
Array [
|
|
1104
|
-
"case",
|
|
1105
|
-
Array [
|
|
1106
|
-
"!",
|
|
1107
|
-
Array [
|
|
1108
|
-
"has",
|
|
1109
|
-
"uncrowded",
|
|
1110
|
-
],
|
|
1111
|
-
],
|
|
1112
|
-
7,
|
|
1113
|
-
7,
|
|
1114
|
-
],
|
|
1115
|
-
],
|
|
1116
|
-
"circle-stroke-opacity": Array [
|
|
1117
|
-
"case",
|
|
1118
|
-
Array [
|
|
1119
|
-
"all",
|
|
1120
|
-
Array [
|
|
1121
|
-
"!",
|
|
1122
|
-
Array [
|
|
1123
|
-
"has",
|
|
1124
|
-
"uncrowded",
|
|
1125
|
-
],
|
|
1126
|
-
],
|
|
1127
|
-
Array [
|
|
1128
|
-
"==",
|
|
1129
|
-
Array [
|
|
1130
|
-
"get",
|
|
1131
|
-
"type",
|
|
1132
|
-
],
|
|
1133
|
-
"equirectangular",
|
|
1134
|
-
],
|
|
1135
|
-
],
|
|
1136
|
-
0.2,
|
|
1137
|
-
Array [
|
|
1138
|
-
"==",
|
|
1139
|
-
Array [
|
|
1140
|
-
"get",
|
|
1141
|
-
"type",
|
|
1142
|
-
],
|
|
1143
|
-
"equirectangular",
|
|
1144
|
-
],
|
|
1145
|
-
0.4,
|
|
1146
|
-
0,
|
|
1147
|
-
],
|
|
1148
|
-
"circle-stroke-width": Array [
|
|
1149
|
-
"interpolate",
|
|
1150
|
-
Array [
|
|
1151
|
-
"linear",
|
|
1152
|
-
],
|
|
1153
|
-
Array [
|
|
1154
|
-
"zoom",
|
|
1155
|
-
],
|
|
1156
|
-
17.5,
|
|
1157
|
-
0,
|
|
1158
|
-
18.5,
|
|
1159
|
-
Array [
|
|
1160
|
-
"case",
|
|
1161
|
-
Array [
|
|
1162
|
-
"all",
|
|
1163
|
-
Array [
|
|
1164
|
-
"!",
|
|
1165
|
-
Array [
|
|
1166
|
-
"has",
|
|
1167
|
-
"uncrowded",
|
|
1168
|
-
],
|
|
1169
|
-
],
|
|
1170
|
-
Array [
|
|
1171
|
-
"==",
|
|
1172
|
-
Array [
|
|
1173
|
-
"get",
|
|
1174
|
-
"type",
|
|
1175
|
-
],
|
|
1176
|
-
"equirectangular",
|
|
1177
|
-
],
|
|
1178
|
-
],
|
|
1179
|
-
0,
|
|
1180
|
-
Array [
|
|
1181
|
-
"==",
|
|
1182
|
-
Array [
|
|
1183
|
-
"get",
|
|
1184
|
-
"type",
|
|
1185
|
-
],
|
|
1186
|
-
"equirectangular",
|
|
1187
|
-
],
|
|
1188
|
-
10,
|
|
1189
|
-
Array [
|
|
1190
|
-
"!",
|
|
1191
|
-
Array [
|
|
1192
|
-
"has",
|
|
1193
|
-
"uncrowded",
|
|
1194
|
-
],
|
|
1195
|
-
],
|
|
1196
|
-
0,
|
|
1197
|
-
2,
|
|
1198
|
-
],
|
|
1199
|
-
19.5,
|
|
1200
|
-
Array [
|
|
1201
|
-
"case",
|
|
1202
|
-
Array [
|
|
1203
|
-
"all",
|
|
1204
|
-
Array [
|
|
1205
|
-
"!",
|
|
1206
|
-
Array [
|
|
1207
|
-
"has",
|
|
1208
|
-
"uncrowded",
|
|
1209
|
-
],
|
|
1210
|
-
],
|
|
1211
|
-
Array [
|
|
1212
|
-
"==",
|
|
1213
|
-
Array [
|
|
1214
|
-
"get",
|
|
1215
|
-
"type",
|
|
1216
|
-
],
|
|
1217
|
-
"equirectangular",
|
|
1218
|
-
],
|
|
1219
|
-
],
|
|
1220
|
-
10,
|
|
1221
|
-
Array [
|
|
1222
|
-
"==",
|
|
1223
|
-
Array [
|
|
1224
|
-
"get",
|
|
1225
|
-
"type",
|
|
1226
|
-
],
|
|
1227
|
-
"equirectangular",
|
|
1228
|
-
],
|
|
1229
|
-
10,
|
|
1230
|
-
Array [
|
|
1231
|
-
"!",
|
|
1232
|
-
Array [
|
|
1233
|
-
"has",
|
|
1234
|
-
"uncrowded",
|
|
1235
|
-
],
|
|
1236
|
-
],
|
|
1237
|
-
0,
|
|
1238
|
-
2,
|
|
1239
|
-
],
|
|
1240
|
-
],
|
|
1241
|
-
},
|
|
1242
|
-
"source": "geovisio",
|
|
1243
|
-
"source-layer": "pictures",
|
|
1244
|
-
"type": "circle",
|
|
1245
|
-
},
|
|
1246
|
-
]
|
|
1247
|
-
`;
|
|
1248
|
-
|
|
1249
|
-
exports[`saveMapParamsToLocalStorage should save map parameters to localStorage 1`] = `Array []`;
|