@arcgis/map-components 4.29.0-beta.76 → 4.29.0-beta.78
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/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.map +1 -1
- package/dist/arcgis-map-components/{p-758f6c5a.js → p-0222402f.js} +1 -1
- package/dist/arcgis-map-components/p-0222402f.js.map +1 -0
- package/dist/arcgis-map-components/{p-af6b52cb.entry.js → p-0f264ef2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b0abd711.entry.js → p-1486df4e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-42f250a9.entry.js → p-2782c72c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5183adfb.entry.js → p-27d88ff9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-82a12245.entry.js → p-2b3e83e7.entry.js} +2 -2
- package/dist/arcgis-map-components/p-2bb92ba3.entry.js +2 -0
- package/dist/arcgis-map-components/{p-4d5979ea.entry.js.map → p-2bb92ba3.entry.js.map} +1 -1
- package/dist/arcgis-map-components/{p-37b0fd31.entry.js → p-2fd1b2d0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b97b5ab8.entry.js → p-3093e1a6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-269e4018.entry.js → p-33611678.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d74f2d38.entry.js → p-35722f4d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-dcab884b.entry.js → p-3ebdcabc.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-852d81d1.entry.js → p-3ee5a8da.entry.js} +2 -2
- package/dist/arcgis-map-components/p-493cd9ab.entry.js +2 -0
- package/dist/arcgis-map-components/{p-e7679e9c.entry.js.map → p-493cd9ab.entry.js.map} +1 -1
- package/dist/arcgis-map-components/{p-26c8efa0.entry.js → p-4cb56a4a.entry.js} +2 -2
- package/dist/arcgis-map-components/p-57fed476.entry.js +2 -0
- package/dist/arcgis-map-components/{p-061ad510.entry.js.map → p-57fed476.entry.js.map} +1 -1
- package/dist/arcgis-map-components/{p-4055fed1.entry.js → p-5e339e2e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-93d69b82.entry.js → p-6486a359.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-62716f0f.entry.js → p-71bb4bf8.entry.js} +2 -2
- package/dist/arcgis-map-components/p-7d11e748.entry.js +2 -0
- package/dist/arcgis-map-components/p-7d11e748.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8afc6c86.entry.js +2 -0
- package/dist/arcgis-map-components/{p-343f5803.entry.js.map → p-8afc6c86.entry.js.map} +1 -1
- package/dist/arcgis-map-components/p-8b71ce01.entry.js +2 -0
- package/dist/arcgis-map-components/p-8b71ce01.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8f9b4469.js +3 -0
- package/dist/arcgis-map-components/p-8f9b4469.js.map +1 -0
- package/dist/arcgis-map-components/{p-2f7311c6.entry.js → p-95a5f88e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-bbe42bba.entry.js → p-99fda27d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ddeb17e1.entry.js → p-9a2a552d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e77700c7.entry.js → p-a08b7e39.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-03d91445.entry.js → p-a3bf34f9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d3e791dc.entry.js → p-a403686f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e14af886.entry.js → p-afdadf29.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-99437e5b.entry.js → p-b11c8315.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-591e7b46.entry.js → p-b727f9cc.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d3050c56.entry.js → p-c3e56714.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-60b5fe3c.entry.js → p-c5c40926.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-2b8dde05.entry.js → p-c6206196.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0780b907.entry.js → p-c744cd38.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f41b7c4a.entry.js → p-c85b5c54.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b9043526.entry.js → p-c9efb709.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e3f82d1c.entry.js → p-cbaac388.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-edf74e10.entry.js → p-ce12f548.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-bc1bbb01.entry.js → p-ce18e575.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-bef2916b.entry.js → p-ce6d74ff.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-fc5cdeeb.entry.js → p-d05ac693.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-83685046.entry.js → p-d069ef5c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d42639bc.entry.js → p-d2c1e438.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b5127ca2.entry.js → p-d9481f87.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-669bffd2.entry.js → p-e3bb50e2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-58544c5b.entry.js → p-e5b254fe.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1561977d.entry.js → p-f0157ea2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7cb578f1.entry.js → p-f080e37d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1688ad49.entry.js → p-f1eda90f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0c37d8a7.entry.js → p-f26033a9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-69da0de3.entry.js → p-f7a2004d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c2b55df9.entry.js → p-fa196c78.entry.js} +2 -2
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-attachments.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +47 -24
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js.map +1 -1
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-compass.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-daylight.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-directions.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-editor.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-features.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-histogram.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-home.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-legend.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-locate.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-map-components.cjs.js +3 -3
- package/dist/cjs/arcgis-map-components.cjs.js.map +1 -1
- package/dist/cjs/arcgis-map.cjs.entry.js +29 -23
- package/dist/cjs/arcgis-map.cjs.entry.js.map +1 -1
- package/dist/cjs/arcgis-measurement.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-placement.cjs.entry.js +1 -1
- package/dist/cjs/arcgis-print.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-search.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-sketch.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-slice.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-swipe.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-table-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-track.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-weather.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-zoom.cjs.entry.js +2 -2
- package/dist/cjs/{index-fbce570d.js → index-6fbac24a.js} +18 -25
- package/dist/cjs/index-6fbac24a.js.map +1 -0
- package/dist/cjs/{index-09a0e90f.js → index-bb40f950.js} +1 -1
- package/dist/cjs/index-bb40f950.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/components/arcgis-map.js +28 -21
- package/dist/components/arcgis-map.js.map +1 -1
- package/dist/components/arcgis-scene.js +48 -23
- package/dist/components/arcgis-scene.js.map +1 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/esm/arcgis-area-measurement-2d.entry.js +2 -2
- package/dist/esm/arcgis-area-measurement-3d.entry.js +2 -2
- package/dist/esm/arcgis-attachments.entry.js +2 -2
- package/dist/esm/arcgis-basemap-gallery_3.entry.js +47 -24
- package/dist/esm/arcgis-basemap-gallery_3.entry.js.map +1 -1
- package/dist/esm/arcgis-basemap-layer-list.entry.js +2 -2
- package/dist/esm/arcgis-basemap-toggle.entry.js +2 -2
- package/dist/esm/arcgis-bookmarks.entry.js +2 -2
- package/dist/esm/arcgis-building-explorer.entry.js +2 -2
- package/dist/esm/arcgis-compass.entry.js +2 -2
- package/dist/esm/arcgis-coordinate-conversion.entry.js +2 -2
- package/dist/esm/arcgis-daylight.entry.js +2 -2
- package/dist/esm/arcgis-directions.entry.js +2 -2
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +2 -2
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +2 -2
- package/dist/esm/arcgis-editor.entry.js +2 -2
- package/dist/esm/arcgis-elevation-profile.entry.js +2 -2
- package/dist/esm/arcgis-feature-form.entry.js +2 -2
- package/dist/esm/arcgis-feature-table.entry.js +2 -2
- package/dist/esm/arcgis-feature-templates.entry.js +2 -2
- package/dist/esm/arcgis-feature.entry.js +2 -2
- package/dist/esm/arcgis-features.entry.js +2 -2
- package/dist/esm/arcgis-floor-filter.entry.js +2 -2
- package/dist/esm/arcgis-fullscreen.entry.js +2 -2
- package/dist/esm/arcgis-histogram-range-slider.entry.js +2 -2
- package/dist/esm/arcgis-histogram.entry.js +2 -2
- package/dist/esm/arcgis-home.entry.js +2 -2
- package/dist/esm/arcgis-layer-list.entry.js +2 -2
- package/dist/esm/arcgis-legend.entry.js +2 -2
- package/dist/esm/arcgis-line-of-sight.entry.js +2 -2
- package/dist/esm/arcgis-locate.entry.js +2 -2
- package/dist/esm/arcgis-map-components.js +4 -4
- package/dist/esm/arcgis-map-components.js.map +1 -1
- package/dist/esm/arcgis-map.entry.js +29 -23
- package/dist/esm/arcgis-map.entry.js.map +1 -1
- package/dist/esm/arcgis-measurement.entry.js +2 -2
- package/dist/esm/arcgis-navigation-toggle.entry.js +2 -2
- package/dist/esm/arcgis-placement.entry.js +1 -1
- package/dist/esm/arcgis-print.entry.js +2 -2
- package/dist/esm/arcgis-scale-bar.entry.js +2 -2
- package/dist/esm/arcgis-scale-range-slider.entry.js +2 -2
- package/dist/esm/arcgis-search.entry.js +2 -2
- package/dist/esm/arcgis-shadow-cast.entry.js +2 -2
- package/dist/esm/arcgis-sketch.entry.js +2 -2
- package/dist/esm/arcgis-slice.entry.js +2 -2
- package/dist/esm/arcgis-slider.entry.js +2 -2
- package/dist/esm/arcgis-swipe.entry.js +2 -2
- package/dist/esm/arcgis-table-list.entry.js +2 -2
- package/dist/esm/arcgis-time-slider.entry.js +2 -2
- package/dist/esm/arcgis-track.entry.js +2 -2
- package/dist/esm/arcgis-utility-network-associations.entry.js +2 -2
- package/dist/esm/arcgis-utility-network-trace.entry.js +2 -2
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +2 -2
- package/dist/esm/arcgis-value-picker.entry.js +2 -2
- package/dist/esm/arcgis-weather.entry.js +2 -2
- package/dist/esm/arcgis-zoom.entry.js +2 -2
- package/dist/esm/{index-525856d7.js → index-1b262122.js} +18 -25
- package/dist/esm/index-1b262122.js.map +1 -0
- package/dist/esm/{index-344075c3.js → index-b39a5325.js} +1 -1
- package/dist/esm/index-b39a5325.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/map/map.d.ts +13 -12
- package/dist/types/components/scene/scene.d.ts +15 -13
- package/dist/types/components.d.ts +42 -38
- package/package.json +13 -12
- package/dist/arcgis-map-components/p-061ad510.entry.js +0 -2
- package/dist/arcgis-map-components/p-343f5803.entry.js +0 -2
- package/dist/arcgis-map-components/p-4d5979ea.entry.js +0 -2
- package/dist/arcgis-map-components/p-758f6c5a.js.map +0 -1
- package/dist/arcgis-map-components/p-8896b456.js +0 -3
- package/dist/arcgis-map-components/p-8896b456.js.map +0 -1
- package/dist/arcgis-map-components/p-8bf4b85e.entry.js +0 -2
- package/dist/arcgis-map-components/p-8bf4b85e.entry.js.map +0 -1
- package/dist/arcgis-map-components/p-c74a83ee.entry.js +0 -2
- package/dist/arcgis-map-components/p-c74a83ee.entry.js.map +0 -1
- package/dist/arcgis-map-components/p-e7679e9c.entry.js +0 -2
- package/dist/cjs/index-09a0e90f.js.map +0 -1
- package/dist/cjs/index-fbce570d.js.map +0 -1
- package/dist/esm/index-344075c3.js.map +0 -1
- package/dist/esm/index-525856d7.js.map +0 -1
- /package/dist/arcgis-map-components/{p-af6b52cb.entry.js.map → p-0f264ef2.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-b0abd711.entry.js.map → p-1486df4e.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-42f250a9.entry.js.map → p-2782c72c.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-5183adfb.entry.js.map → p-27d88ff9.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-82a12245.entry.js.map → p-2b3e83e7.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-37b0fd31.entry.js.map → p-2fd1b2d0.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-b97b5ab8.entry.js.map → p-3093e1a6.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-269e4018.entry.js.map → p-33611678.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-d74f2d38.entry.js.map → p-35722f4d.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-dcab884b.entry.js.map → p-3ebdcabc.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-852d81d1.entry.js.map → p-3ee5a8da.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-26c8efa0.entry.js.map → p-4cb56a4a.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-4055fed1.entry.js.map → p-5e339e2e.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-93d69b82.entry.js.map → p-6486a359.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-62716f0f.entry.js.map → p-71bb4bf8.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-2f7311c6.entry.js.map → p-95a5f88e.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-bbe42bba.entry.js.map → p-99fda27d.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-ddeb17e1.entry.js.map → p-9a2a552d.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-e77700c7.entry.js.map → p-a08b7e39.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-03d91445.entry.js.map → p-a3bf34f9.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-d3e791dc.entry.js.map → p-a403686f.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-e14af886.entry.js.map → p-afdadf29.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-99437e5b.entry.js.map → p-b11c8315.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-591e7b46.entry.js.map → p-b727f9cc.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-d3050c56.entry.js.map → p-c3e56714.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-60b5fe3c.entry.js.map → p-c5c40926.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-2b8dde05.entry.js.map → p-c6206196.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-0780b907.entry.js.map → p-c744cd38.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-f41b7c4a.entry.js.map → p-c85b5c54.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-b9043526.entry.js.map → p-c9efb709.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-e3f82d1c.entry.js.map → p-cbaac388.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-edf74e10.entry.js.map → p-ce12f548.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-bc1bbb01.entry.js.map → p-ce18e575.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-bef2916b.entry.js.map → p-ce6d74ff.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-fc5cdeeb.entry.js.map → p-d05ac693.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-83685046.entry.js.map → p-d069ef5c.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-d42639bc.entry.js.map → p-d2c1e438.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-b5127ca2.entry.js.map → p-d9481f87.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-669bffd2.entry.js.map → p-e3bb50e2.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-58544c5b.entry.js.map → p-e5b254fe.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-1561977d.entry.js.map → p-f0157ea2.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-7cb578f1.entry.js.map → p-f080e37d.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-1688ad49.entry.js.map → p-f1eda90f.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-0c37d8a7.entry.js.map → p-f26033a9.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-69da0de3.entry.js.map → p-f7a2004d.entry.js.map} +0 -0
- /package/dist/arcgis-map-components/{p-c2b55df9.entry.js.map → p-fa196c78.entry.js.map} +0 -0
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
|
|
9
9
|
const mapCss = ".arcgis-map{padding:0;margin:0;height:100%;width:100%}";
|
|
@@ -41,32 +41,33 @@ const ArcgisMap = class {
|
|
|
41
41
|
this.extent = undefined;
|
|
42
42
|
this.fatalError = undefined;
|
|
43
43
|
this.floors = undefined;
|
|
44
|
+
this.gamepad = undefined;
|
|
44
45
|
this.graphics = undefined;
|
|
45
46
|
this.highlightOptions = undefined;
|
|
46
|
-
this.interacting =
|
|
47
|
+
this.interacting = false;
|
|
47
48
|
this.itemId = undefined;
|
|
48
49
|
this.layerViews = undefined;
|
|
49
50
|
this.magnifier = undefined;
|
|
50
51
|
this.map = undefined;
|
|
51
|
-
this.navigating =
|
|
52
|
+
this.navigating = false;
|
|
52
53
|
this.navigation = undefined;
|
|
53
54
|
this.padding = undefined;
|
|
54
55
|
this.popup = undefined;
|
|
55
|
-
this.popupEnabled =
|
|
56
|
-
this.ready =
|
|
56
|
+
this.popupEnabled = true;
|
|
57
|
+
this.ready = false;
|
|
57
58
|
this.resizeAlign = undefined;
|
|
58
59
|
this.resolution = undefined;
|
|
59
|
-
this.rotation =
|
|
60
|
+
this.rotation = 0;
|
|
60
61
|
this.scale = undefined;
|
|
61
62
|
this.spatialReference = undefined;
|
|
62
63
|
this.stationary = undefined;
|
|
63
|
-
this.suspended =
|
|
64
|
+
this.suspended = true;
|
|
64
65
|
this.theme = undefined;
|
|
65
66
|
this.timeExtent = undefined;
|
|
66
|
-
this.timeZone =
|
|
67
|
+
this.timeZone = "system";
|
|
67
68
|
this.toMap = undefined;
|
|
68
69
|
this.toScreen = undefined;
|
|
69
|
-
this.updating =
|
|
70
|
+
this.updating = false;
|
|
70
71
|
this.viewpoint = undefined;
|
|
71
72
|
this.zoom = undefined;
|
|
72
73
|
this.view = undefined;
|
|
@@ -123,10 +124,10 @@ const ArcgisMap = class {
|
|
|
123
124
|
// will not remove attribute from DOM.
|
|
124
125
|
if (value !== old) {
|
|
125
126
|
if (this.view?.map) {
|
|
126
|
-
this._updateMap();
|
|
127
|
+
void this._updateMap();
|
|
127
128
|
}
|
|
128
129
|
else {
|
|
129
|
-
this._loadMap();
|
|
130
|
+
void this._loadMap();
|
|
130
131
|
}
|
|
131
132
|
}
|
|
132
133
|
}
|
|
@@ -145,8 +146,8 @@ const ArcgisMap = class {
|
|
|
145
146
|
this.view.padding = value;
|
|
146
147
|
}
|
|
147
148
|
}
|
|
148
|
-
popupEnabledWatcher(value) {
|
|
149
|
-
if (value !==
|
|
149
|
+
popupEnabledWatcher(value, old) {
|
|
150
|
+
if (value !== old && this.view) {
|
|
150
151
|
this.view.popupEnabled = value;
|
|
151
152
|
}
|
|
152
153
|
}
|
|
@@ -210,13 +211,13 @@ const ArcgisMap = class {
|
|
|
210
211
|
}
|
|
211
212
|
}
|
|
212
213
|
async goTo(target, options) {
|
|
213
|
-
return await this.view?.goTo(target, options);
|
|
214
|
+
return (await this.view?.goTo(target, options));
|
|
214
215
|
}
|
|
215
216
|
async hitTest(screenPoint, options) {
|
|
216
217
|
return await this.view?.hitTest(screenPoint, options);
|
|
217
218
|
}
|
|
218
219
|
async openPopup(options) {
|
|
219
|
-
return
|
|
220
|
+
return void this.view?.openPopup(options);
|
|
220
221
|
}
|
|
221
222
|
async takeScreenshot(options) {
|
|
222
223
|
return await this.view?.takeScreenshot(options);
|
|
@@ -247,7 +248,7 @@ const ArcgisMap = class {
|
|
|
247
248
|
this._proxyEvents();
|
|
248
249
|
}
|
|
249
250
|
disconnectedCallback() {
|
|
250
|
-
this.destroy();
|
|
251
|
+
void this.destroy();
|
|
251
252
|
}
|
|
252
253
|
render() {
|
|
253
254
|
return index.h("div", { class: "arcgis-map", ref: (el) => (this.el = el) });
|
|
@@ -306,6 +307,11 @@ const ArcgisMap = class {
|
|
|
306
307
|
}, {
|
|
307
308
|
initial: true
|
|
308
309
|
}),
|
|
310
|
+
watch(() => this.view.input.gamepad, () => {
|
|
311
|
+
this.gamepad = this.view.input.gamepad;
|
|
312
|
+
}, {
|
|
313
|
+
initial: true
|
|
314
|
+
}),
|
|
309
315
|
watch(() => this.view.graphics, () => {
|
|
310
316
|
this.graphics = this.view.graphics;
|
|
311
317
|
}, {
|
|
@@ -356,7 +362,7 @@ const ArcgisMap = class {
|
|
|
356
362
|
async _createMap() {
|
|
357
363
|
const mapParams = {};
|
|
358
364
|
if (this.itemId) {
|
|
359
|
-
mapParams.portalItem = this._createPortalItem();
|
|
365
|
+
mapParams.portalItem = await this._createPortalItem();
|
|
360
366
|
}
|
|
361
367
|
if (this.basemap) {
|
|
362
368
|
mapParams.basemap = this.basemap;
|
|
@@ -367,12 +373,12 @@ const ArcgisMap = class {
|
|
|
367
373
|
const map = await index$1.newWebMap(mapParams);
|
|
368
374
|
return map;
|
|
369
375
|
}
|
|
370
|
-
_createPortalItem() {
|
|
371
|
-
const
|
|
376
|
+
async _createPortalItem() {
|
|
377
|
+
const itemProps = {};
|
|
372
378
|
if (this.itemId) {
|
|
373
|
-
|
|
379
|
+
itemProps.id = this.itemId;
|
|
374
380
|
}
|
|
375
|
-
return
|
|
381
|
+
return itemProps;
|
|
376
382
|
}
|
|
377
383
|
_createViewParams() {
|
|
378
384
|
const params = {};
|
|
@@ -441,7 +447,7 @@ const ArcgisMap = class {
|
|
|
441
447
|
...params
|
|
442
448
|
});
|
|
443
449
|
this.view = view;
|
|
444
|
-
view.when(async () => {
|
|
450
|
+
return void view.when(async () => {
|
|
445
451
|
// proxy view functions
|
|
446
452
|
this.toMap = view.toMap.bind(view);
|
|
447
453
|
this.toScreen = view.toScreen.bind(view);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"arcgis-map.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,MAAM,GAAG,wDAAwD;;MCiB1D,SAAS;;;;;;;;;;;;;;;;;;;;;;QA4QpB,kBAAa,GAAyB,EAAE,CAAC;;;;;;;+BApNf,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC;aACxC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,EAAE,CAAC,KAAK;gBAClC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACzC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,EAAE,CAAC,KAAK;gBAClC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACzC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,EAAE,CAAC,KAAK;gBACjC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACxC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,EAAE,CAAC,KAAK;gBAC/B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACtC,CAAC;SACH,CAAC,CAAC;KACJ;IAEO,MAAM,UAAU;QACtB,IAAI,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE;YAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;YACxB,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;YACpC,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;SACrB;KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["isNullOrEmptyString","isNotSameViewpoint","newViewsMapView","h","importCoreReactiveUtils","addHandles","newWebMap"],"sources":["src/components/map/map.css?tag=arcgis-map","src/components/map/map.tsx"],"sourcesContent":[".arcgis-map {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n}\n","import type { EventEmitter, VNode } from \"@stencil/core\";\nimport { Component, Element, Event, h, Method, Prop, Watch } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newViewsMapView, newWebMap } from \"@arcgis/core-adapter\";\nimport type WebMap from \"@arcgis/core/WebMap\";\nimport type { ViewElement } from \"../../utils/component-utils\";\nimport { addHandles, isNotSameViewpoint, isNullOrEmptyString } from \"../../utils/component-utils\";\nimport type { ArcGISMapView } from \"../types\";\n\nexport type ArcGISWebMap = InstanceType<typeof WebMap>;\n\n@Component({\n tag: \"arcgis-map\",\n styleUrl: \"map.css\",\n shadow: false\n})\nexport class ArcgisMap implements ViewElement {\n //--------------------------------------------------------------------------\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n el: HTMLDivElement;\n\n @Element() _hostElement!: HTMLArcgisMapElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n @Prop({ mutable: true }) allLayerViews: ArcGISMapView[\"allLayerViews\"];\n\n @Prop({ mutable: true }) background: ArcGISMapView[\"background\"];\n\n @Watch(\"background\")\n backgroundWatcher(value: ArcGISMapView[\"background\"]): void {\n if (this.view) {\n this.background = value;\n }\n }\n\n @Prop({ mutable: true }) basemapView: ArcGISMapView[\"basemapView\"];\n\n @Prop({ mutable: true }) basemap: ArcGISWebMap[\"basemap\"];\n\n @Watch(\"basemap\")\n basemapWatcher(value: string): void {\n if (this.view?.map && isNullOrEmptyString(value)) {\n this.view.map.basemap = value as any;\n }\n }\n\n @Prop({ mutable: true }) center: ArcGISMapView[\"center\"] | string;\n\n @Watch(\"center\")\n centerWatcher(value: ArcGISMapView[\"center\"]): void {\n if (this.view && value && !this.view.center.equals(value)) {\n this.view.center = value;\n }\n }\n\n @Prop() constraints: ArcGISMapView[\"constraints\"];\n\n @Watch(\"constraints\")\n constraintsWatcher(value: ArcGISMapView[\"constraints\"]): void {\n if (this.view) {\n this.view.constraints = value;\n }\n }\n\n @Prop() destroyDisabled = false;\n\n @Prop({ mutable: true }) extent: ArcGISMapView[\"extent\"];\n\n @Watch(\"extent\")\n extentWatcher(value: ArcGISMapView[\"extent\"]): void {\n if (this.view && value && !this.view.extent.equals(value)) {\n this.view.extent = value;\n }\n }\n\n @Prop({ mutable: true }) fatalError: ArcGISMapView[\"fatalError\"];\n\n @Prop() floors: ArcGISMapView[\"floors\"];\n\n @Watch(\"floors\")\n floorsWatcher(value: ArcGISMapView[\"floors\"]): void {\n if (this.view) {\n this.view.floors = value;\n }\n }\n\n @Prop({ mutable: true }) graphics: ArcGISMapView[\"graphics\"];\n\n @Watch(\"graphics\")\n graphicsWatcher(value: ArcGISMapView[\"graphics\"]): void {\n if (this.view) {\n this.view.graphics = value;\n }\n }\n\n @Prop() highlightOptions: ArcGISMapView[\"highlightOptions\"];\n\n @Watch(\"highlightOptions\")\n highlightOptionsWatcher(value: ArcGISMapView[\"highlightOptions\"]): void {\n if (this.view) {\n this.view.highlightOptions = value;\n }\n }\n\n @Prop({ mutable: true }) interacting: ArcGISMapView[\"interacting\"];\n\n @Prop({ mutable: true, reflect: true }) itemId: string;\n\n @Watch(\"itemId\")\n itemIdWatcher(value: string, old: string): void {\n // NOTE: there is an issue when users set the value to undefined.\n // https://github.com/ionic-team/stencil/issues/2814\n // If user sets `itemid` to `undefined`, Stencil 2 will log the following warning:\n // `The state/prop \"${propName}\" changed during rendering.`\n // `This can potentially lead to infinite-loops and other bugs.`\n //\n // It appears consumer setting the value to null does not cause this warning.\n // In Stencil 4, if a user sets property to undefined, will trigger change, but\n // will not remove attribute from DOM.\n if (value !== old) {\n if (this.view?.map) {\n this._updateMap();\n } else {\n this._loadMap();\n }\n }\n }\n\n @Prop({ mutable: true }) layerViews: ArcGISMapView[\"layerViews\"];\n\n @Prop({ mutable: true }) magnifier: ArcGISMapView[\"magnifier\"];\n\n @Prop({ mutable: true }) map: ArcGISWebMap;\n\n @Watch(\"map\")\n mapWatcher(value: ArcGISWebMap): void {\n if (this.view) {\n this.view.map = value;\n }\n }\n\n @Prop({ mutable: true }) navigating: ArcGISMapView[\"navigating\"];\n\n @Prop({ mutable: true }) navigation: ArcGISMapView[\"navigation\"];\n\n @Watch(\"navigation\")\n navigationWatcher(value: ArcGISMapView[\"navigation\"]): void {\n if (this.view) {\n this.view.navigation = value;\n }\n }\n\n @Prop() padding: ArcGISMapView[\"padding\"];\n\n @Watch(\"padding\")\n paddingWatcher(value: ArcGISMapView[\"padding\"]): void {\n if (this.view) {\n this.view.padding = value;\n }\n }\n\n @Prop({ mutable: true }) popup: ArcGISMapView[\"popup\"];\n\n @Prop() popupEnabled: ArcGISMapView[\"popupEnabled\"];\n\n @Watch(\"popupEnabled\")\n popupEnabledWatcher(value: ArcGISMapView[\"popupEnabled\"]): void {\n if (value !== undefined && this.view) {\n this.view.popupEnabled = value;\n }\n }\n\n @Prop({ mutable: true }) ready: ArcGISMapView[\"ready\"];\n\n @Prop() resizeAlign: ArcGISMapView[\"resizeAlign\"];\n\n @Watch(\"resizeAlign\")\n resizeAlignWatcher(value: ArcGISMapView[\"resizeAlign\"]): void {\n if (this.view) {\n this.view.resizeAlign = value;\n }\n }\n\n @Prop({ mutable: true }) resolution: ArcGISMapView[\"resolution\"];\n\n @Prop({ mutable: true }) rotation: ArcGISMapView[\"rotation\"];\n\n @Watch(\"rotation\")\n rotationWatcher(value: ArcGISMapView[\"rotation\"]): void {\n if (this.view && this.view.rotation !== value) {\n this.view.rotation = value;\n }\n }\n\n @Prop({ mutable: true }) scale: number;\n\n @Watch(\"scale\")\n scaleWatcher(value: number, old: number): void {\n if (!this.view?.interacting && value != null && value !== old) {\n this.view.scale = value;\n }\n }\n\n @Prop({ mutable: true }) spatialReference: ArcGISMapView[\"spatialReference\"];\n\n @Watch(\"spatialReference\")\n spatialReferenceWatcher(value: ArcGISMapView[\"spatialReference\"]): void {\n if (this.view && value && !this.view.spatialReference.equals(value)) {\n this.view.spatialReference = value;\n }\n }\n\n @Prop({ mutable: true }) stationary: ArcGISMapView[\"stationary\"];\n\n @Prop({ mutable: true, reflect: true }) suspended: ArcGISMapView[\"suspended\"];\n\n @Prop() theme: ArcGISMapView[\"theme\"];\n\n @Watch(\"theme\")\n themeWatcher(value: ArcGISMapView[\"theme\"]): void {\n if (this.view) {\n this.view.theme = value;\n }\n }\n\n @Prop() timeExtent: ArcGISMapView[\"timeExtent\"];\n\n @Watch(\"timeExtent\")\n timeExtentWatcher(value: ArcGISMapView[\"timeExtent\"]): void {\n if (this.view) {\n this.view.timeExtent = value;\n }\n }\n\n @Prop() timeZone: ArcGISMapView[\"timeZone\"];\n\n @Watch(\"timeZone\")\n timeZoneWatcher(value: ArcGISMapView[\"timeZone\"]): void {\n if (this.view) {\n this.view.timeZone = value;\n }\n }\n\n // Start functions as properties\n\n @Prop({ mutable: true }) toMap: ArcGISMapView[\"toMap\"];\n\n @Prop({ mutable: true }) toScreen: ArcGISMapView[\"toScreen\"];\n\n // End functions as properties\n\n @Prop({ mutable: true, reflect: true }) updating: ArcGISMapView[\"updating\"];\n\n @Prop({ mutable: true }) viewpoint: ArcGISMapView[\"viewpoint\"];\n\n @Watch(\"viewpoint\")\n viewpointWatcher(value: ArcGISMapView[\"viewpoint\"]): void {\n if (this.view && isNotSameViewpoint(this.view.viewpoint, value)) {\n this.view.viewpoint = value;\n }\n }\n\n @Prop({ mutable: true, reflect: true }) zoom: number;\n\n @Watch(\"zoom\")\n zoomWatcher(value: number, old: number): void {\n if (!this.view?.interacting && value != null && value !== old) {\n this.view.zoom = value;\n }\n }\n\n /**\n * Internal view of the component.\n */\n @Prop({ mutable: true }) view: ArcGISMapView;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) arcgisViewReadyChange!: EventEmitter;\n @Event({ cancelable: true }) arcgisViewChange!: EventEmitter;\n\n // proxy view events\n @Event({ cancelable: true }) arcgisViewClick!: EventEmitter<__esri.ViewClickEvent>;\n @Event({ cancelable: true }) arcgisViewDoubleClick!: EventEmitter<__esri.ViewDoubleClickEvent>;\n @Event({ cancelable: true }) arcgisViewDrag!: EventEmitter<__esri.ViewDragEvent>;\n @Event({ cancelable: true }) arcgisViewHold!: EventEmitter<__esri.ViewHoldEvent>;\n @Event({ cancelable: true }) arcgisViewImmediateClick!: EventEmitter<__esri.ViewImmediateClickEvent>;\n @Event({ cancelable: true }) arcgisViewImmediateDoubleClick!: EventEmitter<__esri.ViewImmediateDoubleClickEvent>;\n @Event({ cancelable: true }) arcgisViewKeyDown!: EventEmitter<__esri.ViewKeyDownEvent>;\n @Event({ cancelable: true }) arcgisViewKeyUp!: EventEmitter<__esri.ViewKeyUpEvent>;\n @Event({ cancelable: true }) arcgisViewLayerviewCreate!: EventEmitter<__esri.ViewLayerviewCreateEvent>;\n @Event({ cancelable: true }) arcgisViewLayerviewCreateError!: EventEmitter<__esri.ViewLayerviewCreateErrorEvent>;\n @Event({ cancelable: true }) arcgisViewLayerviewDestroy!: EventEmitter<__esri.ViewLayerviewDestroyEvent>;\n @Event({ cancelable: true }) arcgisViewMouseWheel!: EventEmitter<__esri.ViewMouseWheelEvent>;\n @Event({ cancelable: true }) arcgisViewPointerDown!: EventEmitter<__esri.ViewPointerDownEvent>;\n @Event({ cancelable: true }) arcgisViewPointerEnter!: EventEmitter<__esri.ViewPointerEnterEvent>;\n @Event({ cancelable: true }) arcgisViewPointerLeave!: EventEmitter<__esri.ViewPointerLeaveEvent>;\n @Event({ cancelable: true }) arcgisViewPointerMove!: EventEmitter<__esri.ViewPointerMoveEvent>;\n @Event({ cancelable: true }) arcgisViewPointerUp!: EventEmitter<__esri.ViewPointerUpEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async closePopup(): Promise<void> {\n this.view?.closePopup();\n }\n\n @Method()\n async destroy(): Promise<void> {\n if (this.destroyDisabled) {\n this._clearWatchHandles();\n this.view.destroy();\n }\n }\n\n @Method()\n async goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<void> {\n return await this.view?.goTo(target, options);\n }\n\n @Method()\n async hitTest(screenPoint: __esri.ScreenPoint, options?: Record<string, any>): Promise<__esri.HitTestResult> {\n return await this.view?.hitTest(screenPoint, options);\n }\n\n @Method()\n async openPopup(options?: Record<string, any>): Promise<void> {\n return await this.view?.openPopup(options);\n }\n\n @Method()\n async takeScreenshot(options?: Record<string, any>): Promise<__esri.Screenshot> {\n return await this.view?.takeScreenshot(options);\n }\n\n @Method()\n async tryFatalErrorRecovery(): Promise<void> {\n this.view?.tryFatalErrorRecovery();\n }\n\n @Method()\n async whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView> {\n return await this.view?.whenLayerView(layer);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async connectedCallback(): Promise<void> {\n this.view = await newViewsMapView({});\n }\n\n async componentWillLoad(): Promise<void> {\n await this._loadMap();\n }\n\n componentDidRender(): void {\n if (this.view && !this.view.container) {\n this.view.container = this.el;\n }\n }\n\n componentDidLoad(): void {\n this._proxyEvents();\n }\n\n disconnectedCallback(): void {\n this.destroy();\n }\n\n render(): VNode {\n return <div class=\"arcgis-map\" ref={(el) => (this.el = el!)}></div>;\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _clearWatchHandles(): void {\n this._watchHandles.forEach((handle) => handle.remove());\n this._watchHandles = [];\n }\n\n private async _addWatchers() {\n const { watch, when } = await importCoreReactiveUtils();\n addHandles(this, [\n // watch for ready and emit arcgisViewReadyChange event\n watch(\n () => this.view.ready,\n () => {\n this.ready = this.view.ready;\n this.arcgisViewReadyChange.emit();\n },\n {\n initial: true\n }\n ),\n // watch for stationary and emit arcgisViewChange event\n watch(\n () => this.view.stationary,\n () => {\n this.stationary = this.view.stationary;\n this.interacting = this.view.interacting;\n this.navigating = this.view.navigating;\n this.arcgisViewChange.emit();\n },\n {\n initial: true\n }\n ),\n // when view stationary is true, update these props:\n // zoom, scale, center, rotation, extent, camera, viewpoint\n when(\n () => this.view.stationary,\n () => {\n this.center = this.view.center;\n this.extent = this.view.extent;\n this.scale = this.view.scale;\n this.viewpoint = this.view.viewpoint;\n this.zoom = this.view.zoom;\n this.spatialReference = this.view.spatialReference;\n }\n ),\n // watchers for other props to update component\n watch(\n () => this.view.allLayerViews,\n () => {\n this.allLayerViews = this.view.allLayerViews;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.map?.basemap,\n () => {\n this.basemap = this.view.map?.basemap as any;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.fatalError,\n () => {\n this.fatalError = this.view.fatalError;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.graphics,\n () => {\n this.graphics = this.view.graphics;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.layerViews,\n () => {\n this.layerViews = this.view.layerViews;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.navigation,\n () => {\n this.navigation = this.view.navigation;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.map,\n () => {\n this.map = this.view.map as __esri.WebMap;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.popup,\n () => {\n this.popup = this.view.popup;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.resolution,\n () => {\n this.resolution = this.view.resolution;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.rotation,\n () => {\n this.rotation = this.view.rotation;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.suspended,\n () => {\n this.suspended = this.view.suspended;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.updating,\n () => {\n this.updating = this.view.updating;\n },\n {\n initial: true\n }\n )\n ]);\n }\n\n private async _createMap(): Promise<__esri.WebMap> {\n const mapParams: __esri.WebMapProperties = {};\n\n if (this.itemId) {\n mapParams.portalItem = this._createPortalItem() as any;\n }\n\n if (this.basemap) {\n mapParams.basemap = this.basemap as any;\n } else if (isNullOrEmptyString(this.itemId)) {\n mapParams.basemap = \"topo-vector\" as any;\n }\n\n const map = await newWebMap(mapParams);\n return map;\n }\n\n private _createPortalItem(): Partial<__esri.PortalItemProperties> {\n const item: Partial<__esri.PortalItemProperties> = {};\n\n if (this.itemId) {\n item.id = this.itemId;\n }\n\n return item;\n }\n\n private _createViewParams(): Partial<__esri.MapViewProperties> {\n const params: Partial<__esri.MapViewProperties> = {};\n\n if (this.background) {\n params.background = this.background;\n }\n\n if (this.center) {\n if (typeof this.center === \"string\") {\n params.center = this.center.split(\",\").map((x) => Number(x));\n } else {\n params.center = this.center;\n }\n }\n\n if (this.constraints) {\n params.constraints = this.constraints;\n }\n\n if (this.extent) {\n params.extent = this.extent;\n }\n\n if (this.floors) {\n params.floors = this.floors;\n }\n\n if (this.highlightOptions) {\n params.highlightOptions = this.highlightOptions;\n }\n\n if (this.map) {\n params.map = this.map;\n }\n\n if (this.navigation) {\n params.navigation = this.navigation;\n }\n\n if (this.popupEnabled !== undefined) {\n params.popupEnabled = this.popupEnabled;\n }\n\n if (this.rotation !== undefined) {\n params.rotation = this.rotation;\n }\n\n if (this.scale !== undefined) {\n params.scale = this.scale;\n }\n\n if (this.spatialReference) {\n params.spatialReference = this.spatialReference;\n }\n\n if (this.theme) {\n params.theme = this.theme;\n }\n\n if (this.timeExtent) {\n params.timeExtent = this.timeExtent;\n }\n\n if (this.timeZone) {\n params.timeZone = this.timeZone;\n }\n\n if (this.viewpoint) {\n params.viewpoint = this.viewpoint;\n }\n\n if (this.zoom !== undefined) {\n params.zoom = this.zoom;\n }\n\n return params;\n }\n\n private async _loadMap(): Promise<void> {\n this.map ||= await this._createMap();\n\n const params = this._createViewParams();\n\n const view = await newViewsMapView({\n ...params\n });\n\n this.view = view;\n\n view.when(async () => {\n // proxy view functions\n this.toMap = view.toMap.bind(view);\n this.toScreen = view.toScreen.bind(view);\n await this._addWatchers();\n });\n }\n\n private _proxyEvents(): void {\n addHandles(this, [\n this.view.on(\"click\", (event) => {\n this.arcgisViewClick.emit(event);\n }),\n this.view.on(\"double-click\", (event) => {\n this.arcgisViewDoubleClick.emit(event);\n }),\n this.view.on(\"drag\", (event) => {\n this.arcgisViewDrag.emit(event);\n }),\n this.view.on(\"hold\", (event) => {\n this.arcgisViewHold.emit(event);\n }),\n this.view.on(\"immediate-click\", (event) => {\n this.arcgisViewImmediateClick.emit(event);\n }),\n this.view.on(\"immediate-double-click\", (event) => {\n this.arcgisViewImmediateDoubleClick.emit(event);\n }),\n this.view.on(\"key-down\", (event) => {\n this.arcgisViewKeyDown.emit(event);\n }),\n this.view.on(\"key-up\", (event) => {\n this.arcgisViewKeyUp.emit(event);\n }),\n this.view.on(\"layerview-create\", (event) => {\n this.arcgisViewLayerviewCreate.emit(event);\n }),\n this.view.on(\"layerview-create-error\", (event) => {\n this.arcgisViewLayerviewCreateError.emit(event);\n }),\n this.view.on(\"layerview-destroy\", (event) => {\n this.arcgisViewLayerviewDestroy.emit(event);\n }),\n this.view.on(\"mouse-wheel\", (event) => {\n this.arcgisViewMouseWheel.emit(event);\n }),\n this.view.on(\"pointer-down\", (event) => {\n this.arcgisViewPointerDown.emit(event);\n }),\n this.view.on(\"pointer-enter\", (event) => {\n this.arcgisViewPointerEnter.emit(event);\n }),\n this.view.on(\"pointer-leave\", (event) => {\n this.arcgisViewPointerLeave.emit(event);\n }),\n this.view.on(\"pointer-move\", (event) => {\n this.arcgisViewPointerMove.emit(event);\n }),\n this.view.on(\"pointer-up\", (event) => {\n this.arcgisViewPointerUp.emit(event);\n })\n ]);\n }\n\n private async _updateMap(): Promise<void> {\n if (this.view?.map) {\n this.view.map.destroy();\n const map = await this._createMap();\n this.view.map = map;\n }\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"arcgis-map.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,MAAM,GAAG,wDAAwD;;MCiB1D,SAAS;;;;;;;;;;;;;;;;;;;;;;QA8QpB,kBAAa,GAAyB,EAAE,CAAC;;;;;;;+BAtNf,KAAK;;;;;;;2BA0CQ,KAAK;;;;;0BAqCN,KAAK;;;;4BAsBpB,IAAI;qBASM,KAAK;;;wBAaF,CAAC;;;;yBA6Be,IAAI;;;wBAoBV,QAAQ;;;wBAiBH,KAAK;;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CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,CAAC,KAAK;gBAChC,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACvC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,EAAE,CAAC,KAAK;gBACjC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACxC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,EAAE,CAAC,KAAK;gBAClC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACzC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,EAAE,CAAC,KAAK;gBAClC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACzC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,EAAE,CAAC,KAAK;gBACjC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACxC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,EAAE,CAAC,KAAK;gBAC/B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACtC,CAAC;SACH,CAAC,CAAC;KACJ;IAEO,MAAM,UAAU;QACtB,IAAI,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE;YAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;YACxB,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;YACpC,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;SACrB;KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["isNullOrEmptyString","isNotSameViewpoint","newViewsMapView","h","importCoreReactiveUtils","addHandles","newWebMap"],"sources":["src/components/map/map.css?tag=arcgis-map","src/components/map/map.tsx"],"sourcesContent":[".arcgis-map {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n}\n","import type { EventEmitter, VNode } from \"@stencil/core\";\nimport { Component, Element, Event, Method, Prop, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newViewsMapView, newWebMap } from \"@arcgis/core-adapter\";\nimport type WebMap from \"@arcgis/core/WebMap\";\nimport type { ViewElement } from \"../../utils/component-utils\";\nimport { addHandles, isNotSameViewpoint, isNullOrEmptyString } from \"../../utils/component-utils\";\nimport type { ArcGISMapView } from \"../types\";\n\nexport type ArcGISWebMap = InstanceType<typeof WebMap>;\n\n@Component({\n tag: \"arcgis-map\",\n styleUrl: \"map.css\",\n shadow: false\n})\nexport class ArcgisMap implements ViewElement {\n //--------------------------------------------------------------------------\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n el: HTMLDivElement;\n\n @Element() _hostElement!: HTMLArcgisMapElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n @Prop({ mutable: true }) allLayerViews: ArcGISMapView[\"allLayerViews\"];\n\n @Prop({ mutable: true }) background: ArcGISMapView[\"background\"];\n\n @Watch(\"background\")\n backgroundWatcher(value: ArcGISMapView[\"background\"]): void {\n if (this.view) {\n this.background = value;\n }\n }\n\n @Prop({ mutable: true }) basemapView: ArcGISMapView[\"basemapView\"];\n\n @Prop({ mutable: true }) basemap: ArcGISWebMap[\"basemap\"];\n\n @Watch(\"basemap\")\n basemapWatcher(value: string): void {\n if (this.view?.map && isNullOrEmptyString(value)) {\n this.view.map.basemap = value as unknown as __esri.Basemap;\n }\n }\n\n @Prop({ mutable: true }) center: ArcGISMapView[\"center\"] | string;\n\n @Watch(\"center\")\n centerWatcher(value: ArcGISMapView[\"center\"]): void {\n if (this.view && value && !this.view.center.equals(value)) {\n this.view.center = value;\n }\n }\n\n @Prop() constraints: ArcGISMapView[\"constraints\"];\n\n @Watch(\"constraints\")\n constraintsWatcher(value: ArcGISMapView[\"constraints\"]): void {\n if (this.view) {\n this.view.constraints = value;\n }\n }\n\n @Prop() destroyDisabled = false;\n\n @Prop({ mutable: true }) extent: ArcGISMapView[\"extent\"];\n\n @Watch(\"extent\")\n extentWatcher(value: ArcGISMapView[\"extent\"]): void {\n if (this.view && value && !this.view.extent.equals(value)) {\n this.view.extent = value;\n }\n }\n\n @Prop({ mutable: true }) fatalError: ArcGISMapView[\"fatalError\"];\n\n @Prop() floors: ArcGISMapView[\"floors\"];\n\n @Watch(\"floors\")\n floorsWatcher(value: ArcGISMapView[\"floors\"]): void {\n if (this.view) {\n this.view.floors = value;\n }\n }\n\n @Prop({ mutable: true }) gamepad: __esri.GamepadSettings;\n\n @Prop({ mutable: true }) graphics: ArcGISMapView[\"graphics\"];\n\n @Watch(\"graphics\")\n graphicsWatcher(value: ArcGISMapView[\"graphics\"]): void {\n if (this.view) {\n this.view.graphics = value;\n }\n }\n\n @Prop() highlightOptions: ArcGISMapView[\"highlightOptions\"];\n\n @Watch(\"highlightOptions\")\n highlightOptionsWatcher(value: ArcGISMapView[\"highlightOptions\"]): void {\n if (this.view) {\n this.view.highlightOptions = value;\n }\n }\n\n @Prop({ mutable: true }) interacting = false;\n\n @Prop({ mutable: true, reflect: true }) itemId: string;\n\n @Watch(\"itemId\")\n itemIdWatcher(value: string, old: string): void {\n // NOTE: there is an issue when users set the value to undefined.\n // https://github.com/ionic-team/stencil/issues/2814\n // If user sets `itemid` to `undefined`, Stencil 2 will log the following warning:\n // `The state/prop \"${propName}\" changed during rendering.`\n // `This can potentially lead to infinite-loops and other bugs.`\n //\n // It appears consumer setting the value to null does not cause this warning.\n // In Stencil 4, if a user sets property to undefined, will trigger change, but\n // will not remove attribute from DOM.\n if (value !== old) {\n if (this.view?.map) {\n void this._updateMap();\n } else {\n void this._loadMap();\n }\n }\n }\n\n @Prop({ mutable: true }) layerViews: ArcGISMapView[\"layerViews\"];\n\n @Prop({ mutable: true }) magnifier: ArcGISMapView[\"magnifier\"];\n\n @Prop({ mutable: true }) map: ArcGISWebMap;\n\n @Watch(\"map\")\n mapWatcher(value: ArcGISWebMap): void {\n if (this.view) {\n this.view.map = value;\n }\n }\n\n @Prop({ mutable: true }) navigating = false;\n\n @Prop({ mutable: true }) navigation: ArcGISMapView[\"navigation\"];\n\n @Watch(\"navigation\")\n navigationWatcher(value: ArcGISMapView[\"navigation\"]): void {\n if (this.view) {\n this.view.navigation = value;\n }\n }\n\n @Prop() padding: ArcGISMapView[\"padding\"];\n\n @Watch(\"padding\")\n paddingWatcher(value: ArcGISMapView[\"padding\"]): void {\n if (this.view) {\n this.view.padding = value;\n }\n }\n\n @Prop({ mutable: true }) popup: ArcGISMapView[\"popup\"];\n\n @Prop() popupEnabled = true;\n\n @Watch(\"popupEnabled\")\n popupEnabledWatcher(value: boolean, old: boolean): void {\n if (value !== old && this.view) {\n this.view.popupEnabled = value;\n }\n }\n\n @Prop({ mutable: true }) ready = false;\n\n @Prop() resizeAlign: ArcGISMapView[\"resizeAlign\"];\n\n @Watch(\"resizeAlign\")\n resizeAlignWatcher(value: ArcGISMapView[\"resizeAlign\"]): void {\n if (this.view) {\n this.view.resizeAlign = value;\n }\n }\n\n @Prop({ mutable: true }) resolution: ArcGISMapView[\"resolution\"];\n\n @Prop({ mutable: true }) rotation = 0;\n\n @Watch(\"rotation\")\n rotationWatcher(value: number): void {\n if (this.view && this.view.rotation !== value) {\n this.view.rotation = value;\n }\n }\n\n @Prop({ mutable: true }) scale: number;\n\n @Watch(\"scale\")\n scaleWatcher(value: number, old: number): void {\n if (!this.view?.interacting && value != null && value !== old) {\n this.view.scale = value;\n }\n }\n\n @Prop({ mutable: true }) spatialReference: ArcGISMapView[\"spatialReference\"];\n\n @Watch(\"spatialReference\")\n spatialReferenceWatcher(value: ArcGISMapView[\"spatialReference\"]): void {\n if (this.view && value && !this.view.spatialReference.equals(value)) {\n this.view.spatialReference = value;\n }\n }\n\n @Prop({ mutable: true }) stationary: boolean;\n\n @Prop({ mutable: true, reflect: true }) suspended = true;\n\n @Prop() theme: ArcGISMapView[\"theme\"];\n\n @Watch(\"theme\")\n themeWatcher(value: ArcGISMapView[\"theme\"]): void {\n if (this.view) {\n this.view.theme = value;\n }\n }\n\n @Prop() timeExtent: ArcGISMapView[\"timeExtent\"];\n\n @Watch(\"timeExtent\")\n timeExtentWatcher(value: ArcGISMapView[\"timeExtent\"]): void {\n if (this.view) {\n this.view.timeExtent = value;\n }\n }\n\n @Prop() timeZone: ArcGISMapView[\"timeZone\"] = \"system\";\n\n @Watch(\"timeZone\")\n timeZoneWatcher(value: ArcGISMapView[\"timeZone\"]): void {\n if (this.view) {\n this.view.timeZone = value;\n }\n }\n\n // Start functions as properties\n\n @Prop({ mutable: true }) toMap: ArcGISMapView[\"toMap\"];\n\n @Prop({ mutable: true }) toScreen: ArcGISMapView[\"toScreen\"];\n\n // End functions as properties\n\n @Prop({ mutable: true, reflect: true }) updating = false;\n\n @Prop({ mutable: true }) viewpoint: ArcGISMapView[\"viewpoint\"];\n\n @Watch(\"viewpoint\")\n viewpointWatcher(value: ArcGISMapView[\"viewpoint\"]): void {\n if (this.view && isNotSameViewpoint(this.view.viewpoint, value)) {\n this.view.viewpoint = value;\n }\n }\n\n @Prop({ mutable: true, reflect: true }) zoom: number;\n\n @Watch(\"zoom\")\n zoomWatcher(value: number, old: number): void {\n if (!this.view?.interacting && value != null && value !== old) {\n this.view.zoom = value;\n }\n }\n\n /**\n * Internal view of the component.\n */\n @Prop({ mutable: true }) view: ArcGISMapView;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) arcgisViewReadyChange!: EventEmitter;\n @Event({ cancelable: true }) arcgisViewChange!: EventEmitter;\n\n // proxy view events\n @Event({ cancelable: true }) arcgisViewClick!: EventEmitter<__esri.ViewClickEvent>;\n @Event({ cancelable: true }) arcgisViewDoubleClick!: EventEmitter<__esri.ViewDoubleClickEvent>;\n @Event({ cancelable: true }) arcgisViewDrag!: EventEmitter<__esri.ViewDragEvent>;\n @Event({ cancelable: true }) arcgisViewHold!: EventEmitter<__esri.ViewHoldEvent>;\n @Event({ cancelable: true }) arcgisViewImmediateClick!: EventEmitter<__esri.ViewImmediateClickEvent>;\n @Event({ cancelable: true }) arcgisViewImmediateDoubleClick!: EventEmitter<__esri.ViewImmediateDoubleClickEvent>;\n @Event({ cancelable: true }) arcgisViewKeyDown!: EventEmitter<__esri.ViewKeyDownEvent>;\n @Event({ cancelable: true }) arcgisViewKeyUp!: EventEmitter<__esri.ViewKeyUpEvent>;\n @Event({ cancelable: true }) arcgisViewLayerviewCreate!: EventEmitter<__esri.ViewLayerviewCreateEvent>;\n @Event({ cancelable: true }) arcgisViewLayerviewCreateError!: EventEmitter<__esri.ViewLayerviewCreateErrorEvent>;\n @Event({ cancelable: true }) arcgisViewLayerviewDestroy!: EventEmitter<__esri.ViewLayerviewDestroyEvent>;\n @Event({ cancelable: true }) arcgisViewMouseWheel!: EventEmitter<__esri.ViewMouseWheelEvent>;\n @Event({ cancelable: true }) arcgisViewPointerDown!: EventEmitter<__esri.ViewPointerDownEvent>;\n @Event({ cancelable: true }) arcgisViewPointerEnter!: EventEmitter<__esri.ViewPointerEnterEvent>;\n @Event({ cancelable: true }) arcgisViewPointerLeave!: EventEmitter<__esri.ViewPointerLeaveEvent>;\n @Event({ cancelable: true }) arcgisViewPointerMove!: EventEmitter<__esri.ViewPointerMoveEvent>;\n @Event({ cancelable: true }) arcgisViewPointerUp!: EventEmitter<__esri.ViewPointerUpEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async closePopup(): Promise<void> {\n this.view?.closePopup();\n }\n\n @Method()\n async destroy(): Promise<void> {\n if (this.destroyDisabled) {\n this._clearWatchHandles();\n this.view.destroy();\n }\n }\n\n @Method()\n async goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<any> {\n return (await this.view?.goTo(target, options)) as unknown;\n }\n\n @Method()\n async hitTest(screenPoint: __esri.ScreenPoint, options?: Record<string, any>): Promise<__esri.HitTestResult> {\n return await this.view?.hitTest(screenPoint, options);\n }\n\n @Method()\n async openPopup(options?: Record<string, any>): Promise<any> {\n return void this.view?.openPopup(options) as unknown;\n }\n\n @Method()\n async takeScreenshot(options?: Record<string, any>): Promise<__esri.Screenshot> {\n return await this.view?.takeScreenshot(options);\n }\n\n @Method()\n async tryFatalErrorRecovery(): Promise<void> {\n this.view?.tryFatalErrorRecovery();\n }\n\n @Method()\n async whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView> {\n return await this.view?.whenLayerView(layer);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async connectedCallback(): Promise<void> {\n this.view = await newViewsMapView({});\n }\n\n async componentWillLoad(): Promise<void> {\n await this._loadMap();\n }\n\n componentDidRender(): void {\n if (this.view && !this.view.container) {\n this.view.container = this.el;\n }\n }\n\n componentDidLoad(): void {\n this._proxyEvents();\n }\n\n disconnectedCallback(): void {\n void this.destroy();\n }\n\n render(): VNode {\n return <div class=\"arcgis-map\" ref={(el) => (this.el = el!)}></div>;\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _clearWatchHandles(): void {\n this._watchHandles.forEach((handle) => handle.remove());\n this._watchHandles = [];\n }\n\n private async _addWatchers(): Promise<void> {\n const { watch, when } = await importCoreReactiveUtils();\n addHandles(this, [\n // watch for ready and emit arcgisViewReadyChange event\n watch(\n () => this.view.ready,\n () => {\n this.ready = this.view.ready;\n this.arcgisViewReadyChange.emit();\n },\n {\n initial: true\n }\n ),\n // watch for stationary and emit arcgisViewChange event\n watch(\n () => this.view.stationary,\n () => {\n this.stationary = this.view.stationary;\n this.interacting = this.view.interacting;\n this.navigating = this.view.navigating;\n this.arcgisViewChange.emit();\n },\n {\n initial: true\n }\n ),\n // when view stationary is true, update these props:\n // zoom, scale, center, rotation, extent, camera, viewpoint\n when(\n () => this.view.stationary,\n () => {\n this.center = this.view.center;\n this.extent = this.view.extent;\n this.scale = this.view.scale;\n this.viewpoint = this.view.viewpoint;\n this.zoom = this.view.zoom;\n this.spatialReference = this.view.spatialReference;\n }\n ),\n // watchers for other props to update component\n watch(\n () => this.view.allLayerViews,\n () => {\n this.allLayerViews = this.view.allLayerViews;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.map?.basemap,\n () => {\n this.basemap = this.view.map?.basemap as unknown as __esri.Basemap;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.fatalError,\n () => {\n this.fatalError = this.view.fatalError;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.input.gamepad,\n () => {\n this.gamepad = this.view.input.gamepad;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.graphics,\n () => {\n this.graphics = this.view.graphics;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.layerViews,\n () => {\n this.layerViews = this.view.layerViews;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.navigation,\n () => {\n this.navigation = this.view.navigation;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.map,\n () => {\n this.map = this.view.map as __esri.WebMap;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.popup,\n () => {\n this.popup = this.view.popup;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.resolution,\n () => {\n this.resolution = this.view.resolution;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.rotation,\n () => {\n this.rotation = this.view.rotation;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.suspended,\n () => {\n this.suspended = this.view.suspended;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.updating,\n () => {\n this.updating = this.view.updating;\n },\n {\n initial: true\n }\n )\n ]);\n }\n\n private async _createMap(): Promise<__esri.WebMap> {\n const mapParams: __esri.WebMapProperties = {};\n\n if (this.itemId) {\n mapParams.portalItem = await this._createPortalItem();\n }\n\n if (this.basemap) {\n mapParams.basemap = this.basemap as unknown as __esri.Basemap;\n } else if (isNullOrEmptyString(this.itemId)) {\n mapParams.basemap = \"topo-vector\" as unknown as __esri.Basemap;\n }\n\n const map = await newWebMap(mapParams);\n return map;\n }\n\n private async _createPortalItem(): Promise<__esri.PortalItemProperties> {\n const itemProps: Partial<__esri.PortalItemProperties> = {};\n\n if (this.itemId) {\n itemProps.id = this.itemId;\n }\n\n return itemProps;\n }\n\n private _createViewParams(): Partial<__esri.MapViewProperties> {\n const params: Partial<__esri.MapViewProperties> = {};\n\n if (this.background) {\n params.background = this.background;\n }\n\n if (this.center) {\n if (typeof this.center === \"string\") {\n params.center = this.center.split(\",\").map((x) => Number(x));\n } else {\n params.center = this.center;\n }\n }\n\n if (this.constraints) {\n params.constraints = this.constraints;\n }\n\n if (this.extent) {\n params.extent = this.extent;\n }\n\n if (this.floors) {\n params.floors = this.floors;\n }\n\n if (this.highlightOptions) {\n params.highlightOptions = this.highlightOptions;\n }\n\n if (this.map) {\n params.map = this.map;\n }\n\n if (this.navigation) {\n params.navigation = this.navigation;\n }\n\n if (this.popupEnabled !== undefined) {\n params.popupEnabled = this.popupEnabled;\n }\n\n if (this.rotation !== undefined) {\n params.rotation = this.rotation;\n }\n\n if (this.scale !== undefined) {\n params.scale = this.scale;\n }\n\n if (this.spatialReference) {\n params.spatialReference = this.spatialReference;\n }\n\n if (this.theme) {\n params.theme = this.theme;\n }\n\n if (this.timeExtent) {\n params.timeExtent = this.timeExtent;\n }\n\n if (this.timeZone) {\n params.timeZone = this.timeZone;\n }\n\n if (this.viewpoint) {\n params.viewpoint = this.viewpoint;\n }\n\n if (this.zoom !== undefined) {\n params.zoom = this.zoom;\n }\n\n return params;\n }\n\n private async _loadMap(): Promise<void> {\n this.map ||= await this._createMap();\n\n const params = this._createViewParams();\n\n const view = await newViewsMapView({\n ...params\n });\n\n this.view = view;\n\n return void view.when(async () => {\n // proxy view functions\n this.toMap = view.toMap.bind(view);\n this.toScreen = view.toScreen.bind(view);\n await this._addWatchers();\n });\n }\n\n private _proxyEvents(): void {\n addHandles(this, [\n this.view.on(\"click\", (event) => {\n this.arcgisViewClick.emit(event);\n }),\n this.view.on(\"double-click\", (event) => {\n this.arcgisViewDoubleClick.emit(event);\n }),\n this.view.on(\"drag\", (event) => {\n this.arcgisViewDrag.emit(event);\n }),\n this.view.on(\"hold\", (event) => {\n this.arcgisViewHold.emit(event);\n }),\n this.view.on(\"immediate-click\", (event) => {\n this.arcgisViewImmediateClick.emit(event);\n }),\n this.view.on(\"immediate-double-click\", (event) => {\n this.arcgisViewImmediateDoubleClick.emit(event);\n }),\n this.view.on(\"key-down\", (event) => {\n this.arcgisViewKeyDown.emit(event);\n }),\n this.view.on(\"key-up\", (event) => {\n this.arcgisViewKeyUp.emit(event);\n }),\n this.view.on(\"layerview-create\", (event) => {\n this.arcgisViewLayerviewCreate.emit(event);\n }),\n this.view.on(\"layerview-create-error\", (event) => {\n this.arcgisViewLayerviewCreateError.emit(event);\n }),\n this.view.on(\"layerview-destroy\", (event) => {\n this.arcgisViewLayerviewDestroy.emit(event);\n }),\n this.view.on(\"mouse-wheel\", (event) => {\n this.arcgisViewMouseWheel.emit(event);\n }),\n this.view.on(\"pointer-down\", (event) => {\n this.arcgisViewPointerDown.emit(event);\n }),\n this.view.on(\"pointer-enter\", (event) => {\n this.arcgisViewPointerEnter.emit(event);\n }),\n this.view.on(\"pointer-leave\", (event) => {\n this.arcgisViewPointerLeave.emit(event);\n }),\n this.view.on(\"pointer-move\", (event) => {\n this.arcgisViewPointerMove.emit(event);\n }),\n this.view.on(\"pointer-up\", (event) => {\n this.arcgisViewPointerUp.emit(event);\n })\n ]);\n }\n\n private async _updateMap(): Promise<void> {\n if (this.view?.map) {\n this.view.map.destroy();\n const map = await this._createMap();\n this.view.map = map;\n }\n }\n}\n"],"version":3}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
6
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
7
7
|
const disconnected = require('./disconnected-4490368b.js');
|
|
8
8
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-6fbac24a.js');
|
|
6
|
+
const index$1 = require('./index-bb40f950.js');
|
|
7
7
|
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
8
|
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|