@geoscene/map-components 4.33.20 → 4.33.21

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.
@@ -27,7 +27,7 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
27
27
  * Alternatively, the Map component can be initialized without a WebMap item.
28
28
  *
29
29
  * ```html
30
- * <geoscene-map basemap="satellite" center="-154.88, 19.46" zoom="15"></geoscene-map>
30
+ * <geoscene-map basemap="tianditu-vector" center="-154.88, 19.46" zoom="15"></geoscene-map>
31
31
  * ```
32
32
  *
33
33
  * Other components can be added and connected to the Map component.
@@ -30,7 +30,7 @@ declare const useSceneView: (component: LitElement & Omit<Pick<SceneView, "conta
30
30
  *
31
31
  * ```html
32
32
  * <geoscene-scene
33
- * basemap="satellite"
33
+ * basemap="tianditu-vector"
34
34
  * ground="world-elevation"
35
35
  * camera-position="12.3808, 46.3959, 4400"
36
36
  * camera-tilt="75"
@@ -50,7 +50,7 @@ declare const useVideoPlayerViewModel: (component: LitElement & Pick<VideoPlayer
50
50
  * });
51
51
  *
52
52
  * viewElement.map = new Map({
53
- * basemap: "topo-vector",
53
+ * basemap: "tianditu-vector",
54
54
  * layers: [videoLayer],
55
55
  * });
56
56
  * await viewElement.viewOnReady();
@@ -32141,7 +32141,7 @@
32141
32141
  "customElement": true,
32142
32142
  "name": "GeosceneMap",
32143
32143
  "tagName": "geoscene-map",
32144
- "description": "The GeoScene Map component is used to add 2D maps to web applications. For 3D maps, use the\n[GeoScene Scene component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/).\n\nThe Map component creates a [MapView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-MapView.html) and loads a WebMap from either [GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></geoscene-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<geoscene-map basemap=\"satellite\" center=\"-154.88, 19.46\" zoom=\"15\"></geoscene-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <geoscene-zoom position=\"top-left\"></geoscene-zoom>\n <geoscene-legend position=\"bottom-left\"></geoscene-legend>\n</geoscene-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/) of the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-map\");\nviewElement.addEventListener(\"geosceneViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-map)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)",
32144
+ "description": "The GeoScene Map component is used to add 2D maps to web applications. For 3D maps, use the\n[GeoScene Scene component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/).\n\nThe Map component creates a [MapView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-MapView.html) and loads a WebMap from either [GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></geoscene-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<geoscene-map basemap=\"tianditu-vector\" center=\"-154.88, 19.46\" zoom=\"15\"></geoscene-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <geoscene-zoom position=\"top-left\"></geoscene-zoom>\n <geoscene-legend position=\"bottom-left\"></geoscene-legend>\n</geoscene-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/) of the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-map\");\nviewElement.addEventListener(\"geosceneViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-map)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)",
32145
32145
  "demos": [
32146
32146
  {
32147
32147
  "description": "Docs",
@@ -38782,7 +38782,7 @@
38782
38782
  "customElement": true,
38783
38783
  "name": "GeosceneScene",
38784
38784
  "tagName": "geoscene-scene",
38785
- "description": "The GeoScene Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[GeoScene Map component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/).\n\nThe Scene component creates a [SceneView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html)\nand loads a [WebScene](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-WebScene.html) item from either\n[GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></geoscene-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<geoscene-scene\n basemap=\"satellite\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</geoscene-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <geoscene-layer-list position=\"bottom-right\"></geoscene-layer-list>\n</geoscene-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/)\nof the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-scene)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)",
38785
+ "description": "The GeoScene Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[GeoScene Map component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/).\n\nThe Scene component creates a [SceneView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html)\nand loads a [WebScene](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-WebScene.html) item from either\n[GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></geoscene-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<geoscene-scene\n basemap=\"tianditu-vector\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</geoscene-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <geoscene-layer-list position=\"bottom-right\"></geoscene-layer-list>\n</geoscene-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/)\nof the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-scene)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)",
38786
38786
  "demos": [
38787
38787
  {
38788
38788
  "description": "Docs",
@@ -56138,7 +56138,7 @@
56138
56138
  "docsTags": [
56139
56139
  {
56140
56140
  "name": "example",
56141
- "text": "```html\n<geoscene-map>\n <geoscene-video-player></geoscene-video-player>\n</geoscene-map>\n```\n\n```js\nconst [Map, VideoLayer] = await $geoscene.import([\n \"@geoscene/core/Map.js\",\n \"@geoscene/core/layers/VideoLayer.js\",\n]);\n\nconst viewElement = document.querySelector(\"geoscene-map\");\nconst videoPlayerElement = document.querySelector(\"geoscene-video-player\");\n\nconst videoLayer = new VideoLayer({\n url: \"YOUR_VIDEO_LAYER_URL\",\n});\n\nviewElement.map = new Map({\n basemap: \"topo-vector\",\n layers: [videoLayer],\n});\nawait viewElement.viewOnReady();\n\nawait videoLayer.load();\nif (videoLayer.loaded) {\n videoPlayerElement.layer = videoLayer;\n}\n\nawait viewElement.whenLayerView(videoLayer);\nviewElement.goTo(videoLayer.fullExtent);\n```"
56141
+ "text": "```html\n<geoscene-map>\n <geoscene-video-player></geoscene-video-player>\n</geoscene-map>\n```\n\n```js\nconst [Map, VideoLayer] = await $geoscene.import([\n \"@geoscene/core/Map.js\",\n \"@geoscene/core/layers/VideoLayer.js\",\n]);\n\nconst viewElement = document.querySelector(\"geoscene-map\");\nconst videoPlayerElement = document.querySelector(\"geoscene-video-player\");\n\nconst videoLayer = new VideoLayer({\n url: \"YOUR_VIDEO_LAYER_URL\",\n});\n\nviewElement.map = new Map({\n basemap: \"tianditu-vector\",\n layers: [videoLayer],\n});\nawait viewElement.viewOnReady();\n\nawait videoLayer.load();\nif (videoLayer.loaded) {\n videoPlayerElement.layer = videoLayer;\n}\n\nawait viewElement.whenLayerView(videoLayer);\nviewElement.goTo(videoLayer.fullExtent);\n```"
56142
56142
  },
56143
56143
  {
56144
56144
  "name": "since",
@@ -27158,7 +27158,7 @@
27158
27158
  "overview": "",
27159
27159
  "readme": "",
27160
27160
  "usage": {},
27161
- "docs": "The GeoScene Map component is used to add 2D maps to web applications. For 3D maps, use the\n[GeoScene Scene component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/).\n\nThe Map component creates a [MapView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-MapView.html) and loads a WebMap from either [GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></geoscene-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<geoscene-map basemap=\"satellite\" center=\"-154.88, 19.46\" zoom=\"15\"></geoscene-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <geoscene-zoom position=\"top-left\"></geoscene-zoom>\n <geoscene-legend position=\"bottom-left\"></geoscene-legend>\n</geoscene-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/) of the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-map\");\nviewElement.addEventListener(\"geosceneViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-map)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)",
27161
+ "docs": "The GeoScene Map component is used to add 2D maps to web applications. For 3D maps, use the\n[GeoScene Scene component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/).\n\nThe Map component creates a [MapView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-MapView.html) and loads a WebMap from either [GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></geoscene-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<geoscene-map basemap=\"tianditu-vector\" center=\"-154.88, 19.46\" zoom=\"15\"></geoscene-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <geoscene-zoom position=\"top-left\"></geoscene-zoom>\n <geoscene-legend position=\"bottom-left\"></geoscene-legend>\n</geoscene-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/) of the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-map\");\nviewElement.addEventListener(\"geosceneViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-map)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)",
27162
27162
  "docsTags": [
27163
27163
  {
27164
27164
  "name": "superclass",
@@ -32871,7 +32871,7 @@
32871
32871
  "overview": "",
32872
32872
  "readme": "",
32873
32873
  "usage": {},
32874
- "docs": "The GeoScene Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[GeoScene Map component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/).\n\nThe Scene component creates a [SceneView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html)\nand loads a [WebScene](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-WebScene.html) item from either\n[GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></geoscene-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<geoscene-scene\n basemap=\"satellite\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</geoscene-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <geoscene-layer-list position=\"bottom-right\"></geoscene-layer-list>\n</geoscene-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/)\nof the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-scene)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)",
32874
+ "docs": "The GeoScene Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[GeoScene Map component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/).\n\nThe Scene component creates a [SceneView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html)\nand loads a [WebScene](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-WebScene.html) item from either\n[GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></geoscene-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<geoscene-scene\n basemap=\"tianditu-vector\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</geoscene-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <geoscene-layer-list position=\"bottom-right\"></geoscene-layer-list>\n</geoscene-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/)\nof the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-scene)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)",
32875
32875
  "docsTags": [
32876
32876
  {
32877
32877
  "name": "superclass",
@@ -48051,7 +48051,7 @@
48051
48051
  "docsTags": [
48052
48052
  {
48053
48053
  "name": "example",
48054
- "text": "```html\n<geoscene-map>\n <geoscene-video-player></geoscene-video-player>\n</geoscene-map>\n```\n\n```js\nconst [Map, VideoLayer] = await $geoscene.import([\n \"@geoscene/core/Map.js\",\n \"@geoscene/core/layers/VideoLayer.js\",\n]);\n\nconst viewElement = document.querySelector(\"geoscene-map\");\nconst videoPlayerElement = document.querySelector(\"geoscene-video-player\");\n\nconst videoLayer = new VideoLayer({\n url: \"YOUR_VIDEO_LAYER_URL\",\n});\n\nviewElement.map = new Map({\n basemap: \"topo-vector\",\n layers: [videoLayer],\n});\nawait viewElement.viewOnReady();\n\nawait videoLayer.load();\nif (videoLayer.loaded) {\n videoPlayerElement.layer = videoLayer;\n}\n\nawait viewElement.whenLayerView(videoLayer);\nviewElement.goTo(videoLayer.fullExtent);\n```"
48054
+ "text": "```html\n<geoscene-map>\n <geoscene-video-player></geoscene-video-player>\n</geoscene-map>\n```\n\n```js\nconst [Map, VideoLayer] = await $geoscene.import([\n \"@geoscene/core/Map.js\",\n \"@geoscene/core/layers/VideoLayer.js\",\n]);\n\nconst viewElement = document.querySelector(\"geoscene-map\");\nconst videoPlayerElement = document.querySelector(\"geoscene-video-player\");\n\nconst videoLayer = new VideoLayer({\n url: \"YOUR_VIDEO_LAYER_URL\",\n});\n\nviewElement.map = new Map({\n basemap: \"tianditu-vector\",\n layers: [videoLayer],\n});\nawait viewElement.viewOnReady();\n\nawait videoLayer.load();\nif (videoLayer.loaded) {\n videoPlayerElement.layer = videoLayer;\n}\n\nawait viewElement.whenLayerView(videoLayer);\nviewElement.goTo(videoLayer.fullExtent);\n```"
48055
48055
  },
48056
48056
  {
48057
48057
  "name": "since",
@@ -5087,7 +5087,7 @@
5087
5087
  },
5088
5088
  {
5089
5089
  "name": "geoscene-map",
5090
- "description": "The GeoScene Map component is used to add 2D maps to web applications. For 3D maps, use the\n[GeoScene Scene component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/).\n\nThe Map component creates a [MapView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-MapView.html) and loads a WebMap from either [GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></geoscene-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<geoscene-map basemap=\"satellite\" center=\"-154.88, 19.46\" zoom=\"15\"></geoscene-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <geoscene-zoom position=\"top-left\"></geoscene-zoom>\n <geoscene-legend position=\"bottom-left\"></geoscene-legend>\n</geoscene-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/) of the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-map\");\nviewElement.addEventListener(\"geosceneViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-map)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)\n--\n\n### Events\n- **geosceneViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **geosceneViewClick** - Fires after a user clicks on the view.\n- **geosceneViewDoubleClick** - Fires after double-clicking on the view.\n- **geosceneViewDrag** - Fires during a pointer drag on the view.\n- **geosceneViewHold** - Fires during a pointer drag on the view.\n- **geosceneViewImmediateClick** - Fires right after a user clicks on the view.\n- **geosceneViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **geosceneViewKeyDown** - Fires after a keyboard key is pressed.\n- **geosceneViewKeyUp** - Fires after a keyboard key is pressed.\n- **geosceneViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **geosceneViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **geosceneViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **geosceneViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **geosceneViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **geosceneViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **geosceneViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **geosceneViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **geosceneViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **geosceneViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __geoscene.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __geoscene.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `addTable(table: __geoscene.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the map tables collection.. \n- `addTables(tables: __geoscene.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the map tables collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __geoscene.GoToTarget2D, options?: __geoscene.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __geoscene.MapViewScreenPoint | MouseEvent, options?: __geoscene.MapViewHitTestOptions): Promise<__geoscene.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __geoscene.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __geoscene.MapViewTakeScreenshotOptions): Promise<__geoscene.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __geoscene.MapViewScreenPoint | MouseEvent): __geoscene.Point`\n- `toScreen(point: __geoscene.Point, options?: __geoscene.ToScreenOptions2D): __geoscene.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenLayerView(layer: __geoscene.Layer): Promise<__geoscene.LayerView>` - Gets the LayerView created on the view for the given layer.",
5090
+ "description": "The GeoScene Map component is used to add 2D maps to web applications. For 3D maps, use the\n[GeoScene Scene component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/).\n\nThe Map component creates a [MapView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-MapView.html) and loads a WebMap from either [GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></geoscene-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<geoscene-map basemap=\"tianditu-vector\" center=\"-154.88, 19.46\" zoom=\"15\"></geoscene-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <geoscene-zoom position=\"top-left\"></geoscene-zoom>\n <geoscene-legend position=\"bottom-left\"></geoscene-legend>\n</geoscene-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/) of the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-map\");\nviewElement.addEventListener(\"geosceneViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-map)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)\n--\n\n### Events\n- **geosceneViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **geosceneViewClick** - Fires after a user clicks on the view.\n- **geosceneViewDoubleClick** - Fires after double-clicking on the view.\n- **geosceneViewDrag** - Fires during a pointer drag on the view.\n- **geosceneViewHold** - Fires during a pointer drag on the view.\n- **geosceneViewImmediateClick** - Fires right after a user clicks on the view.\n- **geosceneViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **geosceneViewKeyDown** - Fires after a keyboard key is pressed.\n- **geosceneViewKeyUp** - Fires after a keyboard key is pressed.\n- **geosceneViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **geosceneViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **geosceneViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **geosceneViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **geosceneViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **geosceneViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **geosceneViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **geosceneViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **geosceneViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **geosceneViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __geoscene.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __geoscene.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `addTable(table: __geoscene.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the map tables collection.. \n- `addTables(tables: __geoscene.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the map tables collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __geoscene.GoToTarget2D, options?: __geoscene.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __geoscene.MapViewScreenPoint | MouseEvent, options?: __geoscene.MapViewHitTestOptions): Promise<__geoscene.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __geoscene.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __geoscene.MapViewTakeScreenshotOptions): Promise<__geoscene.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __geoscene.MapViewScreenPoint | MouseEvent): __geoscene.Point`\n- `toScreen(point: __geoscene.Point, options?: __geoscene.ToScreenOptions2D): __geoscene.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenLayerView(layer: __geoscene.Layer): Promise<__geoscene.LayerView>` - Gets the LayerView created on the view for the given layer.",
5091
5091
  "attributes": [
5092
5092
  {
5093
5093
  "name": "auto-destroy-disabled",
@@ -6053,7 +6053,7 @@
6053
6053
  },
6054
6054
  {
6055
6055
  "name": "geoscene-scene",
6056
- "description": "The GeoScene Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[GeoScene Map component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/).\n\nThe Scene component creates a [SceneView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html)\nand loads a [WebScene](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-WebScene.html) item from either\n[GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></geoscene-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<geoscene-scene\n basemap=\"satellite\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</geoscene-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <geoscene-layer-list position=\"bottom-right\"></geoscene-layer-list>\n</geoscene-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/)\nof the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-scene)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)\n--\n\n### Events\n- **geosceneViewAnalysisViewCreate** - Fires when the view for an analysis is created.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-create)\n- **geosceneViewAnalysisViewCreateError** - Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-create-error)\n- **geosceneViewAnalysisViewDestroy** - Fires after an analysis view is destroyed.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-destroy)\n- **geosceneViewChange** - This event is for view related property changes: [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),\n[camera](#camera), [viewpoint](#viewpoint). This event will also emit if [stationary](#stationary) toggles from `true` to `false`.\n- **geosceneViewClick** - Fires after a user clicks on the view.\n\n```js\nviewElement.addEventListener(\"geosceneViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n // ....\n });\n});\n```\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-click)\n- **geosceneViewDoubleClick** - Fires after double-clicking on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-double-click)\n- **geosceneViewDrag** - Fires during a pointer drag on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-drag)\n- **geosceneViewHold** - Fires after holding either a mouse button or a single finger on the view for a short amount of time.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-hold)\n- **geosceneViewImmediateClick** - Fires right after a user clicks on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-immediate-click)\n- **geosceneViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-immediate-double-click)\n- **geosceneViewKeyDown** - Fires after a keyboard key is pressed.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-key-down)\n- **geosceneViewKeyUp** - Fires after a keyboard key is released.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-key-up)\n- **geosceneViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-create)\n- **geosceneViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-create-error)\n- **geosceneViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-destroy)\n- **geosceneViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-mouse-wheel)\n- **geosceneViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-down)\n- **geosceneViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-enter)\n- **geosceneViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-leave)\n- **geosceneViewPointerMove** - Fires after the mouse or a finger on the display moves.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-move)\n- **geosceneViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-up)\n- **geosceneViewReadyChange** - This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed.\n\n### Methods\n- `addLayer(layer: __geoscene.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `layers` collection.. \n- `addLayers(layers: __geoscene.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `layers` collection.. \n- `addTable(table: __geoscene.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `tables` collection.. \n- `addTables(tables: __geoscene.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `tables` collection.. \n- `closePopup(): Promise<void>` - Closes the [popup](#popup).\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the Scene component, and any associated resources, including its [map](#map), [popup](#popup),\nand removes components or other UI DOM elements added to it.\n- `goTo(target: __geoscene.GoToTarget3D, options?: __geoscene.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#goTo)\n- `hitTest(screenPoint: __geoscene.SceneViewScreenPoint | MouseEvent, options?: __geoscene.SceneViewHitTestOptions): Promise<__geoscene.SceneViewHitTestResult>` - Returns [hit test results](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#HitTestResult)\nfrom each layer that intersects the specified screen coordinates.\n\n```js\nviewElement.addEventListener(\"geosceneViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n if (result?.type === \"graphic\") {\n const { longitude, latitude } = result.mapPoint;\n console.log(\"Hit graphic at (\" + longitude + \", \" + latitude + \")\", result.graphic);\n } else {\n console.log(\"Did not hit any graphic\");\n }\n });\n});\n```\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#hitTest)\n- `openPopup(options?: __geoscene.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup based on input options.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#openPopup)\n- `takeScreenshot(options?: __geoscene.SceneViewTakeScreenshotOptions): Promise<__geoscene.SceneViewScreenshot>` - Creates a screenshot of the current view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#takeScreenshot)\n- `toMap(screenPoint: __geoscene.SceneViewScreenPoint | MouseEvent, options?: __geoscene.SceneViewToMapOptions): __geoscene.Point | nullish` - Converts the given screen point to a [map point](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-geometry-Point.html).\n- `toScreen(point: __geoscene.Point): __geoscene.SceneViewScreenPoint` - Converts the given [map point](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-geometry-Point.html) to a screen point.\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenAnalysisView(analysis: __geoscene.AreaMeasurementAnalysis | __geoscene.DimensionAnalysis | __geoscene.DirectLineMeasurementAnalysis | __geoscene.LineOfSightAnalysis | __geoscene.SliceAnalysis | __geoscene.ViewshedAnalysis): Promise<__geoscene.AreaMeasurementAnalysisView3D | __geoscene.DimensionAnalysisView3D | __geoscene.DirectLineMeasurementAnalysisView3D | __geoscene.LineOfSightAnalysisView3D | __geoscene.SliceAnalysisView3D | __geoscene.ViewshedAnalysisView3D>` - Gets the analysis view created for the given analysis object.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#whenAnalysisView)\n- `whenLayerView(layer: __geoscene.Layer): Promise<__geoscene.LayerView>` - Gets the layer view created on the view for the given layer.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#whenLayerView)",
6056
+ "description": "The GeoScene Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[GeoScene Map component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/).\n\nThe Scene component creates a [SceneView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html)\nand loads a [WebScene](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-WebScene.html) item from either\n[GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></geoscene-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<geoscene-scene\n basemap=\"tianditu-vector\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</geoscene-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <geoscene-layer-list position=\"bottom-right\"></geoscene-layer-list>\n</geoscene-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/)\nof the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-scene)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)\n--\n\n### Events\n- **geosceneViewAnalysisViewCreate** - Fires when the view for an analysis is created.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-create)\n- **geosceneViewAnalysisViewCreateError** - Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-create-error)\n- **geosceneViewAnalysisViewDestroy** - Fires after an analysis view is destroyed.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-destroy)\n- **geosceneViewChange** - This event is for view related property changes: [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),\n[camera](#camera), [viewpoint](#viewpoint). This event will also emit if [stationary](#stationary) toggles from `true` to `false`.\n- **geosceneViewClick** - Fires after a user clicks on the view.\n\n```js\nviewElement.addEventListener(\"geosceneViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n // ....\n });\n});\n```\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-click)\n- **geosceneViewDoubleClick** - Fires after double-clicking on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-double-click)\n- **geosceneViewDrag** - Fires during a pointer drag on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-drag)\n- **geosceneViewHold** - Fires after holding either a mouse button or a single finger on the view for a short amount of time.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-hold)\n- **geosceneViewImmediateClick** - Fires right after a user clicks on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-immediate-click)\n- **geosceneViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-immediate-double-click)\n- **geosceneViewKeyDown** - Fires after a keyboard key is pressed.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-key-down)\n- **geosceneViewKeyUp** - Fires after a keyboard key is released.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-key-up)\n- **geosceneViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-create)\n- **geosceneViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-create-error)\n- **geosceneViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-destroy)\n- **geosceneViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-mouse-wheel)\n- **geosceneViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-down)\n- **geosceneViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-enter)\n- **geosceneViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-leave)\n- **geosceneViewPointerMove** - Fires after the mouse or a finger on the display moves.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-move)\n- **geosceneViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-up)\n- **geosceneViewReadyChange** - This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed.\n\n### Methods\n- `addLayer(layer: __geoscene.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `layers` collection.. \n- `addLayers(layers: __geoscene.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `layers` collection.. \n- `addTable(table: __geoscene.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `tables` collection.. \n- `addTables(tables: __geoscene.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `tables` collection.. \n- `closePopup(): Promise<void>` - Closes the [popup](#popup).\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the Scene component, and any associated resources, including its [map](#map), [popup](#popup),\nand removes components or other UI DOM elements added to it.\n- `goTo(target: __geoscene.GoToTarget3D, options?: __geoscene.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#goTo)\n- `hitTest(screenPoint: __geoscene.SceneViewScreenPoint | MouseEvent, options?: __geoscene.SceneViewHitTestOptions): Promise<__geoscene.SceneViewHitTestResult>` - Returns [hit test results](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#HitTestResult)\nfrom each layer that intersects the specified screen coordinates.\n\n```js\nviewElement.addEventListener(\"geosceneViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n if (result?.type === \"graphic\") {\n const { longitude, latitude } = result.mapPoint;\n console.log(\"Hit graphic at (\" + longitude + \", \" + latitude + \")\", result.graphic);\n } else {\n console.log(\"Did not hit any graphic\");\n }\n });\n});\n```\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#hitTest)\n- `openPopup(options?: __geoscene.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup based on input options.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#openPopup)\n- `takeScreenshot(options?: __geoscene.SceneViewTakeScreenshotOptions): Promise<__geoscene.SceneViewScreenshot>` - Creates a screenshot of the current view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#takeScreenshot)\n- `toMap(screenPoint: __geoscene.SceneViewScreenPoint | MouseEvent, options?: __geoscene.SceneViewToMapOptions): __geoscene.Point | nullish` - Converts the given screen point to a [map point](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-geometry-Point.html).\n- `toScreen(point: __geoscene.Point): __geoscene.SceneViewScreenPoint` - Converts the given [map point](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-geometry-Point.html) to a screen point.\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenAnalysisView(analysis: __geoscene.AreaMeasurementAnalysis | __geoscene.DimensionAnalysis | __geoscene.DirectLineMeasurementAnalysis | __geoscene.LineOfSightAnalysis | __geoscene.SliceAnalysis | __geoscene.ViewshedAnalysis): Promise<__geoscene.AreaMeasurementAnalysisView3D | __geoscene.DimensionAnalysisView3D | __geoscene.DirectLineMeasurementAnalysisView3D | __geoscene.LineOfSightAnalysisView3D | __geoscene.SliceAnalysisView3D | __geoscene.ViewshedAnalysisView3D>` - Gets the analysis view created for the given analysis object.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#whenAnalysisView)\n- `whenLayerView(layer: __geoscene.Layer): Promise<__geoscene.LayerView>` - Gets the layer view created on the view for the given layer.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#whenLayerView)",
6057
6057
  "attributes": [
6058
6058
  {
6059
6059
  "name": "alpha-compositing-enabled",
@@ -9637,7 +9637,7 @@
9637
9637
  },
9638
9638
  {
9639
9639
  "name": "geoscene-map",
9640
- "description": "The GeoScene Map component is used to add 2D maps to web applications. For 3D maps, use the\n[GeoScene Scene component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/).\n\nThe Map component creates a [MapView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-MapView.html) and loads a WebMap from either [GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></geoscene-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<geoscene-map basemap=\"satellite\" center=\"-154.88, 19.46\" zoom=\"15\"></geoscene-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <geoscene-zoom position=\"top-left\"></geoscene-zoom>\n <geoscene-legend position=\"bottom-left\"></geoscene-legend>\n</geoscene-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/) of the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-map\");\nviewElement.addEventListener(\"geosceneViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-map)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)\n--\n\n### Events\n- **geosceneViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **geosceneViewClick** - Fires after a user clicks on the view.\n- **geosceneViewDoubleClick** - Fires after double-clicking on the view.\n- **geosceneViewDrag** - Fires during a pointer drag on the view.\n- **geosceneViewHold** - Fires during a pointer drag on the view.\n- **geosceneViewImmediateClick** - Fires right after a user clicks on the view.\n- **geosceneViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **geosceneViewKeyDown** - Fires after a keyboard key is pressed.\n- **geosceneViewKeyUp** - Fires after a keyboard key is pressed.\n- **geosceneViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **geosceneViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **geosceneViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **geosceneViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **geosceneViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **geosceneViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **geosceneViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **geosceneViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **geosceneViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **geosceneViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __geoscene.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __geoscene.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `addTable(table: __geoscene.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the map tables collection.. \n- `addTables(tables: __geoscene.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the map tables collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __geoscene.GoToTarget2D, options?: __geoscene.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __geoscene.MapViewScreenPoint | MouseEvent, options?: __geoscene.MapViewHitTestOptions): Promise<__geoscene.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __geoscene.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __geoscene.MapViewTakeScreenshotOptions): Promise<__geoscene.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __geoscene.MapViewScreenPoint | MouseEvent): __geoscene.Point`\n- `toScreen(point: __geoscene.Point, options?: __geoscene.ToScreenOptions2D): __geoscene.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenLayerView(layer: __geoscene.Layer): Promise<__geoscene.LayerView>` - Gets the LayerView created on the view for the given layer.",
9640
+ "description": "The GeoScene Map component is used to add 2D maps to web applications. For 3D maps, use the\n[GeoScene Scene component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/).\n\nThe Map component creates a [MapView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-MapView.html) and loads a WebMap from either [GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></geoscene-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<geoscene-map basemap=\"tianditu-vector\" center=\"-154.88, 19.46\" zoom=\"15\"></geoscene-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<geoscene-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <geoscene-zoom position=\"top-left\"></geoscene-zoom>\n <geoscene-legend position=\"bottom-left\"></geoscene-legend>\n</geoscene-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/) of the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-map\");\nviewElement.addEventListener(\"geosceneViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-map)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)\n--\n\n### Events\n- **geosceneViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **geosceneViewClick** - Fires after a user clicks on the view.\n- **geosceneViewDoubleClick** - Fires after double-clicking on the view.\n- **geosceneViewDrag** - Fires during a pointer drag on the view.\n- **geosceneViewHold** - Fires during a pointer drag on the view.\n- **geosceneViewImmediateClick** - Fires right after a user clicks on the view.\n- **geosceneViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **geosceneViewKeyDown** - Fires after a keyboard key is pressed.\n- **geosceneViewKeyUp** - Fires after a keyboard key is pressed.\n- **geosceneViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **geosceneViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **geosceneViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **geosceneViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **geosceneViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **geosceneViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **geosceneViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **geosceneViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **geosceneViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **geosceneViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __geoscene.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __geoscene.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `addTable(table: __geoscene.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the map tables collection.. \n- `addTables(tables: __geoscene.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the map tables collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __geoscene.GoToTarget2D, options?: __geoscene.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __geoscene.MapViewScreenPoint | MouseEvent, options?: __geoscene.MapViewHitTestOptions): Promise<__geoscene.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __geoscene.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __geoscene.MapViewTakeScreenshotOptions): Promise<__geoscene.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __geoscene.MapViewScreenPoint | MouseEvent): __geoscene.Point`\n- `toScreen(point: __geoscene.Point, options?: __geoscene.ToScreenOptions2D): __geoscene.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenLayerView(layer: __geoscene.Layer): Promise<__geoscene.LayerView>` - Gets the LayerView created on the view for the given layer.",
9641
9641
  "doc-url": "https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/",
9642
9642
  "attributes": [
9643
9643
  {
@@ -11523,7 +11523,7 @@
11523
11523
  },
11524
11524
  {
11525
11525
  "name": "geoscene-scene",
11526
- "description": "The GeoScene Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[GeoScene Map component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/).\n\nThe Scene component creates a [SceneView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html)\nand loads a [WebScene](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-WebScene.html) item from either\n[GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></geoscene-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<geoscene-scene\n basemap=\"satellite\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</geoscene-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <geoscene-layer-list position=\"bottom-right\"></geoscene-layer-list>\n</geoscene-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/)\nof the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-scene)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)\n--\n\n### Events\n- **geosceneViewAnalysisViewCreate** - Fires when the view for an analysis is created.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-create)\n- **geosceneViewAnalysisViewCreateError** - Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-create-error)\n- **geosceneViewAnalysisViewDestroy** - Fires after an analysis view is destroyed.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-destroy)\n- **geosceneViewChange** - This event is for view related property changes: [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),\n[camera](#camera), [viewpoint](#viewpoint). This event will also emit if [stationary](#stationary) toggles from `true` to `false`.\n- **geosceneViewClick** - Fires after a user clicks on the view.\n\n```js\nviewElement.addEventListener(\"geosceneViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n // ....\n });\n});\n```\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-click)\n- **geosceneViewDoubleClick** - Fires after double-clicking on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-double-click)\n- **geosceneViewDrag** - Fires during a pointer drag on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-drag)\n- **geosceneViewHold** - Fires after holding either a mouse button or a single finger on the view for a short amount of time.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-hold)\n- **geosceneViewImmediateClick** - Fires right after a user clicks on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-immediate-click)\n- **geosceneViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-immediate-double-click)\n- **geosceneViewKeyDown** - Fires after a keyboard key is pressed.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-key-down)\n- **geosceneViewKeyUp** - Fires after a keyboard key is released.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-key-up)\n- **geosceneViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-create)\n- **geosceneViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-create-error)\n- **geosceneViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-destroy)\n- **geosceneViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-mouse-wheel)\n- **geosceneViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-down)\n- **geosceneViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-enter)\n- **geosceneViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-leave)\n- **geosceneViewPointerMove** - Fires after the mouse or a finger on the display moves.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-move)\n- **geosceneViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-up)\n- **geosceneViewReadyChange** - This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed.\n\n### Methods\n- `addLayer(layer: __geoscene.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `layers` collection.. \n- `addLayers(layers: __geoscene.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `layers` collection.. \n- `addTable(table: __geoscene.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `tables` collection.. \n- `addTables(tables: __geoscene.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `tables` collection.. \n- `closePopup(): Promise<void>` - Closes the [popup](#popup).\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the Scene component, and any associated resources, including its [map](#map), [popup](#popup),\nand removes components or other UI DOM elements added to it.\n- `goTo(target: __geoscene.GoToTarget3D, options?: __geoscene.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#goTo)\n- `hitTest(screenPoint: __geoscene.SceneViewScreenPoint | MouseEvent, options?: __geoscene.SceneViewHitTestOptions): Promise<__geoscene.SceneViewHitTestResult>` - Returns [hit test results](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#HitTestResult)\nfrom each layer that intersects the specified screen coordinates.\n\n```js\nviewElement.addEventListener(\"geosceneViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n if (result?.type === \"graphic\") {\n const { longitude, latitude } = result.mapPoint;\n console.log(\"Hit graphic at (\" + longitude + \", \" + latitude + \")\", result.graphic);\n } else {\n console.log(\"Did not hit any graphic\");\n }\n });\n});\n```\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#hitTest)\n- `openPopup(options?: __geoscene.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup based on input options.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#openPopup)\n- `takeScreenshot(options?: __geoscene.SceneViewTakeScreenshotOptions): Promise<__geoscene.SceneViewScreenshot>` - Creates a screenshot of the current view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#takeScreenshot)\n- `toMap(screenPoint: __geoscene.SceneViewScreenPoint | MouseEvent, options?: __geoscene.SceneViewToMapOptions): __geoscene.Point | nullish` - Converts the given screen point to a [map point](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-geometry-Point.html).\n- `toScreen(point: __geoscene.Point): __geoscene.SceneViewScreenPoint` - Converts the given [map point](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-geometry-Point.html) to a screen point.\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenAnalysisView(analysis: __geoscene.AreaMeasurementAnalysis | __geoscene.DimensionAnalysis | __geoscene.DirectLineMeasurementAnalysis | __geoscene.LineOfSightAnalysis | __geoscene.SliceAnalysis | __geoscene.ViewshedAnalysis): Promise<__geoscene.AreaMeasurementAnalysisView3D | __geoscene.DimensionAnalysisView3D | __geoscene.DirectLineMeasurementAnalysisView3D | __geoscene.LineOfSightAnalysisView3D | __geoscene.SliceAnalysisView3D | __geoscene.ViewshedAnalysisView3D>` - Gets the analysis view created for the given analysis object.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#whenAnalysisView)\n- `whenLayerView(layer: __geoscene.Layer): Promise<__geoscene.LayerView>` - Gets the layer view created on the view for the given layer.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#whenLayerView)",
11526
+ "description": "The GeoScene Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[GeoScene Map component](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-map/).\n\nThe Scene component creates a [SceneView](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html)\nand loads a [WebScene](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-WebScene.html) item from either\n[GeoScene Online](https://www.geosceneonline.cn/geoscene/webapps/home) or [GeoScene Enterprise portal](https://enterprise.geoscene.cn/en/portal/latest/administer/windows/what-is-portal-for-geoscene-.htm).\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></geoscene-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<geoscene-scene\n basemap=\"tianditu-vector\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</geoscene-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<geoscene-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <geoscene-layer-list position=\"bottom-right\"></geoscene-layer-list>\n</geoscene-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://doc.geoscene.cn/javascript/4.33/api-reference/)\nof the GeoScene Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"geoscene-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://doc.geoscene.cn/javascript/4.33/sample-code/?tagged=geoscene-scene)\n- [Get started](https://doc.geoscene.cn/javascript/4.33/get-started/)\n- [Programming patterns](https://doc.geoscene.cn/javascript/4.33/programming-patterns/)\n--\n\n### Events\n- **geosceneViewAnalysisViewCreate** - Fires when the view for an analysis is created.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-create)\n- **geosceneViewAnalysisViewCreateError** - Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-create-error)\n- **geosceneViewAnalysisViewDestroy** - Fires after an analysis view is destroyed.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-analysis-view-destroy)\n- **geosceneViewChange** - This event is for view related property changes: [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),\n[camera](#camera), [viewpoint](#viewpoint). This event will also emit if [stationary](#stationary) toggles from `true` to `false`.\n- **geosceneViewClick** - Fires after a user clicks on the view.\n\n```js\nviewElement.addEventListener(\"geosceneViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n // ....\n });\n});\n```\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-click)\n- **geosceneViewDoubleClick** - Fires after double-clicking on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-double-click)\n- **geosceneViewDrag** - Fires during a pointer drag on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-drag)\n- **geosceneViewHold** - Fires after holding either a mouse button or a single finger on the view for a short amount of time.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-hold)\n- **geosceneViewImmediateClick** - Fires right after a user clicks on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-immediate-click)\n- **geosceneViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-immediate-double-click)\n- **geosceneViewKeyDown** - Fires after a keyboard key is pressed.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-key-down)\n- **geosceneViewKeyUp** - Fires after a keyboard key is released.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-key-up)\n- **geosceneViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-create)\n- **geosceneViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-create-error)\n- **geosceneViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-layerview-destroy)\n- **geosceneViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-mouse-wheel)\n- **geosceneViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-down)\n- **geosceneViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-enter)\n- **geosceneViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-leave)\n- **geosceneViewPointerMove** - Fires after the mouse or a finger on the display moves.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-move)\n- **geosceneViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#event-pointer-up)\n- **geosceneViewReadyChange** - This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed.\n\n### Methods\n- `addLayer(layer: __geoscene.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `layers` collection.. \n- `addLayers(layers: __geoscene.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `layers` collection.. \n- `addTable(table: __geoscene.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `tables` collection.. \n- `addTables(tables: __geoscene.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the [map's](https://next.sites.afd.geoscene.cn/javascript/latest/references/map-components/geoscene-scene/#map) `tables` collection.. \n- `closePopup(): Promise<void>` - Closes the [popup](#popup).\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the Scene component, and any associated resources, including its [map](#map), [popup](#popup),\nand removes components or other UI DOM elements added to it.\n- `goTo(target: __geoscene.GoToTarget3D, options?: __geoscene.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#goTo)\n- `hitTest(screenPoint: __geoscene.SceneViewScreenPoint | MouseEvent, options?: __geoscene.SceneViewHitTestOptions): Promise<__geoscene.SceneViewHitTestResult>` - Returns [hit test results](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#HitTestResult)\nfrom each layer that intersects the specified screen coordinates.\n\n```js\nviewElement.addEventListener(\"geosceneViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n if (result?.type === \"graphic\") {\n const { longitude, latitude } = result.mapPoint;\n console.log(\"Hit graphic at (\" + longitude + \", \" + latitude + \")\", result.graphic);\n } else {\n console.log(\"Did not hit any graphic\");\n }\n });\n});\n```\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#hitTest)\n- `openPopup(options?: __geoscene.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup based on input options.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#openPopup)\n- `takeScreenshot(options?: __geoscene.SceneViewTakeScreenshotOptions): Promise<__geoscene.SceneViewScreenshot>` - Creates a screenshot of the current view.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#takeScreenshot)\n- `toMap(screenPoint: __geoscene.SceneViewScreenPoint | MouseEvent, options?: __geoscene.SceneViewToMapOptions): __geoscene.Point | nullish` - Converts the given screen point to a [map point](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-geometry-Point.html).\n- `toScreen(point: __geoscene.Point): __geoscene.SceneViewScreenPoint` - Converts the given [map point](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-geometry-Point.html) to a screen point.\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenAnalysisView(analysis: __geoscene.AreaMeasurementAnalysis | __geoscene.DimensionAnalysis | __geoscene.DirectLineMeasurementAnalysis | __geoscene.LineOfSightAnalysis | __geoscene.SliceAnalysis | __geoscene.ViewshedAnalysis): Promise<__geoscene.AreaMeasurementAnalysisView3D | __geoscene.DimensionAnalysisView3D | __geoscene.DirectLineMeasurementAnalysisView3D | __geoscene.LineOfSightAnalysisView3D | __geoscene.SliceAnalysisView3D | __geoscene.ViewshedAnalysisView3D>` - Gets the analysis view created for the given analysis object.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#whenAnalysisView)\n- `whenLayerView(layer: __geoscene.Layer): Promise<__geoscene.LayerView>` - Gets the layer view created on the view for the given layer.\n\n[Read more](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#whenLayerView)",
11527
11527
  "doc-url": "https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-scene/",
11528
11528
  "attributes": [
11529
11529
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geoscene/map-components",
3
- "version": "4.33.20",
3
+ "version": "4.33.21",
4
4
  "description": "GeoScene Map Components",
5
5
  "keywords": [
6
6
  "GeoScene",