You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-reference/arcgis/deck-renderer.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# DeckRenderer
2
2
3
-
This class is an experimental implementation of the ArcGIS [ExternalRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-externalRenderers.html#ExternalRenderer) interface and can be added to 3D views of maps created with the ArcGIS
3
+
This class is an experimental implementation of the ArcGIS [RenderNode](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-webgl-RenderNode.html) interface and can be added to 3D views of maps created with the ArcGIS
4
4
API for JavaScript.
5
5
6
6
@@ -11,7 +11,6 @@ import {DeckRenderer} from '@deck.gl/arcgis';
-`sceneView` ([SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html)) - the view to use this renderer with. `viewingMode` must be set to `'local'`.
49
+
-`sceneView` ([SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html)) - the view to use this renderer with. `viewingMode` must be set to `'local'`.`DeckRenderer` manages its internal deck.gl view state from the live `SceneView` camera and self-registers as a RenderNode; do not add it to `map.layers`.
53
50
-`props` (object) - forwarded to a `Deck` instance. The following [Deck](../core/deck.md) props are supported:
Copy file name to clipboardExpand all lines: docs/developer-guide/base-maps/using-with-arcgis.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,4 +10,4 @@ Starting with v8.1, deck.gl has support for ArcGIS with the [@deck.gl/arcgis](..
10
10
11
11
2D integration with `MapView` is supported by the [DeckLayer](../../api-reference/arcgis/deck-layer.md) class, see [pure JS example](https://github.com/visgl/deck.gl/tree/master/examples/get-started/pure-js/arcgis).
12
12
13
-
3D integration with `SceneView` is experimental: see the [DeckRenderer](../../api-reference/arcgis/deck-renderer.md) class.
13
+
3D integration with `SceneView` is experimental and currently targets `viewingMode: 'local'`; `DeckRenderer` attaches as a RenderNode rather than a map layer. See the [DeckRenderer](../../api-reference/arcgis/deck-renderer.md) class.
Copy file name to clipboardExpand all lines: docs/upgrade-guide.md
+47-1Lines changed: 47 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,53 @@ new Deck({
51
51
- The experimental `_renderLayersInGroups` prop has been removed from `MapboxOverlay`. In interleaved mode, layers are now always rendered in groups by `beforeId` or `slot`, enabling cross-layer extension handling (e.g. MaskExtension, CollisionFilterExtension) by default. If you were using `_renderLayersInGroups: true`, simply remove the prop.
52
52
- Note: extensions that require shared rendering context (MaskExtension, CollisionFilterExtension) only work between layers in the same group. Ensure affected layers share the same `beforeId` or `slot` value.
53
53
54
+
### @deck.gl/arcgis
55
+
56
+
`DeckRenderer` now integrates with ArcGIS `SceneView` through `RenderNode` instead of `externalRenderers`.
57
+
58
+
If your app uses 3D ArcGIS integration, migrate as follows:
59
+
60
+
- Load `esri/views/3d/webgl/RenderNode` instead of `esri/views/3d/externalRenderers`.
61
+
- If you pass a custom `esri` object to `loadArcGISModules`, make sure it exposes `esri.views['3d'].webgl.RenderNode`.
62
+
- Remove `externalRenderers.add(sceneView, renderer)`. `DeckRenderer` now self-registers as a `RenderNode`.
63
+
-`SceneView` integration still requires `viewingMode: 'local'`.
64
+
- If you are loading ArcGIS via `esri-loader`, consider pinning the ArcGIS JS API script with `loadScriptOptions` (for example, `{url: 'https://js.arcgis.com/4.32/'}`) to avoid unintentional version drift.
0 commit comments