@arcgis/core 5.2.0-next.153 → 5.2.0-next.155
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/arcade/containerUtils.js +1 -1
- package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
- package/arcade/functions/feature.js +1 -1
- package/arcade/functions/featuresetstring.js +1 -1
- package/arcade/functions/geomasync.js +1 -1
- package/arcade/functions/portal.js +1 -1
- package/arcade/functions/string.js +1 -1
- package/arcgisGlobal.d.ts +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/05b34302da58e8244da3.js +1 -0
- package/assets/esri/core/workers/chunks/28b74bc77f7c13080074.js +1 -0
- package/assets/esri/core/workers/chunks/2a226b69d38c72a47a08.js +1 -0
- package/assets/esri/core/workers/chunks/47e250d471d0e55fa6be.js +1 -0
- package/assets/esri/core/workers/chunks/{a07cb6a2f5b66d4e9f15.js → 49ff0985fb307ac193ab.js} +1 -1
- package/assets/esri/core/workers/chunks/{dc486a3595b6d57018bb.js → 5bfea0c55aca826de536.js} +1 -1
- package/assets/esri/core/workers/chunks/5f4feca26102088ea565.js +1 -0
- package/assets/esri/core/workers/chunks/{407f1e8176f3b0af73b4.js → 66867e523cc82f8fe35b.js} +1 -1
- package/assets/esri/core/workers/chunks/67ebc5a3d46b254b725c.js +1 -0
- package/assets/esri/core/workers/chunks/6c469b43089767176ced.js +1 -0
- package/assets/esri/core/workers/chunks/{6e62581d933e7298d1f6.js → 6f4e6022a52de0c54aab.js} +1 -1
- package/assets/esri/core/workers/chunks/{693873b3eb99fba58fa9.js → 78c4e43cfa1eda06b4d9.js} +1 -1
- package/assets/esri/core/workers/chunks/81cad8d2f62a5f671c55.js +1 -0
- package/assets/esri/core/workers/chunks/{588e677f33df86a595bf.js → 820c8aaf3632edb0150c.js} +1 -1
- package/assets/esri/core/workers/chunks/{5924ec3167a2941ebb1f.js → 88c74f3316f1fc253207.js} +1 -1
- package/assets/esri/core/workers/chunks/{a4162a8660bf763d542d.js → 967b4992b400517ee712.js} +1 -1
- package/assets/esri/core/workers/chunks/96b6ea199ad949fef17c.js +1 -0
- package/assets/esri/core/workers/chunks/{adf25e5ed99615b83c68.js → a62c12925303ff802c3d.js} +1 -1
- package/assets/esri/core/workers/chunks/acdfd275dbf8533a67f3.js +1 -0
- package/assets/esri/core/workers/chunks/b3007aedbf731dacaff1.js +1 -0
- package/assets/esri/core/workers/chunks/{9232f57623e1fa3ccabc.js → be5f92e98d09d6e6e38e.js} +1 -1
- package/assets/esri/core/workers/chunks/c1254cd131a62750ff6f.js +1 -0
- package/assets/esri/core/workers/chunks/{a7f3576208f295b670d6.js → c19cd5a03b6d480fe53b.js} +1 -1
- package/assets/esri/core/workers/chunks/c19f238b55ff2893f7c2.js +1 -0
- package/assets/esri/core/workers/chunks/c72a904e01dc8c17d992.js +1 -0
- package/assets/esri/core/workers/chunks/d33360c4f85203edafff.js +1 -0
- package/assets/esri/core/workers/chunks/de6081df29183bf80787.js +1 -0
- package/assets/esri/core/workers/chunks/e653c81ffb3d818645dd.js +1 -0
- package/assets/esri/core/workers/chunks/eb815148ae65388dd733.js +1 -0
- package/assets/esri/core/workers/chunks/ee6679ef9efa1504e7eb.js +1 -0
- package/assets/esri/core/workers/chunks/fda83bcb8e40e8044c24.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/assets/esri/libs/pdfjs/wasm/openjpeg_nowasm_fallback.js +1 -0
- package/assets/esri/widgets/support/uriUtils/t9n/messages.fr.json +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +2 -2
- package/chunks/portal.js +1 -1
- package/config.js +1 -1
- package/form/elements/inputs/DynamicChoiceInput.d.ts +4 -2
- package/geometry/support/curves/ellipticArc7Utils.js +1 -1
- package/geometry/support/curves/mathUtils.js +1 -1
- package/geometry/support/meshUtils.d.ts +5 -6
- package/interfaces.d.ts +19 -10
- package/kernel.js +1 -1
- package/layers/FeatureLayer.d.ts +2 -2
- package/layers/GeospatialPDFLayer.d.ts +154 -4
- package/layers/Layer.d.ts +2 -0
- package/layers/SketchLayer.d.ts +4 -2
- package/layers/geospatialPDF/GeospatialPDFLayerWorker.js +1 -1
- package/layers/geospatialPDF/ViewportMeasureFrame.js +1 -1
- package/layers/geospatialPDF/geospatialPDFParserUtils.js +1 -1
- package/layers/geospatialPDF/projectionToWKTUtils.js +2 -2
- package/layers/graphics/sources/GeoJSONSource.js +1 -1
- package/layers/graphics/sources/geojson/GeoJSONSourceWorker.js +1 -1
- package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
- package/layers/graphics/sources/support/clientSideDefaults.js +1 -1
- package/layers/graphics/sources/support/sourceUtils.js +1 -1
- package/layers/support/LabelClass.d.ts +3 -2
- package/layers/support/PortalItemData.d.ts +31 -8
- package/layers/support/{TimeSeriesCalculation.d.ts → TimeSeriesCalculationMethod.d.ts} +6 -6
- package/layers/support/{TimeSeriesCalculation.js → TimeSeriesCalculationMethod.js} +1 -1
- package/layers/support/TimeSeriesInfo.d.ts +5 -5
- package/layers/support/TimeSeriesInfo.js +1 -1
- package/layers/support/fieldUtils.js +1 -1
- package/layers/support/timeSeriesUtils.d.ts +6 -2
- package/layers/support/timeSeriesUtils.js +1 -1
- package/layers/support/types.d.ts +4 -1
- package/layers/support/vectorTileLayerLoader.js +1 -1
- package/package.json +2 -2
- package/portal/schemas/definitions.js +1 -1
- package/smartMapping/renderers/support/timeSeriesUtils.js +1 -1
- package/smartMapping/statistics/support/timeSeriesUtils.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/views/2d/engine/vectorTiles/TileHandler.js +1 -1
- package/views/2d/engine/vectorTiles/style/GeoJSONVectorTileSource.js +1 -1
- package/views/2d/engine/vectorTiles/style/GeoJSONVectorTileSourceWorker.js +1 -1
- package/views/2d/engine/vectorTiles/style/geoJSONVectorTileUtils.js +2 -0
- package/views/2d/engine/webgl/GlyphWorker.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/projection.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightObserverPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTargetPlugin.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedPlacementPointPlugin.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/raster/Projection.glsl.js +2 -2
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/MainFramebuffer.js +1 -1
- package/views/3d/webgl-engine/lib/PathBuilder.js +1 -1
- package/views/3d/webgl-engine/lib/PathCapBuilder.js +1 -1
- package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
- package/views/3d/webgl-engine/lib/PathExtruder.js +1 -1
- package/views/3d/webgl-engine/lib/PathProfile.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/pathGeometryUtils.js +1 -1
- package/views/3d/webgl-engine/parts/ScreenshotManager.js +1 -1
- package/views/draw/DrawTool.js +1 -1
- package/views/draw/plugins/MultipointPlugin.js +1 -1
- package/views/draw/support/PluginContext.js +1 -1
- package/views/draw/support/managers/TooltipManager.js +1 -1
- package/views/draw/support/types.d.ts +5 -2
- package/webdoc/applicationProperties/SearchLayerField.d.ts +7 -1
- package/webdoc/applicationProperties/SearchLayerField.js +1 -1
- package/webdoc/applicationProperties/SearchTableField.d.ts +7 -1
- package/webdoc/applicationProperties/SearchTableField.js +1 -1
- package/webdoc/applicationProperties/searchMode.js +2 -0
- package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/DynamicChoiceController.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Editor/EditorViewModel.d.ts +10 -1
- package/widgets/Editor.d.ts +10 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/Legend.d.ts +1 -0
- package/widgets/Search/LayerSearchSource.d.ts +23 -1
- package/widgets/Search/LayerSearchSource.js +1 -1
- package/widgets/Search/support/layerSearchUtils.js +1 -1
- package/widgets/Search/types.d.ts +7 -0
- package/widgets/support/forms/formUtils.js +1 -1
- package/widgets/support/forms/types.d.ts +1 -1
- package/assets/esri/core/workers/chunks/03afeefb9d16b6f1d844.js +0 -1
- package/assets/esri/core/workers/chunks/09b9a886363bc1197785.js +0 -1
- package/assets/esri/core/workers/chunks/21f45a47708e6e43147f.js +0 -1
- package/assets/esri/core/workers/chunks/2ecfaa715863216f0faf.js +0 -1
- package/assets/esri/core/workers/chunks/3cc43ae56779a9f97f77.js +0 -1
- package/assets/esri/core/workers/chunks/3e8eb158320f0e4ce1b6.js +0 -1
- package/assets/esri/core/workers/chunks/4fc337240e7cddd0e988.js +0 -1
- package/assets/esri/core/workers/chunks/5732fdf6d8b87739aeea.js +0 -1
- package/assets/esri/core/workers/chunks/5fa1ec357c3ad1f91bc7.js +0 -1
- package/assets/esri/core/workers/chunks/7320a4913b6cad7cc5d7.js +0 -1
- package/assets/esri/core/workers/chunks/7d1fd2df579a4b535e0e.js +0 -1
- package/assets/esri/core/workers/chunks/879b2de825c1dfc8849d.js +0 -1
- package/assets/esri/core/workers/chunks/8c4e0a7384e40979cb42.js +0 -1
- package/assets/esri/core/workers/chunks/937824bc7948f7bc7845.js +0 -1
- package/assets/esri/core/workers/chunks/9e142551163acf752618.js +0 -1
- package/assets/esri/core/workers/chunks/b132ffa7e8bb461b6786.js +0 -1
- package/assets/esri/core/workers/chunks/b19b6102ed2d6f67b43b.js +0 -1
- package/assets/esri/core/workers/chunks/dca35dbe427605ef6fcc.js +0 -1
- package/assets/esri/core/workers/chunks/f095cf98940e3f95d51e.js +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type Extent from "../geometry/Extent.js";
|
|
1
2
|
import type SpatialReference from "../geometry/SpatialReference.js";
|
|
2
3
|
import type Layer from "./Layer.js";
|
|
3
4
|
import type TileInfo from "./support/TileInfo.js";
|
|
@@ -7,21 +8,170 @@ import type { ScaleRangeLayer, ScaleRangeLayerProperties } from "./mixins/ScaleR
|
|
|
7
8
|
import type { GeospatialPDFDataUnion } from "./support/types.js";
|
|
8
9
|
import type { LayerProperties } from "./Layer.js";
|
|
9
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Properties used to construct a [GeospatialPDFLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeospatialPDFLayer/).
|
|
13
|
+
*
|
|
14
|
+
* @since 5.2
|
|
15
|
+
*/
|
|
10
16
|
export interface GeospatialPDFLayerProperties extends LayerProperties, ScaleRangeLayerProperties, BlendLayerProperties, Partial<Pick<GeospatialPDFLayer, "clippedToNeatline" | "data">> {}
|
|
11
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Displays a geospatial PDF document as georeferenced raster imagery.
|
|
20
|
+
* A geospatial PDF contains information that relates locations on a PDF page to real-world coordinates.
|
|
21
|
+
* This allows a map distributed as a PDF, such as a topographic map, to be displayed alongside other geographic data
|
|
22
|
+
* without manually specifying its location.
|
|
23
|
+
*
|
|
24
|
+
* To create a GeospatialPDFLayer, set the [data](https://developers.arcgis.com/javascript/latest/references/core/layers/GeospatialPDFLayer/#data) property to a PDF URL, a browser [File](https://developer.mozilla.org/en-US/docs/Web/API/File), or a [PortalItemData](https://developers.arcgis.com/javascript/latest/references/core/layers/support/PortalItemData/).
|
|
25
|
+
* Remote PDF URLs must be accessible to the application and comply with the browser's [cross-origin request restrictions](https://developers.arcgis.com/javascript/latest/cors/).
|
|
26
|
+
* The document is downloaded and rendered on the client; publishing an image service is not required.
|
|
27
|
+
* The first page of the PDF is used for georeferencing and rendering.
|
|
28
|
+
* The entire document is downloaded before rendering; large or complex PDFs can increase load time and memory usage.
|
|
29
|
+
* The layer derives its [spatial reference](https://developers.arcgis.com/javascript/latest/references/core/layers/GeospatialPDFLayer/#spatialReference) and
|
|
30
|
+
* [extent](https://developers.arcgis.com/javascript/latest/references/core/layers/GeospatialPDFLayer/#fullExtent) from the embedded georeferencing information.
|
|
31
|
+
* The rendered imagery can be reprojected to the spatial reference of the view. In an scene, it is draped on the ground.
|
|
32
|
+
*
|
|
33
|
+
* Additionally the PDF defines the boundary of the georeferenced map within the page, called a *neatline*.
|
|
34
|
+
* Set [clippedToNeatline](https://developers.arcgis.com/javascript/latest/references/core/layers/GeospatialPDFLayer/#clippedToNeatline) to `true` to hide content outside this boundary, such as page margins, legends, and titles.
|
|
35
|
+
*
|
|
36
|
+
* The [arcgis-print](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-print/) component can generate geospatial PDFs.
|
|
37
|
+
* When creating PDFs in ArcGIS Pro, enable "Export georeference information".
|
|
38
|
+
* Merely exporting a map to PDF does not guarantee that the resulting document contains georeferencing.
|
|
39
|
+
* See [Export to PDF](https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/pdf-export.htm) for export settings.
|
|
40
|
+
*
|
|
41
|
+
* > [!WARNING]
|
|
42
|
+
* >
|
|
43
|
+
* > **Known Limitations**
|
|
44
|
+
* >
|
|
45
|
+
* > - Documents that require a password to open are not supported.
|
|
46
|
+
* > - Tile reprojection is limited: grid-based transformations are not supported. As a result, the layer may still display but appear shifted. See the [project operator's known limitations](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/).
|
|
47
|
+
* > - To decode certain image types from PDF files, GeospatialPDFLayer is using WebAssembly features not available yet in Safari. As a result it uses a slower JavaScript fallback which impact the initial load of the layer.
|
|
48
|
+
* > - Not supported by the [Legend](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/).
|
|
49
|
+
*
|
|
50
|
+
* @beta
|
|
51
|
+
* @since 5.2
|
|
52
|
+
* @see [PortalItemData](https://developers.arcgis.com/javascript/latest/references/core/layers/support/PortalItemData/)
|
|
53
|
+
* @see [GeospatialPDFDataUnion](https://developers.arcgis.com/javascript/latest/references/core/layers/support/types/#GeospatialPDFDataUnion)
|
|
54
|
+
* @see [GeospatialPDFLayer with a local file](https://developers.arcgis.com/javascript/latest/sample-code/layers-geospatialpdf/) sample
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* import GeospatialPDFLayer from "@arcgis/core/layers/GeospatialPDFLayer.js";
|
|
58
|
+
*
|
|
59
|
+
* // Replace this URL with a georeferenced PDF.
|
|
60
|
+
* const layer = new GeospatialPDFLayer({
|
|
61
|
+
* data: "https://jsapi.maps.arcgis.com/sharing/rest/content/items/0d8613492b1e4598a5edb111f05be7fd/data",
|
|
62
|
+
* clippedToNeatline: true
|
|
63
|
+
* });
|
|
64
|
+
* // viewElement is an existing arcgis-map or arcgis-scene component.
|
|
65
|
+
* await viewElement.viewOnReady();
|
|
66
|
+
* viewElement.map.add(layer);
|
|
67
|
+
* ```
|
|
68
|
+
* @example
|
|
69
|
+
* ```ts
|
|
70
|
+
* import GeospatialPDFLayer from "@arcgis/core/layers/GeospatialPDFLayer.js";
|
|
71
|
+
* import PortalItemData from "@arcgis/core/layers/support/PortalItemData.js";
|
|
72
|
+
*
|
|
73
|
+
* const layer = new GeospatialPDFLayer({
|
|
74
|
+
* data: new PortalItemData({
|
|
75
|
+
* portalItem: {
|
|
76
|
+
* id: "0d8613492b1e4598a5edb111f05be7fd"
|
|
77
|
+
* }
|
|
78
|
+
* })
|
|
79
|
+
* });
|
|
80
|
+
* // viewElement is an existing arcgis-map or arcgis-scene component.
|
|
81
|
+
* await viewElement.viewOnReady();
|
|
82
|
+
* viewElement.map.add(layer);
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
12
85
|
export default class GeospatialPDFLayer extends GeospatialPDFLayerSuperclass {
|
|
13
86
|
constructor(properties?: GeospatialPDFLayerProperties);
|
|
14
87
|
/**
|
|
15
|
-
*
|
|
88
|
+
* Indicates whether to hide PDF content outside the georeferenced map's neatline.
|
|
89
|
+
* A neatline is the boundary of the map within the PDF page. When `true`, content outside that boundary
|
|
90
|
+
* is masked out. When `false`, the entire page is displayed, including margins and other layout elements.
|
|
16
91
|
*
|
|
17
92
|
* @default false
|
|
93
|
+
* @example
|
|
94
|
+
* ```ts
|
|
95
|
+
* layer.clippedToNeatline = true;
|
|
96
|
+
* ```
|
|
18
97
|
*/
|
|
19
98
|
accessor clippedToNeatline: boolean;
|
|
20
|
-
/**
|
|
99
|
+
/**
|
|
100
|
+
* The data source of the `GeospatialPDFLayer`.
|
|
101
|
+
*
|
|
102
|
+
* Specify one of the following before loading the layer:
|
|
103
|
+
* - A string containing the URL of a geospatial PDF.
|
|
104
|
+
* - A browser [File](https://developer.mozilla.org/en-US/docs/Web/API/File), for example from a file input.
|
|
105
|
+
* - A [PortalItemData](https://developers.arcgis.com/javascript/latest/references/core/layers/support/PortalItemData/) instance referencing a portal item whose
|
|
106
|
+
* [url](https://developers.arcgis.com/javascript/latest/references/core/portal/PortalItem/#url) resolves to a geospatial PDF.
|
|
107
|
+
*
|
|
108
|
+
* @see [GeospatialPDFDataUnion](https://developers.arcgis.com/javascript/latest/references/core/layers/support/types/#GeospatialPDFDataUnion)
|
|
109
|
+
* @example
|
|
110
|
+
* ```ts
|
|
111
|
+
* import GeospatialPDFLayer from "@arcgis/core/layers/GeospatialPDFLayer.js";
|
|
112
|
+
*
|
|
113
|
+
* // Replace this URL with an accessible georeferenced PDF.
|
|
114
|
+
* const layer = new GeospatialPDFLayer({
|
|
115
|
+
* data: "https://jsapi.maps.arcgis.com/sharing/rest/content/items/0d8613492b1e4598a5edb111f05be7fd/data",
|
|
116
|
+
* clippedToNeatline: true
|
|
117
|
+
* });
|
|
118
|
+
* // viewElement is an existing arcgis-map or arcgis-scene component.
|
|
119
|
+
* await viewElement.viewOnReady();
|
|
120
|
+
* viewElement.map.add(layer);
|
|
121
|
+
* ```
|
|
122
|
+
* @example
|
|
123
|
+
* ```ts
|
|
124
|
+
* import GeospatialPDFLayer from "@arcgis/core/layers/GeospatialPDFLayer.js";
|
|
125
|
+
* import PortalItemData from "@arcgis/core/layers/support/PortalItemData.js";
|
|
126
|
+
*
|
|
127
|
+
* const layer = new GeospatialPDFLayer({
|
|
128
|
+
* data: new PortalItemData({
|
|
129
|
+
* portalItem: {
|
|
130
|
+
* id: "0d8613492b1e4598a5edb111f05be7fd"
|
|
131
|
+
* }
|
|
132
|
+
* }),
|
|
133
|
+
* clippedToNeatline: true
|
|
134
|
+
* });
|
|
135
|
+
* // viewElement is an existing arcgis-map or arcgis-scene component.
|
|
136
|
+
* await viewElement.viewOnReady();
|
|
137
|
+
* viewElement.map.add(layer);
|
|
138
|
+
* ```
|
|
139
|
+
* @example
|
|
140
|
+
* ```ts
|
|
141
|
+
* import GeospatialPDFLayer from "@arcgis/core/layers/GeospatialPDFLayer.js";
|
|
142
|
+
*
|
|
143
|
+
* // file is a File obtained from a file input or drag-and-drop.
|
|
144
|
+
* const layer = new GeospatialPDFLayer({
|
|
145
|
+
* data: file,
|
|
146
|
+
* clippedToNeatline: true
|
|
147
|
+
* });
|
|
148
|
+
* // viewElement is an existing arcgis-map or arcgis-scene component.
|
|
149
|
+
* await viewElement.viewOnReady();
|
|
150
|
+
* viewElement.map.add(layer);
|
|
151
|
+
* ```
|
|
152
|
+
*/
|
|
21
153
|
accessor data: GeospatialPDFDataUnion | null | undefined;
|
|
22
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* The full extent of the layer.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* ```ts
|
|
159
|
+
* await viewElement.viewOnReady();
|
|
160
|
+
* await layer.load();
|
|
161
|
+
* if (layer.fullExtent) {
|
|
162
|
+
* await viewElement.goTo(layer.fullExtent);
|
|
163
|
+
* }
|
|
164
|
+
* ```
|
|
165
|
+
* @example
|
|
166
|
+
* // Once the layer loads, set the view's extent to the layer's full extent
|
|
167
|
+
* layer.when(function(){
|
|
168
|
+
* view.extent = layer.fullExtent;
|
|
169
|
+
* });
|
|
170
|
+
*/
|
|
171
|
+
get fullExtent(): Extent | null | undefined;
|
|
172
|
+
/** The spatial reference of the layer derived from the georeferencing information found in the PDF. */
|
|
23
173
|
get spatialReference(): SpatialReference;
|
|
24
|
-
/**
|
|
174
|
+
/** Contains information about the tiling scheme for the layer used to render the PDF as raster tiles. */
|
|
25
175
|
get tileInfo(): TileInfo | null | undefined;
|
|
26
176
|
/** The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules. */
|
|
27
177
|
get type(): "geospatial-pdf";
|
package/layers/Layer.d.ts
CHANGED
|
@@ -142,6 +142,7 @@ export interface FromArcGISServerUrlParameters {
|
|
|
142
142
|
* [WMTSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WMTSLayer/) | WMTS tile services, ArcGIS portal item | Image tiles | OGC specification | N/A
|
|
143
143
|
* [WebTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WebTileLayer/) | non-ArcGIS, non-OGC, and non-OSM tile services | Image tiles | N/A | No editing, client-side rendering, or popup templates.
|
|
144
144
|
* [BingMapsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BingMapsLayer/) | Bing Spatial Data Service data | Image tiles | Displays Microsoft's Bing tiled content | Bing Maps key is required; three map styles are supported: `road`, `aerial`, and `hybrid`
|
|
145
|
+
* [GeospatialPDFLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeospatialPDFLayer/) | PDF File, ArcGIS portal item | PDF documents | Displays a geospatial PDF document as georeferenced raster imagery | Documents that require a password to open are not supported
|
|
145
146
|
* [MediaLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MediaLayer/) | HTMLVideoElement, HTMLImageElement, or HTMLCanvasElement | Image/video element | Displays image and video elements in the map at specified geographic locations | GIF/APNG not currently
|
|
146
147
|
* [VideoLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VideoLayer/) | ArcGIS VideoServer, ArcGIS portal item | Video | Displays a georeferenced video in the map | No 3D support
|
|
147
148
|
*
|
|
@@ -263,6 +264,7 @@ export default abstract class Layer extends LayerSuperclass {
|
|
|
263
264
|
* > **Known Limitations**
|
|
264
265
|
* >
|
|
265
266
|
* > - This method does not currently work with [OGCFeatureServer portal items](https://developers.arcgis.com/rest/users-groups-and-items/items-and-item-types/#layers).
|
|
267
|
+
* > - This method does not currently work with [GeospatialPDFLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeospatialPDFLayer/)
|
|
266
268
|
*
|
|
267
269
|
* @param params - The parameters for loading the portal item.
|
|
268
270
|
* @returns Returns a promise which resolves to the new layer instance.
|
package/layers/SketchLayer.d.ts
CHANGED
|
@@ -37,8 +37,9 @@ export interface SketchLayerProperties extends LayerProperties, PortalLayerPrope
|
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* The SketchLayer lets you display and modify sketches (features sketched on a web map) from the
|
|
40
|
-
* [Map Viewer](https://www.arcgis.com/apps/mapviewer/index.html). A new SketchLayer can also be
|
|
41
|
-
*
|
|
40
|
+
* [Map Viewer](https://www.arcgis.com/apps/mapviewer/index.html). A new SketchLayer can also be used with the
|
|
41
|
+
* [Sketch component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/)
|
|
42
|
+
* or the [SketchViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/) in a 2D [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/).
|
|
42
43
|
*
|
|
43
44
|
* Sketches belong to the [graphics](https://developers.arcgis.com/javascript/latest/references/core/layers/SketchLayer/#graphics) collection. Each graphic can have its own
|
|
44
45
|
* popup template, geometry, and symbol.
|
|
@@ -104,6 +105,7 @@ export interface SketchLayerProperties extends LayerProperties, PortalLayerPrope
|
|
|
104
105
|
* ```
|
|
105
106
|
*
|
|
106
107
|
* @since 5.2
|
|
108
|
+
* @beta
|
|
107
109
|
* @see [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/)
|
|
108
110
|
* @see [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/)
|
|
109
111
|
* @see [SketchViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/)
|