@arcgis/core 5.0.0-next.69 → 5.0.0-next.70
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/Map.d.ts +3 -1
- package/analysis/Analysis.d.ts +1 -0
- package/analysis/Dimension/types.d.ts +1 -0
- package/analysis/DimensionAnalysis.d.ts +10 -10
- package/analysis/DimensionSimpleStyle.d.ts +14 -13
- package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
- package/analysis/DistanceMeasurementAnalysis.d.ts +2 -1
- package/analysis/ElevationProfile/ElevationProfileLineScene.d.ts +3 -3
- package/analysis/ElevationProfile/ElevationProfileLineViewOptions.d.ts +1 -1
- package/analysis/ElevationProfile/types.d.ts +2 -0
- package/analysis/LengthDimension.d.ts +22 -21
- package/analysis/LineOfSightAnalysis.d.ts +2 -2
- package/analysis/ShadowCast/MinDurationOptions.d.ts +2 -2
- package/analysis/ShadowCast/types.d.ts +6 -2
- package/analysis/Slice/types.d.ts +1 -0
- package/analysis/Viewshed.d.ts +22 -20
- package/analysis/ViewshedAnalysis.d.ts +13 -13
- package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.d.ts +1 -2
- package/analysis/VolumeMeasurement/VolumeMeasurementInputUnits.d.ts +2 -2
- package/analysis/VolumeMeasurement/types.d.ts +1 -0
- package/analysis/VolumeMeasurementAnalysis.d.ts +1 -0
- package/analysis/types.d.ts +5 -0
- package/arcade.d.ts +2 -2
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/04364f3dd7578c2acb71.js +1 -0
- package/assets/esri/core/workers/chunks/18ed69d563986dc2eb21.js +1 -0
- package/assets/esri/core/workers/chunks/{4c04c54330b693892cfc.js → 1a45b4b4803337f4b99f.js} +2 -2
- package/assets/esri/core/workers/chunks/{60c7f896f2246a8aa6d7.js → 244006d4b0547d574401.js} +53 -53
- package/assets/esri/core/workers/chunks/329b10897c6965948b84.js +1 -0
- package/assets/esri/core/workers/chunks/4387aaf9d5e8f6d1833d.js +1 -0
- package/assets/esri/core/workers/chunks/{944dfa9309da8f49a616.js → 6a3d66d7c92f90cc2a17.js} +1 -1
- package/assets/esri/core/workers/chunks/760a759f9697adde6dd4.js +1 -0
- package/assets/esri/core/workers/chunks/798d227205bd958de6a7.js +1 -0
- package/assets/esri/core/workers/chunks/{9d88b4ba8e511da64583.js → 98d68b145226e7527c84.js} +1 -1
- package/assets/esri/core/workers/chunks/{8ad6595ad44c2d60c1ce.js → a79fad422d41019c8232.js} +1 -1
- package/assets/esri/core/workers/chunks/{10e474d664b20adcd917.js → db4661fd82dc61162115.js} +1 -1
- package/assets/esri/core/workers/chunks/{1d1e25bb61eeeee8ee94.js → df2ba5f9d57080fca183.js} +1 -1
- package/assets/esri/themes/base/widgets/_UtilityNetworkAssociations.scss +5 -3
- package/assets/esri/themes/base/widgets/_UtilityNetworkValidateTopology.scss +15 -11
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/ComponentShader.glsl.js +43 -43
- package/chunks/DefaultMaterial.glsl.js +1 -1
- package/config.js +1 -1
- package/form/elements/inputs/attachments/Input.d.ts +6 -6
- package/geometry/Mesh.d.ts +20 -21
- package/geometry/Polygon.d.ts +1 -8
- package/geometry/Polygon.js +1 -1
- package/geometry/geometryEngine.d.ts +19 -19
- package/geometry/support/MeshComponent.d.ts +3 -3
- package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +2 -2
- package/geometry/support/MeshLocalVertexSpace.d.ts +2 -2
- package/geometry/support/MeshMaterial.d.ts +8 -8
- package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
- package/geometry/support/MeshTexture.d.ts +3 -3
- package/geometry/support/MeshTextureTransform.d.ts +3 -3
- package/geometry/support/MeshTransform.d.ts +1 -1
- package/geometry/support/MeshVertexAttributes.d.ts +13 -5
- package/geometry/support/intersects.js +1 -1
- package/geometry/support/intersectsBase.js +1 -1
- package/geometry/support/meshUtils/centerAt.js +1 -1
- package/geometry/support/meshUtils/geographicUtils.js +1 -1
- package/geometry/support/meshUtils/georeference.js +1 -1
- package/geometry/support/meshUtils/rotate.js +1 -1
- package/geometry/support/meshUtils/scale.js +1 -1
- package/geometry/support/meshUtils/types.d.ts +44 -52
- package/geometry/support/meshUtils.d.ts +6 -50
- package/geometry/support/meshUtils.js +1 -1
- package/interfaces.d.ts +5 -151
- package/kernel.js +1 -1
- package/layers/BaseDynamicLayer.d.ts +2 -2
- package/layers/BaseElevationLayer.d.ts +2 -2
- package/layers/BuildingSceneLayer.d.ts +2 -2
- package/layers/CSVLayer.d.ts +2 -2
- package/layers/CatalogLayer.d.ts +2 -2
- package/layers/DimensionLayer.d.ts +2 -2
- package/layers/ElevationLayer.d.ts +2 -2
- package/layers/FeatureLayer.d.ts +2 -2
- package/layers/GeoJSONLayer.d.ts +2 -2
- package/layers/GeoRSSLayer.d.ts +2 -2
- package/layers/GraphicsLayer.d.ts +2 -2
- package/layers/GroupLayer.d.ts +2 -2
- package/layers/ImageryLayer.d.ts +2 -2
- package/layers/ImageryTileLayer.d.ts +2 -2
- package/layers/IntegratedMesh3DTilesLayer.d.ts +2 -2
- package/layers/IntegratedMeshLayer.d.ts +2 -2
- package/layers/KMLLayer.d.ts +2 -2
- package/layers/Layer.d.ts +9 -7
- package/layers/LineOfSightLayer.d.ts +3 -3
- package/layers/MapImageLayer.d.ts +2 -2
- package/layers/MapNotesLayer.d.ts +2 -2
- package/layers/MediaLayer.d.ts +2 -2
- package/layers/OGCFeatureLayer.d.ts +2 -2
- package/layers/OrientedImageryLayer.d.ts +2 -2
- package/layers/ParquetLayer.d.ts +2 -2
- package/layers/PointCloudLayer.d.ts +2 -2
- package/layers/RouteLayer.d.ts +2 -2
- package/layers/SceneLayer.d.ts +2 -2
- package/layers/SubtypeGroupLayer.d.ts +2 -2
- package/layers/TileLayer.d.ts +2 -2
- package/layers/UnknownLayer.d.ts +2 -2
- package/layers/UnsupportedLayer.d.ts +2 -2
- package/layers/VectorTileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +2 -2
- package/layers/ViewshedLayer.d.ts +2 -2
- package/layers/VoxelLayer.d.ts +2 -2
- package/layers/WCSLayer.d.ts +2 -2
- package/layers/WFSLayer.d.ts +2 -2
- package/layers/WMSLayer.d.ts +2 -2
- package/layers/WMTSLayer.d.ts +2 -2
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +2 -2
- package/layers/catalog/CatalogFootprintLayer.d.ts +2 -2
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
- package/layers/orientedImagery/core/ExposurePoint.js +1 -1
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/orientedImagery/transformations/utils.js +1 -1
- package/layers/raster/types.d.ts +8 -1
- package/layers/support/PixelBlock.d.ts +7 -7
- package/layers/support/RasterInfo.d.ts +2 -9
- package/layers/types.d.ts +77 -2
- package/networks/support/CircuitSection.d.ts +20 -2
- package/networks/support/CircuitSection.js +1 -1
- package/networks/support/Subcircuit.d.ts +12 -10
- package/networks/support/Subcircuit.js +1 -1
- package/networks/support/typeUtils.d.ts +2 -0
- package/networks/support/typeUtils.js +1 -1
- package/package.json +2 -2
- package/rest/support/AttributeBinsQuery.d.ts +7 -1
- package/rest/support/NormalizationBinParametersMixin.d.ts +29 -9
- package/support/revision.js +1 -1
- package/symbols/patterns/LinePattern3D.d.ts +3 -3
- package/symbols/patterns/Pattern3D.d.ts +3 -3
- package/unionTypes.d.ts +17 -17
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +6 -5
- package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +7 -6
- package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/types.d.ts +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +2 -2
- package/views/3d/analysis/DirectLineMeasurement/types.d.ts +1 -0
- package/views/3d/analysis/ElevationProfile/ElevationProfileLineSceneComputation.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/types.d.ts +1 -0
- package/views/3d/analysis/types.d.ts +2 -0
- package/views/3d/constraints/Constraints.d.ts +2 -2
- package/views/3d/environment/ChapmanApproximation.glsl.js +1 -1
- package/views/3d/environment/CloudsComposition.js +1 -1
- package/views/3d/environment/Fog.js +1 -1
- package/views/3d/layers/DimensionLayerView3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/LineOfSightLayerView3D.js +1 -1
- package/views/3d/layers/ViewshedLayerView3D.js +1 -1
- package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
- package/views/3d/support/LayerPerformanceInfo.d.ts +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentShader.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
- package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +7 -7
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ViewingModeConfiguration.js +5 -0
- package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +2 -2
- package/views/BreakpointsOwner.d.ts +9 -10
- package/views/MapView.d.ts +18 -17
- package/views/SceneView.d.ts +30 -89
- package/views/SceneView.js +1 -1
- package/views/View2D.d.ts +0 -37
- package/views/View2D.js +1 -1
- package/views/ViewAnimation.d.ts +2 -3
- package/views/analysis/ElevationProfile/types.d.ts +7 -6
- package/views/analysis/types.d.ts +1 -0
- package/views/animation/types.d.ts +3 -1
- package/views/layers/DimensionLayerView.d.ts +97 -4
- package/views/layers/DimensionLayerView.js +1 -1
- package/views/layers/HighlightLayerViewMixin.d.ts +1 -59
- package/views/layers/HighlightLayerViewMixin.js +1 -1
- package/views/layers/ImageryLayerViewMixin.d.ts +1 -55
- package/views/layers/LineOfSightLayerView.d.ts +77 -4
- package/views/layers/LineOfSightLayerView.js +1 -1
- package/views/layers/ViewshedLayerView.d.ts +96 -5
- package/views/layers/ViewshedLayerView.js +1 -1
- package/views/navigation/Navigation.d.ts +1 -22
- package/views/navigation/Navigation.js +1 -1
- package/views/support/Scheduler.js +1 -1
- package/views/types.d.ts +75 -5
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +4 -4
- package/widgets/AreaMeasurement3D.d.ts +2 -2
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapToggle.d.ts +1 -1
- package/widgets/Bookmarks.d.ts +1 -1
- package/widgets/BuildingExplorer/BuildingExplorerViewModel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingLevel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingPhase.d.ts +2 -2
- package/widgets/BuildingExplorer.d.ts +3 -3
- package/widgets/Compass.d.ts +1 -1
- package/widgets/CoordinateConversion.d.ts +1 -1
- package/widgets/Daylight/DaylightViewModel.d.ts +3 -3
- package/widgets/Daylight/VisibleElements.d.ts +2 -2
- package/widgets/Daylight/types.d.ts +2 -2
- package/widgets/Daylight.d.ts +3 -3
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +4 -4
- package/widgets/DirectLineMeasurement3D.d.ts +2 -2
- package/widgets/DirectionalPad.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLine.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineQuery.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +3 -3
- package/widgets/ElevationProfile/ElevationProfileViewModel.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +2 -2
- package/widgets/ElevationProfile/types.d.ts +9 -9
- package/widgets/ElevationProfile.d.ts +2 -2
- package/widgets/Expand/ExpandViewModel.d.ts +1 -1
- package/widgets/Expand.d.ts +1 -1
- package/widgets/Feature.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +1 -1
- package/widgets/Features.d.ts +1 -1
- package/widgets/Fullscreen/FullscreenViewModel.d.ts +1 -1
- package/widgets/Fullscreen.d.ts +1 -1
- package/widgets/Home.d.ts +1 -1
- package/widgets/LayerList.d.ts +12 -0
- package/widgets/Legend.d.ts +1 -1
- package/widgets/LineOfSight/LineOfSightTarget.d.ts +2 -2
- package/widgets/LineOfSight/LineOfSightViewModel.d.ts +2 -2
- package/widgets/LineOfSight.d.ts +2 -2
- package/widgets/Locate/LocateViewModel.d.ts +1 -1
- package/widgets/Locate.d.ts +1 -1
- package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
- package/widgets/NavigationToggle.d.ts +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/Arrow.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewer.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationNode.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUI360.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUIPanoramicViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUIViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/SequentialNavigationUI.js +1 -1
- package/widgets/OrientedImageryViewer/constants.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/NavigationManager.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/NavigationManagerPanoramic.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/utils.js +1 -1
- package/widgets/OrientedImageryViewer/support/MediaPrefetcher.js +5 -0
- package/widgets/OrientedImageryViewer/support/NonPanoramicMedia.js +1 -1
- package/widgets/OrientedImageryViewer/support/NonPanoramicMediaCollection.js +1 -1
- package/widgets/OrientedImageryViewer/support/resolveMediaProps.js +5 -0
- package/widgets/OrientedImageryViewer/utils.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
- package/widgets/PanoramicViewer.js +1 -1
- package/widgets/Print/CustomTemplate.d.ts +1 -1
- package/widgets/Print/PrintViewModel.d.ts +1 -1
- package/widgets/Print.d.ts +1 -1
- package/widgets/ScaleBar.d.ts +1 -1
- package/widgets/Search.d.ts +1 -1
- package/widgets/ShadowCast/DiscreteOptions.d.ts +2 -2
- package/widgets/ShadowCast/DurationOptions.d.ts +2 -2
- package/widgets/ShadowCast/ShadowCastViewModel.d.ts +3 -3
- package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +2 -2
- package/widgets/ShadowCast/ThresholdOptions.d.ts +2 -2
- package/widgets/ShadowCast/types.d.ts +2 -2
- package/widgets/ShadowCast.d.ts +1 -1
- package/widgets/Slice/SliceViewModel.d.ts +2 -2
- package/widgets/Slice.d.ts +2 -2
- package/widgets/Swipe.d.ts +1 -1
- package/widgets/TimeZoneLabel.d.ts +1 -1
- package/widgets/Track.d.ts +1 -1
- package/widgets/UtilityNetworkValidateTopology.js +1 -1
- package/widgets/VideoPlayer.d.ts +1 -1
- package/widgets/VideoPlayer.js +1 -1
- package/widgets/Weather/VisibleElements.d.ts +2 -2
- package/widgets/Weather/WeatherViewModel.d.ts +2 -2
- package/widgets/Weather/types.d.ts +1 -1
- package/widgets/Weather.d.ts +2 -2
- package/widgets/Zoom.d.ts +1 -1
- package/widgets/support/GridControls.d.ts +1 -1
- package/assets/esri/core/workers/chunks/35961e71f69ae1d24b9e.js +0 -1
- package/assets/esri/core/workers/chunks/3cce8e894bf37c3e598e.js +0 -1
- package/assets/esri/core/workers/chunks/7ee68f67f9cc48a328f0.js +0 -1
- package/assets/esri/core/workers/chunks/a931515a2569713e743b.js +0 -1
- package/assets/esri/core/workers/chunks/bb4574a87ca21e719f0d.js +0 -1
- package/assets/esri/core/workers/chunks/c9f868f85d740ee32715.js +0 -1
- package/geometry.d.ts +0 -136
- package/geometry.js +0 -5
- package/pointCloudRenderers.d.ts +0 -112
- package/pointCloudRenderers.js +0 -5
- package/rasterRenderers.d.ts +0 -151
- package/rasterRenderers.js +0 -5
- package/renderers.d.ts +0 -166
- package/renderers.js +0 -5
- package/views/layers/DimensionLayerViewMixin.d.ts +0 -1
- package/views/layers/DimensionLayerViewMixin.js +0 -5
- package/views/layers/LineOfSightLayerViewMixin.d.ts +0 -1
- package/views/layers/LineOfSightLayerViewMixin.js +0 -5
- package/views/layers/ViewshedLayerViewMixin.d.ts +0 -98
- package/views/layers/ViewshedLayerViewMixin.js +0 -5
|
@@ -10,31 +10,23 @@ export interface VertexSpaceParameters {
|
|
|
10
10
|
unit?: LengthUnit;
|
|
11
11
|
/**
|
|
12
12
|
* Specifies the vertex space of the created mesh. If not specified, a vertex space is
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
13
|
+
* chosen according to the spatial reference where a [MeshLocalVertexSpace](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshLocalVertexSpace.html) is used for geographic
|
|
14
|
+
* or WebMercator spatial references and [MeshGeoreferencedVertexSpace](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshGeoreferencedVertexSpace.html) is used otherwise.
|
|
15
|
+
* If vertexSpace is "georeferenced", then the vertex space will also be [MeshGeoreferencedVertexSpace](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshGeoreferencedVertexSpace.html)
|
|
16
|
+
* where mesh vertices are georeferenced offsets to the location provided with the create function. If the vertexSpace
|
|
17
|
+
* is "georeferenced" and the spatial reference is geographic, then vertex data will be first created in a "local"
|
|
18
|
+
* vertex space and then converted to the "georeferenced" vertex space. In case of vertex space being "local", mesh
|
|
19
|
+
* vertices will be defined in a local Cartesian coordinate frame placed at the location provided with the create
|
|
20
|
+
* function. This will be represented by [MeshLocalVertexSpace](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshLocalVertexSpace.html)
|
|
19
21
|
*/
|
|
20
22
|
vertexSpace?: "local" | "georeferenced";
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
export interface GeographicParameters {
|
|
24
|
-
/**
|
|
25
|
-
* Whether to georeference relative to the globe or the
|
|
26
|
-
* projected coordinate system (PCS). This parameter is only relevant for spatial references that can
|
|
27
|
-
* be used in both local and global viewing modes (currently only WebMercator), and otherwise ignored.
|
|
28
|
-
* The default value is true. When true, the transformation is applied in a Cartesian system with respect to the local
|
|
29
|
-
* coordinate system on the globe.
|
|
30
|
-
*
|
|
31
|
-
* @deprecated Since version 4.30. Use mesh `vertexSpace` and spatial reference to control how operations are performed instead.
|
|
32
|
-
*/
|
|
33
|
-
geographic?: boolean;
|
|
34
26
|
/**
|
|
35
27
|
* Indicates the unit of the source data. A linear scale will be applied to the position attributes
|
|
36
|
-
*
|
|
37
|
-
*
|
|
28
|
+
* to convert the source data to the unit of the spatial reference at which the mesh is being georeferenced. By
|
|
29
|
+
* default the unit of the source data is assumed to be the same as the target spatial reference.
|
|
38
30
|
*/
|
|
39
31
|
unit?: LengthUnit;
|
|
40
32
|
}
|
|
@@ -46,9 +38,9 @@ export interface MaterialParameters {
|
|
|
46
38
|
|
|
47
39
|
export interface CreateParameters extends VertexSpaceParameters, MaterialParameters {
|
|
48
40
|
/**
|
|
49
|
-
* A uniform size value or an object containing individual
|
|
50
|
-
*
|
|
51
|
-
*
|
|
41
|
+
* A uniform size value or an object containing individual values width, height and depth. The unit of the size values
|
|
42
|
+
* is derived from the spatial reference of the provided location, unless a specific unit is specified. The default
|
|
43
|
+
* unit for a GCS is always meters.
|
|
52
44
|
*/
|
|
53
45
|
size?: number | Size;
|
|
54
46
|
}
|
|
@@ -56,12 +48,12 @@ export interface CreateParameters extends VertexSpaceParameters, MaterialParamet
|
|
|
56
48
|
/** Parameters used to configure box mesh creation. */
|
|
57
49
|
export interface CreateBoxParameters extends CreateParameters {
|
|
58
50
|
/**
|
|
59
|
-
* The face for generating image
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
51
|
+
* The face for generating image UV coordinates. By default, a single set of unwrapped UV coordinates are generated
|
|
52
|
+
* for all the faces. By setting the `imageFace` parameter to one of `east`, `west`, `north`, `south`, `up` or `down`,
|
|
53
|
+
* the specified face will have full-sized UV coordinates while the other faces will retain their regular unwrapped UV
|
|
54
|
+
* coordinates. This is useful for applying an image only to a single face of the box. The provided `material`
|
|
55
|
+
* parameter will be applied to the specified `imageFace`. The resulting mesh will have two components, the first
|
|
56
|
+
* contains the selected image face and the second contains the other faces of the box.
|
|
65
57
|
*/
|
|
66
58
|
imageFace?: Facing | "all";
|
|
67
59
|
}
|
|
@@ -69,11 +61,10 @@ export interface CreateBoxParameters extends CreateParameters {
|
|
|
69
61
|
/** Parameters used to configure sphere mesh creation. */
|
|
70
62
|
export interface CreateSphereParameters extends CreateParameters {
|
|
71
63
|
/**
|
|
72
|
-
* The additional number of subdivisions for generating
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* processing and rendering performance).
|
|
64
|
+
* The additional number of subdivisions for generating the mesh representing a sphere. A densificationFactor
|
|
65
|
+
* parameter of 0 will generate a default of 16-by-16 vertices to approximate the sphere. A densificationFactor of 1
|
|
66
|
+
* will generate 32-by-32 vertices, etc. The larger the densificationFactor, the better the mesh will approximate a
|
|
67
|
+
* perfect sphere (at the cost of processing and rendering performance).
|
|
77
68
|
*/
|
|
78
69
|
densificationFactor?: number;
|
|
79
70
|
}
|
|
@@ -81,11 +72,10 @@ export interface CreateSphereParameters extends CreateParameters {
|
|
|
81
72
|
/** Parameters used to configure cylinder mesh creation. */
|
|
82
73
|
export interface CreateCylinderParameters extends CreateParameters {
|
|
83
74
|
/**
|
|
84
|
-
* The additional number of subdivisions for generating
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
* processing and rendering performance).
|
|
75
|
+
* The additional number of subdivisions for generating the mesh representing a cylinder. A densificationFactor
|
|
76
|
+
* parameter of 0 will generate a default of 16-by-16 vertices to approximate the cylinder. A densificationFactor of 1
|
|
77
|
+
* will generate 32-by-32 vertices, etc. The larger the densificationFactor, the better the mesh will approximate a
|
|
78
|
+
* cylinder (at the cost of processing and rendering performance).
|
|
89
79
|
*/
|
|
90
80
|
densificationFactor?: number;
|
|
91
81
|
}
|
|
@@ -99,20 +89,20 @@ export interface CreatePlaneParameters extends VertexSpaceParameters, MaterialPa
|
|
|
99
89
|
*/
|
|
100
90
|
facing?: Facing;
|
|
101
91
|
/**
|
|
102
|
-
* A uniform size value or an object containing individual
|
|
103
|
-
*
|
|
104
|
-
*
|
|
92
|
+
* A uniform size value or an object containing individual values width and height. The unit of the size values is
|
|
93
|
+
* derived from the spatial reference of the provided location, unless a specific unit is specified. The default unit
|
|
94
|
+
* for a GCS is always meters.
|
|
105
95
|
*/
|
|
106
96
|
size?: number | Size2D;
|
|
107
97
|
}
|
|
108
98
|
|
|
109
|
-
/** Parameters used to configure
|
|
99
|
+
/** Parameters used to configure glTF mesh creation. */
|
|
110
100
|
export interface CreateFromGLTFParameters extends VertexSpaceParameters, AbortOptions {}
|
|
111
101
|
|
|
112
102
|
export interface RotateParameters extends GeographicParameters {
|
|
113
103
|
/**
|
|
114
|
-
* The origin around which to rotate. If not specified,
|
|
115
|
-
*
|
|
104
|
+
* The origin around which to rotate. If not specified, the mesh will be rotated around the
|
|
105
|
+
* [Mesh.origin](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Mesh.html#origin).
|
|
116
106
|
*/
|
|
117
107
|
origin?: Point;
|
|
118
108
|
}
|
|
@@ -120,24 +110,20 @@ export interface RotateParameters extends GeographicParameters {
|
|
|
120
110
|
export interface ScaleParameters extends GeographicParameters {
|
|
121
111
|
/**
|
|
122
112
|
* The origin point for scaling. If not specified, the mesh will
|
|
123
|
-
* be scaled around the
|
|
113
|
+
* be scaled around the [Mesh.origin](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Mesh.html#origin).
|
|
124
114
|
*/
|
|
125
115
|
origin?: Point;
|
|
126
116
|
}
|
|
127
117
|
|
|
128
118
|
export interface CenterAtParameters extends GeographicParameters {
|
|
129
|
-
/**
|
|
130
|
-
* The origin at which to center. If not specified,
|
|
131
|
-
* the mesh will be centered at the mesh extent center.
|
|
132
|
-
*/
|
|
119
|
+
/** The origin at which to center. If not specified, the mesh will be centered at the mesh extent center. */
|
|
133
120
|
origin?: Point;
|
|
134
121
|
}
|
|
135
122
|
|
|
136
123
|
export interface CreateFromElevationParameters extends AbortOptions {
|
|
137
124
|
/**
|
|
138
|
-
* Controls the horizontal resolution (cell size)
|
|
139
|
-
*
|
|
140
|
-
* for more details on the different settings.
|
|
125
|
+
* Controls the horizontal resolution (cell size) in meters from which elevation data is sampled (defaults to `auto`).
|
|
126
|
+
* See [ElevationLayer#queryElevation()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ElevationLayer.html#queryElevation) for more details on the different settings.
|
|
141
127
|
*
|
|
142
128
|
* @default "auto"
|
|
143
129
|
*/
|
|
@@ -175,9 +161,15 @@ export type Facing = "east" | "west" | "north" | "south" | "up" | "down";
|
|
|
175
161
|
|
|
176
162
|
export interface ExportGLTFOptions extends AbortOptions {
|
|
177
163
|
/**
|
|
164
|
+
* <<<<<<< HEAD
|
|
178
165
|
* The origin of the exported model,
|
|
179
|
-
* defaults to
|
|
166
|
+
* defaults to [Mesh.origin](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Mesh.html#origin). This location will correspond to the (0, 0, 0) coordinate
|
|
180
167
|
* in the binary glTF model.
|
|
168
|
+
* =======
|
|
169
|
+
* The origin of the exported model, defaults to
|
|
170
|
+
* {@link geometry/support/meshUtils/exporters/gltf/interfaces#origin Mesh.origin}. This location will correspond to
|
|
171
|
+
* the (0, 0, 0) coordinate in the binary glTF model.
|
|
172
|
+
* >>>>>>> f0925661fe2 (docs(esri/geometry): small fixes for Mesh API documentation)
|
|
181
173
|
*/
|
|
182
174
|
origin: Point;
|
|
183
175
|
}
|
|
@@ -6,12 +6,11 @@
|
|
|
6
6
|
import type Ground from "../../Ground.js";
|
|
7
7
|
import type Extent from "../Extent.js";
|
|
8
8
|
import type Mesh from "../Mesh.js";
|
|
9
|
-
import type Point from "../Point.js";
|
|
10
9
|
import type ElevationLayer from "../../layers/ElevationLayer.js";
|
|
11
10
|
import type ElevationSampler from "../../layers/support/ElevationSampler.js";
|
|
12
11
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
13
12
|
import type { MeshVertexSpaceUnion } from "../types.js";
|
|
14
|
-
import type {
|
|
13
|
+
import type { CreateElevationSamplerParameters, CreateFromElevationParameters } from "./meshUtils/types.js";
|
|
15
14
|
|
|
16
15
|
/**
|
|
17
16
|
* Creates a mesh geometry by sampling elevation data from an elevation service on a regular grid.
|
|
@@ -48,49 +47,6 @@ export function createFromElevation(source: ElevationLayer | Ground | ElevationS
|
|
|
48
47
|
*/
|
|
49
48
|
export function createElevationSampler(mesh: Mesh, options?: CreateElevationSamplerParameters): Promise<ElevationSampler>;
|
|
50
49
|
|
|
51
|
-
/**
|
|
52
|
-
* Georeferences vertices specified in a Cartesian coordinate system. This is useful
|
|
53
|
-
* when converting general 3D model meshes not typically georeferenced. This method
|
|
54
|
-
* operates on mesh vertex attributes and will convert positions and normals (if specified)
|
|
55
|
-
* from a local (0, 0, 0) Cartesian system to the properly georeferenced coordinates at the
|
|
56
|
-
* specified `location`. The unit of the source data defaults to the unit of the `location`'s spatial reference.
|
|
57
|
-
* If the coordinate system is WGS84, metric units are used as the default. The unit of the source data may be
|
|
58
|
-
* specified in the additional `options` in which case a linear unit scale will automatically be applied to bring
|
|
59
|
-
* the source data in the unit of the spatial reference.
|
|
60
|
-
*
|
|
61
|
-
* @deprecated since version 4.30. Use [convertVertexSpace()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-meshUtils.html#convertVertexSpace) instead.
|
|
62
|
-
* @param vertexAttributes - The position and normal buffers to georeference.
|
|
63
|
-
* @param location - The location at which to georeference the position and normal buffers.
|
|
64
|
-
* @param options - Additional options.
|
|
65
|
-
* @returns The georeferenced position and normal buffers.
|
|
66
|
-
* @example
|
|
67
|
-
* const geoVertexAttributes = meshUtils.georeference(vertexAttributes, location);
|
|
68
|
-
* const mesh = new Mesh({
|
|
69
|
-
* vertexAttributes: geoVertexAttributes,
|
|
70
|
-
* spatialReference: location.spatialReference
|
|
71
|
-
* });
|
|
72
|
-
*/
|
|
73
|
-
export function georeference(vertexAttributes: VertexAttributes, location: Point, options?: GeographicParameters): VertexAttributes | null | undefined;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Projects georeferenced vertices to a Cartesian coordinate system.
|
|
77
|
-
* This is useful for converting existing scene geometry so that it can be used
|
|
78
|
-
* as source material for generating new 3D meshes. This method
|
|
79
|
-
* operates on mesh vertex attributes and will convert positions and normals (if specified)
|
|
80
|
-
* from georeferenced coordinates at the specified `location` to a local (0, 0, 0) Cartesian system.
|
|
81
|
-
* The unit of the resulting data defaults to the unit of the `location`'s spatial reference.
|
|
82
|
-
* If the coordinate system is WGS84, metric units are used as the default. The unit of the resulting data may be
|
|
83
|
-
* specified in the additional `options` in which case a linear unit scale will automatically be applied.
|
|
84
|
-
*
|
|
85
|
-
* @deprecated since version 4.30. Use [convertVertexSpace()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-meshUtils.html#convertVertexSpace) instead.
|
|
86
|
-
* @param vertexAttributes - The georeferenced position and normal buffers.
|
|
87
|
-
* @param location - The location to which the position and normal buffers are georeferenced.
|
|
88
|
-
* @param options - Additional options.
|
|
89
|
-
* @returns The position and normal buffers in a local Cartesian coordinate system.
|
|
90
|
-
* @example const vertexAttributes = meshUtils.ungeoreference(geoVertexAttributes, location);
|
|
91
|
-
*/
|
|
92
|
-
export function ungeoreference(vertexAttributes: VertexAttributes, location: Point, options?: GeographicParameters): VertexAttributes | null | undefined;
|
|
93
|
-
|
|
94
50
|
/**
|
|
95
51
|
* Merges multiple meshes into a single mesh. All mesh geometries
|
|
96
52
|
* must be in the same spatial reference.
|
|
@@ -112,7 +68,7 @@ export function merge(geometries: Mesh[]): Mesh | null | undefined;
|
|
|
112
68
|
* @since 4.30
|
|
113
69
|
* @example
|
|
114
70
|
* // convert cartesian model data to a mesh with absolute coordinates in WebMercator
|
|
115
|
-
* const converted = convertVertexSpace(
|
|
71
|
+
* const converted = await convertVertexSpace(
|
|
116
72
|
* new Mesh({
|
|
117
73
|
* vertexSpace: new MeshLocalVertexSpace({ origin: location }),
|
|
118
74
|
* vertexAttributes,
|
|
@@ -134,10 +90,10 @@ export function merge(geometries: Mesh[]): Mesh | null | undefined;
|
|
|
134
90
|
* const highestPoint = new Point({ x: 0, y: 0, z: 0, spatialReference: converted.spatialReference });
|
|
135
91
|
*
|
|
136
92
|
* for (let i = 0; i < position.length; i += 3) {
|
|
137
|
-
* if (position[2] > highestPoint.z) {
|
|
138
|
-
* highestPoint.x = position[
|
|
139
|
-
* highestPoint.y = position[1];
|
|
140
|
-
* highestPoint.z = position[2];
|
|
93
|
+
* if (position[i + 2] > highestPoint.z) {
|
|
94
|
+
* highestPoint.x = position[i];
|
|
95
|
+
* highestPoint.y = position[i + 1];
|
|
96
|
+
* highestPoint.z = position[i + 2];
|
|
141
97
|
* }
|
|
142
98
|
* }
|
|
143
99
|
*
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{
|
|
5
|
+
import{throwIfAborted as e}from"../../core/promiseUtils.js";import t from"../Mesh.js";import{merge as r}from"./meshUtils/merge.js";async function s(t,r,s){const n=await import("./meshUtils/elevation.js");return e(s),n.create(t,r,s)}async function n(e,t){await e.load();const{create:r}=await import("./meshUtils/elevationSampler.js");return r(e,t)}function o(e){const s=r(e);return null!=s?new t(s):null}async function i(t,r,s){const{convertMeshVertexSpace:n}=await import("./meshUtils/convertMeshVertexSpace.js");return e(s),n(t,r,s)}export{i as convertVertexSpace,n as createElevationSampler,s as createFromElevation,o as merge};
|
package/interfaces.d.ts
CHANGED
|
@@ -163,42 +163,6 @@ declare namespace __esri {
|
|
|
163
163
|
|
|
164
164
|
export type configLog = import("./config.js").LogConfig;
|
|
165
165
|
|
|
166
|
-
export type geometrySpatialReference = import("./geometry.js").SpatialReference;
|
|
167
|
-
|
|
168
|
-
export type geometryGeometry = import("./geometry.js").Geometry;
|
|
169
|
-
|
|
170
|
-
export type geometryExtent = import("./geometry.js").Extent;
|
|
171
|
-
|
|
172
|
-
export type geometryMultipoint = import("./geometry.js").Multipoint;
|
|
173
|
-
|
|
174
|
-
export type geometryPoint = import("./geometry.js").Point;
|
|
175
|
-
|
|
176
|
-
export type geometryPolygon = import("./geometry.js").Polygon;
|
|
177
|
-
|
|
178
|
-
export type geometryPolyline = import("./geometry.js").Polyline;
|
|
179
|
-
|
|
180
|
-
namespace geometry {
|
|
181
|
-
export const SpatialReference: import("./geometry.js").SpatialReference;
|
|
182
|
-
export type SpatialReference = import("./geometry.js").SpatialReference;
|
|
183
|
-
|
|
184
|
-
export type Geometry = import("./geometry.js").Geometry;
|
|
185
|
-
|
|
186
|
-
export const Extent: import("./geometry.js").Extent;
|
|
187
|
-
export type Extent = import("./geometry.js").Extent;
|
|
188
|
-
|
|
189
|
-
export const Multipoint: import("./geometry.js").Multipoint;
|
|
190
|
-
export type Multipoint = import("./geometry.js").Multipoint;
|
|
191
|
-
|
|
192
|
-
export const Point: import("./geometry.js").Point;
|
|
193
|
-
export type Point = import("./geometry.js").Point;
|
|
194
|
-
|
|
195
|
-
export const Polygon: import("./geometry.js").Polygon;
|
|
196
|
-
export type Polygon = import("./geometry.js").Polygon;
|
|
197
|
-
|
|
198
|
-
export const Polyline: import("./geometry.js").Polyline;
|
|
199
|
-
export type Polyline = import("./geometry.js").Polyline;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
166
|
interface intl {
|
|
203
167
|
convertDateFormatToIntlOptions: typeof import("./intl.js").convertDateFormatToIntlOptions;
|
|
204
168
|
convertDateTimeFieldFormatToIntlOptions: typeof import("./intl.js").convertDateTimeFieldFormatToIntlOptions;
|
|
@@ -230,114 +194,6 @@ declare namespace __esri {
|
|
|
230
194
|
|
|
231
195
|
export const kernel: kernel;
|
|
232
196
|
|
|
233
|
-
export type pointCloudRenderersPointCloudRenderer = import("./pointCloudRenderers.js").PointCloudRenderer;
|
|
234
|
-
|
|
235
|
-
export type pointCloudRenderersPointCloudClassBreaksRenderer = import("./pointCloudRenderers.js").PointCloudClassBreaksRenderer;
|
|
236
|
-
|
|
237
|
-
export type pointCloudRenderersPointCloudRGBRenderer = import("./pointCloudRenderers.js").PointCloudRGBRenderer;
|
|
238
|
-
|
|
239
|
-
export type pointCloudRenderersPointCloudStretchRenderer = import("./pointCloudRenderers.js").PointCloudStretchRenderer;
|
|
240
|
-
|
|
241
|
-
export type pointCloudRenderersPointCloudUniqueValueRenderer = import("./pointCloudRenderers.js").PointCloudUniqueValueRenderer;
|
|
242
|
-
|
|
243
|
-
namespace pointCloudRenderers {
|
|
244
|
-
export type PointCloudRenderer = import("./pointCloudRenderers.js").PointCloudRenderer;
|
|
245
|
-
|
|
246
|
-
export const PointCloudClassBreaksRenderer: import("./pointCloudRenderers.js").PointCloudClassBreaksRenderer;
|
|
247
|
-
export type PointCloudClassBreaksRenderer = import("./pointCloudRenderers.js").PointCloudClassBreaksRenderer;
|
|
248
|
-
|
|
249
|
-
export const PointCloudRGBRenderer: import("./pointCloudRenderers.js").PointCloudRGBRenderer;
|
|
250
|
-
export type PointCloudRGBRenderer = import("./pointCloudRenderers.js").PointCloudRGBRenderer;
|
|
251
|
-
|
|
252
|
-
export const PointCloudStretchRenderer: import("./pointCloudRenderers.js").PointCloudStretchRenderer;
|
|
253
|
-
export type PointCloudStretchRenderer = import("./pointCloudRenderers.js").PointCloudStretchRenderer;
|
|
254
|
-
|
|
255
|
-
export const PointCloudUniqueValueRenderer: import("./pointCloudRenderers.js").PointCloudUniqueValueRenderer;
|
|
256
|
-
export type PointCloudUniqueValueRenderer = import("./pointCloudRenderers.js").PointCloudUniqueValueRenderer;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
export type rasterRenderersFlowRenderer = import("./rasterRenderers.js").FlowRenderer;
|
|
260
|
-
|
|
261
|
-
export type rasterRenderersClassBreaksRenderer = import("./rasterRenderers.js").ClassBreaksRenderer;
|
|
262
|
-
|
|
263
|
-
export type rasterRenderersUniqueValueRenderer = import("./rasterRenderers.js").UniqueValueRenderer;
|
|
264
|
-
|
|
265
|
-
export type rasterRenderersRasterColormapRenderer = import("./rasterRenderers.js").RasterColormapRenderer;
|
|
266
|
-
|
|
267
|
-
export type rasterRenderersRasterStretchRenderer = import("./rasterRenderers.js").RasterStretchRenderer;
|
|
268
|
-
|
|
269
|
-
export type rasterRenderersVectorFieldRenderer = import("./rasterRenderers.js").VectorFieldRenderer;
|
|
270
|
-
|
|
271
|
-
export type rasterRenderersRasterShadedReliefRenderer = import("./rasterRenderers.js").RasterShadedReliefRenderer;
|
|
272
|
-
|
|
273
|
-
namespace rasterRenderers {
|
|
274
|
-
export const FlowRenderer: import("./rasterRenderers.js").FlowRenderer;
|
|
275
|
-
export type FlowRenderer = import("./rasterRenderers.js").FlowRenderer;
|
|
276
|
-
|
|
277
|
-
export const ClassBreaksRenderer: import("./rasterRenderers.js").ClassBreaksRenderer;
|
|
278
|
-
export type ClassBreaksRenderer = import("./rasterRenderers.js").ClassBreaksRenderer;
|
|
279
|
-
|
|
280
|
-
export const UniqueValueRenderer: import("./rasterRenderers.js").UniqueValueRenderer;
|
|
281
|
-
export type UniqueValueRenderer = import("./rasterRenderers.js").UniqueValueRenderer;
|
|
282
|
-
|
|
283
|
-
export const RasterColormapRenderer: import("./rasterRenderers.js").RasterColormapRenderer;
|
|
284
|
-
export type RasterColormapRenderer = import("./rasterRenderers.js").RasterColormapRenderer;
|
|
285
|
-
|
|
286
|
-
export const RasterStretchRenderer: import("./rasterRenderers.js").RasterStretchRenderer;
|
|
287
|
-
export type RasterStretchRenderer = import("./rasterRenderers.js").RasterStretchRenderer;
|
|
288
|
-
|
|
289
|
-
export const VectorFieldRenderer: import("./rasterRenderers.js").VectorFieldRenderer;
|
|
290
|
-
export type VectorFieldRenderer = import("./rasterRenderers.js").VectorFieldRenderer;
|
|
291
|
-
|
|
292
|
-
export const RasterShadedReliefRenderer: import("./rasterRenderers.js").RasterShadedReliefRenderer;
|
|
293
|
-
export type RasterShadedReliefRenderer = import("./rasterRenderers.js").RasterShadedReliefRenderer;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
export type renderersDictionaryRenderer = import("./renderers.js").DictionaryRenderer;
|
|
297
|
-
|
|
298
|
-
export type renderersSimpleRenderer = import("./renderers.js").SimpleRenderer;
|
|
299
|
-
|
|
300
|
-
export type renderersClassBreaksRenderer = import("./renderers.js").ClassBreaksRenderer;
|
|
301
|
-
|
|
302
|
-
export type renderersUniqueValueRenderer = import("./renderers.js").UniqueValueRenderer;
|
|
303
|
-
|
|
304
|
-
export type renderersDotDensityRenderer = import("./renderers.js").DotDensityRenderer;
|
|
305
|
-
|
|
306
|
-
export type renderersPieChartRenderer = import("./renderers.js").PieChartRenderer;
|
|
307
|
-
|
|
308
|
-
export type RendererWithVisualVariables = import("./renderers.js").RendererWithVisualVariables;
|
|
309
|
-
|
|
310
|
-
export type renderersHeatmapRenderer = import("./renderers.js").HeatmapRenderer;
|
|
311
|
-
|
|
312
|
-
export type renderersRenderer = import("./renderers.js").Renderer;
|
|
313
|
-
|
|
314
|
-
namespace renderers {
|
|
315
|
-
export const DictionaryRenderer: import("./renderers.js").DictionaryRenderer;
|
|
316
|
-
export type DictionaryRenderer = import("./renderers.js").DictionaryRenderer;
|
|
317
|
-
|
|
318
|
-
export const SimpleRenderer: import("./renderers.js").SimpleRenderer;
|
|
319
|
-
export type SimpleRenderer = import("./renderers.js").SimpleRenderer;
|
|
320
|
-
|
|
321
|
-
export const ClassBreaksRenderer: import("./renderers.js").ClassBreaksRenderer;
|
|
322
|
-
export type ClassBreaksRenderer = import("./renderers.js").ClassBreaksRenderer;
|
|
323
|
-
|
|
324
|
-
export const UniqueValueRenderer: import("./renderers.js").UniqueValueRenderer;
|
|
325
|
-
export type UniqueValueRenderer = import("./renderers.js").UniqueValueRenderer;
|
|
326
|
-
|
|
327
|
-
export const DotDensityRenderer: import("./renderers.js").DotDensityRenderer;
|
|
328
|
-
export type DotDensityRenderer = import("./renderers.js").DotDensityRenderer;
|
|
329
|
-
|
|
330
|
-
export const PieChartRenderer: import("./renderers.js").PieChartRenderer;
|
|
331
|
-
export type PieChartRenderer = import("./renderers.js").PieChartRenderer;
|
|
332
|
-
|
|
333
|
-
export type RendererWithVisualVariables = import("./renderers.js").RendererWithVisualVariables;
|
|
334
|
-
|
|
335
|
-
export const HeatmapRenderer: import("./renderers.js").HeatmapRenderer;
|
|
336
|
-
export type HeatmapRenderer = import("./renderers.js").HeatmapRenderer;
|
|
337
|
-
|
|
338
|
-
export type Renderer = import("./renderers.js").Renderer;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
197
|
interface request {
|
|
342
198
|
request: typeof import("./request.js").default;
|
|
343
199
|
}
|
|
@@ -2431,8 +2287,6 @@ declare namespace __esri {
|
|
|
2431
2287
|
interface meshUtils {
|
|
2432
2288
|
createFromElevation: typeof import("./geometry/support/meshUtils.js").createFromElevation;
|
|
2433
2289
|
createElevationSampler: typeof import("./geometry/support/meshUtils.js").createElevationSampler;
|
|
2434
|
-
georeference: typeof import("./geometry/support/meshUtils.js").georeference;
|
|
2435
|
-
ungeoreference: typeof import("./geometry/support/meshUtils.js").ungeoreference;
|
|
2436
2290
|
merge: typeof import("./geometry/support/meshUtils.js").merge;
|
|
2437
2291
|
convertVertexSpace: typeof import("./geometry/support/meshUtils.js").convertVertexSpace;
|
|
2438
2292
|
}
|
|
@@ -3488,6 +3342,8 @@ declare namespace __esri {
|
|
|
3488
3342
|
|
|
3489
3343
|
export type OutputPixelType = import("./layers/raster/types.js").RasterPixelType;
|
|
3490
3344
|
|
|
3345
|
+
export type RasterInfoPixelSize = import("./layers/raster/types.js").PixelSize;
|
|
3346
|
+
|
|
3491
3347
|
export type CoverageBrief = import("./layers/raster/datasets/wcsCapabilitiesParser.js").CoverageBrief;
|
|
3492
3348
|
|
|
3493
3349
|
export type OnlineResources = import("./layers/raster/datasets/wcsCapabilitiesParser.js").OnlineResources;
|
|
@@ -3942,10 +3798,10 @@ declare namespace __esri {
|
|
|
3942
3798
|
export type PixelBlock = import("./layers/support/PixelBlock.js").default;
|
|
3943
3799
|
export const PixelBlock: typeof import("./layers/support/PixelBlock.js").default;
|
|
3944
3800
|
|
|
3945
|
-
export type PixelBlockAddDataPlaneData = import("./layers/support/PixelBlock.js").
|
|
3801
|
+
export type PixelBlockAddDataPlaneData = import("./layers/support/PixelBlock.js").PixelBlockBandData;
|
|
3946
3802
|
|
|
3947
|
-
export type PixelBlockAddDataPlaneDataStatistics = import("./layers/support/PixelBlock.js").
|
|
3948
|
-
export type PixelBlockStatistics = import("./layers/support/PixelBlock.js").
|
|
3803
|
+
export type PixelBlockAddDataPlaneDataStatistics = import("./layers/support/PixelBlock.js").PixelBlockBandStatistics;
|
|
3804
|
+
export type PixelBlockStatistics = import("./layers/support/PixelBlock.js").PixelBlockBandStatistics;
|
|
3949
3805
|
|
|
3950
3806
|
export type PlaybackInfoProperties = import("./layers/support/PlaybackInfo.js").PlaybackInfoProperties;
|
|
3951
3807
|
|
|
@@ -3982,8 +3838,6 @@ declare namespace __esri {
|
|
|
3982
3838
|
export type RasterInfo = import("./layers/support/RasterInfo.js").default;
|
|
3983
3839
|
export const RasterInfo: typeof import("./layers/support/RasterInfo.js").default;
|
|
3984
3840
|
|
|
3985
|
-
export type RasterInfoPixelSize = import("./layers/support/RasterInfo.js").RasterInfoPixelSize;
|
|
3986
|
-
|
|
3987
3841
|
export type RasterSensorInfoProperties = import("./layers/support/RasterSensorInfo.js").RasterSensorInfoProperties;
|
|
3988
3842
|
|
|
3989
3843
|
export type RasterSensorInfo = import("./layers/support/RasterSensorInfo.js").default;
|
package/kernel.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.0";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.0.0-next.
|
|
5
|
+
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.0";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.0.0-next.70",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
|
|
@@ -109,8 +109,8 @@ export interface BaseDynamicLayerProperties extends LayerProperties, Refreshable
|
|
|
109
109
|
export default abstract class BaseDynamicLayer extends BaseDynamicLayerSuperclass {
|
|
110
110
|
constructor(properties?: BaseDynamicLayerProperties);
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
113
|
-
* without the need to import specific layer modules.
|
|
112
|
+
*
|
|
113
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
114
114
|
*/
|
|
115
115
|
get type(): "base-dynamic";
|
|
116
116
|
/**
|
|
@@ -121,8 +121,8 @@ export default abstract class BaseElevationLayer extends Layer {
|
|
|
121
121
|
get tileInfo(): TileInfo;
|
|
122
122
|
set tileInfo(value: TileInfoProperties);
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
125
|
-
* without the need to import specific layer modules.
|
|
124
|
+
*
|
|
125
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
126
126
|
*/
|
|
127
127
|
get type(): "base-elevation";
|
|
128
128
|
/**
|
|
@@ -353,8 +353,8 @@ export default class BuildingSceneLayer extends BuildingSceneLayerSuperclass {
|
|
|
353
353
|
*/
|
|
354
354
|
accessor title: string | null | undefined;
|
|
355
355
|
/**
|
|
356
|
-
*
|
|
357
|
-
* without the need to import specific layer modules.
|
|
356
|
+
*
|
|
357
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
358
358
|
*/
|
|
359
359
|
get type(): "building-scene";
|
|
360
360
|
/**
|
package/layers/CSVLayer.d.ts
CHANGED
|
@@ -1114,8 +1114,8 @@ export default class CSVLayer extends __FeatureLayerSansType {
|
|
|
1114
1114
|
*/
|
|
1115
1115
|
accessor title: string | null | undefined;
|
|
1116
1116
|
/**
|
|
1117
|
-
*
|
|
1118
|
-
* without the need to import specific layer modules.
|
|
1117
|
+
*
|
|
1118
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
1119
1119
|
*/
|
|
1120
1120
|
get type(): "csv";
|
|
1121
1121
|
/**
|
package/layers/CatalogLayer.d.ts
CHANGED
|
@@ -367,8 +367,8 @@ export default class CatalogLayer extends CatalogLayerSuperclass {
|
|
|
367
367
|
*/
|
|
368
368
|
accessor outFields: string[] | null | undefined;
|
|
369
369
|
/**
|
|
370
|
-
*
|
|
371
|
-
* without the need to import specific layer modules.
|
|
370
|
+
*
|
|
371
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
372
372
|
*/
|
|
373
373
|
get type(): "catalog";
|
|
374
374
|
/**
|
|
@@ -138,8 +138,8 @@ export default class DimensionLayer extends DimensionLayerSuperclass {
|
|
|
138
138
|
*/
|
|
139
139
|
accessor title: string | null | undefined;
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
142
|
-
* without the need to import specific layer modules.
|
|
141
|
+
*
|
|
142
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
143
143
|
*/
|
|
144
144
|
get type(): "dimension";
|
|
145
145
|
}
|
|
@@ -78,8 +78,8 @@ export default class ElevationLayer extends ElevationLayerSuperclass {
|
|
|
78
78
|
*/
|
|
79
79
|
accessor title: string | null | undefined;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
82
|
-
* without the need to import specific layer modules.
|
|
81
|
+
*
|
|
82
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
83
83
|
*/
|
|
84
84
|
get type(): "elevation";
|
|
85
85
|
/**
|
package/layers/FeatureLayer.d.ts
CHANGED
|
@@ -761,8 +761,8 @@ export interface FeatureLayerEvents extends EditBusLayerEvents, RefreshableLayer
|
|
|
761
761
|
*/
|
|
762
762
|
export default class FeatureLayer extends __FeatureLayerSansType {
|
|
763
763
|
/**
|
|
764
|
-
*
|
|
765
|
-
* without the need to import specific layer modules.
|
|
764
|
+
*
|
|
765
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
766
766
|
*/
|
|
767
767
|
get type(): "feature";
|
|
768
768
|
}
|
package/layers/GeoJSONLayer.d.ts
CHANGED
|
@@ -1370,8 +1370,8 @@ export default class GeoJSONLayer extends GeoJSONLayerSuperclass {
|
|
|
1370
1370
|
*/
|
|
1371
1371
|
accessor title: string | null | undefined;
|
|
1372
1372
|
/**
|
|
1373
|
-
*
|
|
1374
|
-
* without the need to import specific layer modules.
|
|
1373
|
+
*
|
|
1374
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
1375
1375
|
*/
|
|
1376
1376
|
get type(): "geojson";
|
|
1377
1377
|
/**
|
package/layers/GeoRSSLayer.d.ts
CHANGED
|
@@ -122,8 +122,8 @@ export default class GeoRSSLayer extends GeoRSSLayerSuperclass {
|
|
|
122
122
|
*/
|
|
123
123
|
accessor title: string | null | undefined;
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
126
|
-
* without the need to import specific layer modules.
|
|
125
|
+
*
|
|
126
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
127
127
|
*/
|
|
128
128
|
get type(): "geo-rss";
|
|
129
129
|
/** The URL pointing to a GeoRSS file. This must be publicly available. */
|
|
@@ -200,8 +200,8 @@ export default class GraphicsLayer extends GraphicsLayerSuperclass {
|
|
|
200
200
|
*/
|
|
201
201
|
accessor screenSizePerspectiveEnabled: boolean;
|
|
202
202
|
/**
|
|
203
|
-
*
|
|
204
|
-
* without the need to import specific layer modules.
|
|
203
|
+
*
|
|
204
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
205
205
|
*/
|
|
206
206
|
get type(): "graphics";
|
|
207
207
|
/**
|
package/layers/GroupLayer.d.ts
CHANGED
|
@@ -172,8 +172,8 @@ export default class GroupLayer extends GroupLayerSuperclass {
|
|
|
172
172
|
*/
|
|
173
173
|
accessor minScale: number;
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
176
|
-
* without the need to import specific layer modules.
|
|
175
|
+
*
|
|
176
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
177
177
|
*/
|
|
178
178
|
get type(): "group";
|
|
179
179
|
/**
|