earthsdk3 3.11.0 → 3.11.1

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.
Files changed (130) hide show
  1. package/dist/earthsdk3.iife.js +1429 -87
  2. package/dist/earthsdk3.js +7912 -5276
  3. package/dist/earthsdk3.umd.cjs +1421 -75
  4. package/dist/types/ESJTypes/ScreenManager/index.d.ts +1 -2
  5. package/dist/types/ESObjectManager/index.d.ts +22 -0
  6. package/dist/types/ESObjects/base/ESTestObject.d.ts +127 -1
  7. package/dist/types/ESObjects/general/ES3DTileset/index.d.ts +2 -8
  8. package/dist/types/ESObjects/general/ES3DTileset/type.d.ts +1 -2
  9. package/dist/types/ESObjects/general/ESAlarm.d.ts +1 -0
  10. package/dist/types/ESObjects/general/ESApertureEffect.d.ts +1 -0
  11. package/dist/types/ESObjects/general/ESAreaMeasurement.d.ts +1 -0
  12. package/dist/types/ESObjects/general/ESAttackArrow.d.ts +1 -0
  13. package/dist/types/ESObjects/general/ESBlastParticleSystem.d.ts +1 -0
  14. package/dist/types/ESObjects/general/ESBoxClipping.d.ts +1 -0
  15. package/dist/types/ESObjects/general/ESCameraView.d.ts +1 -0
  16. package/dist/types/ESObjects/general/ESCameraVisibleRange.d.ts +2 -0
  17. package/dist/types/ESObjects/general/ESCar.d.ts +1 -0
  18. package/dist/types/ESObjects/general/ESCityBasePoint.d.ts +1 -0
  19. package/dist/types/ESObjects/general/ESClassification.d.ts +1 -0
  20. package/dist/types/ESObjects/general/ESClippingPlane.d.ts +1 -0
  21. package/dist/types/ESObjects/general/ESCustomPrimitive/_types.d.ts +44 -0
  22. package/dist/types/ESObjects/general/ESCustomPrimitive/defaults.d.ts +26 -0
  23. package/dist/types/ESObjects/general/ESCustomPrimitive/funcs.d.ts +5 -0
  24. package/dist/types/ESObjects/general/ESCustomPrimitive/index.d.ts +188 -0
  25. package/dist/types/ESObjects/general/ESCustomPrimitive/readme/attributes.d.ts +1 -0
  26. package/dist/types/ESObjects/general/ESCustomPrimitive/readme/boundingVolume.d.ts +1 -0
  27. package/dist/types/ESObjects/general/ESCustomPrimitive/readme/index.d.ts +6 -0
  28. package/dist/types/ESObjects/general/ESCustomPrimitive/readme/indexTypeArray.d.ts +1 -0
  29. package/dist/types/ESObjects/general/ESCustomPrimitive/readme/renderState.d.ts +1 -0
  30. package/dist/types/ESObjects/general/ESCustomPrimitive/readme/shaderSource.d.ts +2 -0
  31. package/dist/types/ESObjects/general/ESCustomPrimitive/readme/uniformMap.d.ts +1 -0
  32. package/dist/types/ESObjects/general/ESCylinder.d.ts +1 -0
  33. package/dist/types/ESObjects/general/ESCzml.d.ts +1 -0
  34. package/dist/types/ESObjects/general/ESDataMesh.d.ts +1 -0
  35. package/dist/types/ESObjects/general/ESDatasmithRuntimeModel.d.ts +1 -0
  36. package/dist/types/ESObjects/general/ESDirectionMeasurement.d.ts +1 -0
  37. package/dist/types/ESObjects/general/ESDistanceMeasurement.d.ts +1 -0
  38. package/dist/types/ESObjects/general/ESDynamicWater.d.ts +1 -0
  39. package/dist/types/ESObjects/general/ESEntityCluster.d.ts +1 -0
  40. package/dist/types/ESObjects/general/ESExcavate.d.ts +1 -0
  41. package/dist/types/ESObjects/general/ESFeatureLayer/FeatureLayer.d.ts +12 -0
  42. package/dist/types/ESObjects/general/ESFireParticleSystem.d.ts +1 -0
  43. package/dist/types/ESObjects/general/ESFireWall.d.ts +10 -0
  44. package/dist/types/ESObjects/general/ESForestTileset.d.ts +2 -0
  45. package/dist/types/ESObjects/general/ESFountainParticleSystem.d.ts +1 -0
  46. package/dist/types/ESObjects/general/ESGaussianSplatting.d.ts +1 -0
  47. package/dist/types/ESObjects/general/ESGeHistoryImagery/index.d.ts +62 -0
  48. package/dist/types/ESObjects/general/ESGeHistoryImagery/type.d.ts +14 -0
  49. package/dist/types/ESObjects/general/ESGeoBezierPath/index.d.ts +104 -0
  50. package/dist/types/ESObjects/general/ESGeoDivTextPoi.d.ts +1 -0
  51. package/dist/types/ESObjects/general/ESGeoExtrudedPolygon.d.ts +1 -0
  52. package/dist/types/ESObjects/general/ESGeoIcon.d.ts +58 -0
  53. package/dist/types/ESObjects/general/ESGeoLineString.d.ts +1 -0
  54. package/dist/types/ESObjects/general/ESGeoPoint.d.ts +58 -0
  55. package/dist/types/ESObjects/general/ESGeoPoints/index.d.ts +4 -0
  56. package/dist/types/ESObjects/general/ESGeoPolygon.d.ts +1 -0
  57. package/dist/types/ESObjects/general/ESGeoPolygonWithFire.d.ts +1 -0
  58. package/dist/types/ESObjects/general/ESGeoRectangle.d.ts +1 -0
  59. package/dist/types/ESObjects/general/ESGeoSmoothPolygon.d.ts +66 -0
  60. package/dist/types/ESObjects/general/ESGeoWater.d.ts +1 -0
  61. package/dist/types/ESObjects/general/ESGltfModel.d.ts +2 -1
  62. package/dist/types/ESObjects/general/ESHeightLimitAnalysis.d.ts +1 -0
  63. package/dist/types/ESObjects/general/ESHeightMeasurement.d.ts +2 -0
  64. package/dist/types/ESObjects/general/ESHole.d.ts +1 -0
  65. package/dist/types/ESObjects/general/ESHuman.d.ts +1 -0
  66. package/dist/types/ESObjects/general/ESHumanFountain.d.ts +2 -3
  67. package/dist/types/ESObjects/general/ESHumanPoi.d.ts +1 -0
  68. package/dist/types/ESObjects/general/ESHumans.d.ts +10 -0
  69. package/dist/types/ESObjects/general/ESImageLabel.d.ts +2 -0
  70. package/dist/types/ESObjects/general/ESKml.d.ts +70 -0
  71. package/dist/types/ESObjects/general/ESLandSlide.d.ts +1 -0
  72. package/dist/types/ESObjects/general/ESLevelRuntimeModel.d.ts +1 -0
  73. package/dist/types/ESObjects/general/ESLocalCircle.d.ts +1 -0
  74. package/dist/types/ESObjects/general/ESLocalLineString.d.ts +73 -0
  75. package/dist/types/ESObjects/general/ESLocalLineStringZ.d.ts +79 -0
  76. package/dist/types/ESObjects/general/ESLocalPolygon.d.ts +1 -0
  77. package/dist/types/ESObjects/general/ESLocalPolygonZ.d.ts +1 -0
  78. package/dist/types/ESObjects/general/ESLocalRectangle.d.ts +1 -0
  79. package/dist/types/ESObjects/general/ESLocalSkyBox.d.ts +1 -0
  80. package/dist/types/ESObjects/general/ESLocationMeasurement.d.ts +2 -0
  81. package/dist/types/ESObjects/general/ESMVTLayer.d.ts +4 -0
  82. package/dist/types/ESObjects/general/ESNavigator.d.ts +2 -0
  83. package/dist/types/ESObjects/general/ESParticleSystemPrimitive.d.ts +1 -0
  84. package/dist/types/ESObjects/general/ESPath/ESPathImpl/PolylineResetting.d.ts +4 -0
  85. package/dist/types/ESObjects/general/ESPipeFence.d.ts +2 -0
  86. package/dist/types/ESObjects/general/ESPipeline.d.ts +2 -0
  87. package/dist/types/ESObjects/general/ESPipeserTileset.d.ts +1 -0
  88. package/dist/types/ESObjects/general/ESPit.d.ts +1 -0
  89. package/dist/types/ESObjects/general/ESPoi2D.d.ts +1 -0
  90. package/dist/types/ESObjects/general/ESPoi3D.d.ts +1 -0
  91. package/dist/types/ESObjects/general/ESPoiTileset.d.ts +1 -0
  92. package/dist/types/ESObjects/general/ESPolygonFence.d.ts +1 -0
  93. package/dist/types/ESObjects/general/ESPolygonFlattenedPlane.d.ts +2 -0
  94. package/dist/types/ESObjects/general/ESPolygonWithHole.d.ts +1 -0
  95. package/dist/types/ESObjects/general/ESPolygonsFlattenedPlane.d.ts +2 -0
  96. package/dist/types/ESObjects/general/ESRectangle.d.ts +2 -0
  97. package/dist/types/ESObjects/general/ESRoad.d.ts +65 -0
  98. package/dist/types/ESObjects/general/ESScale.d.ts +1 -0
  99. package/dist/types/ESObjects/general/ESSignalInterference.d.ts +22 -0
  100. package/dist/types/ESObjects/general/ESSignalTransmission.d.ts +90 -0
  101. package/dist/types/ESObjects/general/ESSquadCombatArrow.d.ts +2 -0
  102. package/dist/types/ESObjects/general/ESStaticMesh.d.ts +1 -0
  103. package/dist/types/ESObjects/general/ESSurfaceAreaMeasurement.d.ts +1 -0
  104. package/dist/types/ESObjects/general/ESTerrainLayer.d.ts +1 -0
  105. package/dist/types/ESObjects/general/ESTerrainLayerEditing/EditingESGeoPolygon.d.ts +8 -0
  106. package/dist/types/ESObjects/general/ESTextLabel.d.ts +6 -0
  107. package/dist/types/ESObjects/general/ESUEWidget.d.ts +2 -0
  108. package/dist/types/ESObjects/general/ESUnrealActor.d.ts +1 -0
  109. package/dist/types/ESObjects/general/ESVideoFusion.d.ts +1 -0
  110. package/dist/types/ESObjects/general/ESViewShed.d.ts +1 -0
  111. package/dist/types/ESObjects/general/ESViewerStatusBar.d.ts +1 -0
  112. package/dist/types/ESObjects/general/ESViewerStatusBarScale.d.ts +1 -0
  113. package/dist/types/ESObjects/general/ESVisibilityAnalysis.d.ts +2 -0
  114. package/dist/types/ESObjects/general/ESVolumeMeasurement.d.ts +1 -0
  115. package/dist/types/ESObjects/general/ESWidget.d.ts +1 -0
  116. package/dist/types/ESObjects/general/ESXYZLayer.d.ts +106 -0
  117. package/dist/types/ESObjects/general/index.d.ts +12 -0
  118. package/dist/types/index.d.ts +0 -1
  119. package/package.json +1 -1
  120. package/dist/types/ESMCPTools/ESMCPClient.d.ts +0 -16
  121. package/dist/types/ESMCPTools/index.d.ts +0 -3
  122. package/dist/types/ESMCPTools/tools/camera.d.ts +0 -14
  123. package/dist/types/ESMCPTools/tools/index.d.ts +0 -4
  124. package/dist/types/ESMCPTools/tools/sceneObject.d.ts +0 -18
  125. package/dist/types/ESMCPTools/types/CallToolResultSchema.d.ts +0 -2477
  126. package/dist/types/ESMCPTools/types/MCPToolType.d.ts +0 -61
  127. package/dist/types/ESMCPTools/types/index.d.ts +0 -2
  128. package/dist/types/getESProperties/ESGltfModelEditingProperties.d.ts +0 -2
  129. package/dist/types/getESProperties/ESObjectWithLocationProperties.d.ts +0 -2
  130. package/dist/types/getESProperties/index.d.ts +0 -7
@@ -0,0 +1,6 @@
1
+ export * from './renderState';
2
+ export * from './boundingVolume';
3
+ export * from './shaderSource';
4
+ export * from './uniformMap';
5
+ export * from './attributes';
6
+ export * from './indexTypeArray';
@@ -0,0 +1 @@
1
+ export declare const indexTypeArrayReadMe = "### \u9ED8\u8BA4\u7684\u7D22\u5F15\u6570\u7EC4\n```\n{\n \"type\": \"Uint16Array\",\n \"array\": [0, 1, 2, 3, 4, 5]\n}\n```\n\n### \u7D22\u5F15\u7C7B\u578B\u89C4\u683C\u8BF4\u660E\n```\nexport type IndexJsonType = {\n type: 'Uint8Array' | 'Uint16Array' | 'Uint32Array';\n array: number[];\n}\n```\n";
@@ -0,0 +1 @@
1
+ export declare const renderStateReadMe = "### \u9ED8\u8BA4\u4F7F\u7528\u7684\u6E32\u67D3\u72B6\u6001\n```\n{\n depthTest: {\n enabled: true,\n },\n cull: {\n enabled: true,\n face: 1029,\n },\n blending: {\n enabled: true,\n equationRgb: 0x8006,\n equationAlpha: 0x8006,\n functionSourceRgb: 0x0302,\n functionSourceAlpha: 1,\n functionDestinationRgb: 0x0303,\n functionDestinationAlpha: 0x0303,\n }\n};\n```\n\n### \u6240\u6709\u72B6\u6001\u503C\u8BF4\u660E\n```\ninterface RenderStateOptions {\n // \u9ED8\u8BA4\u503C\uFF1A2305 \u53EF\u9009\u503C: 2304(CLOCKWISE\u987A\u65F6\u9488), 2305(COUNTER_CLOCKWISE\u9006\u65F6\u9488)\n frontFace?: number, \n cull?: {\n enabled?: boolean, // false\n // \u9ED8\u8BA4\u503C\uFF1A1029 \u53EF\u9009\u503C\uFF1A1028(FRONT), 1029(BACK), 1032(FRONT_AND_BACK)\n face?: CullFace, // CullFace.BACK\n },\n lineWidth?: number, // 1 windows\u7CFB\u7EDF\u53EA\u80FD\u662F\uFF0C\u663E\u5361\u9A71\u52A8\u539F\u56E0\uFF0C\u8BBE\u7F6E\u5176\u4ED6\u6570\u503C\u4E0D\u8D77\u4F5C\u7528\uFF01\n polygonOffset?: {\n enabled?: boolean, // false\n factor?: number, // 0,\n units?: number, // 0\n },\n scissorTest?: {\n enabled?: boolean, // false,\n rectangle?: {\n x?: number, // 0,\n y?: number, // 0,\n width?: number, // 0,\n height?: number, // 0\n }\n },\n depthRange?: {\n near?: number, // 0,\n far?: number, // 1\n },\n depthTest?: {\n enabled?: boolean; // false,\n // \u9ED8\u8BA4\u503C:513 \u53EF\u9009\u503C\uFF1A512(NEVER), 513(LESS), 514(EQUAL), 515(LESS_OR_EQUAL), \n // 516(GREATER), 517(NOT_EQUAL), 518(GREATER_OR_EQUAL), 519(ALWAYS)\n func?: number; \n },\n colorMask?: {\n red?: boolean, // true,\n green?: boolean, // true,\n blue?: boolean, // true,\n alpha?: boolean, // true\n },\n depthMask?: boolean, // true,\n stencilMask?: number, // ~0\n blending?: {\n enabled?: boolean, // false,\n color?: {\n red?: number, // 0.0,\n green?: number, // 0.0,\n blue?: number, // 0.0,\n alpha?: number, // 0.0\n },\n // \u9ED8\u8BA4\u503C\uFF1A32774, \u53EF\u9009\u503C\uFF1A32774(ADD), 32778(SUBTRACT), 32779(REVERSE_SUBTRACT), 32775(MIN), MIN(MAX)\n equationRgb?: BlendEquation, // BlendEquation.ADD,\n // \u9ED8\u8BA4\u503C\uFF1A32774, \u53EF\u9009\u503C\uFF1A32774(ADD), 32778(SUBTRACT), 32779(REVERSE_SUBTRACT), 32775(MIN), MIN(MAX)\n equationAlpha?: BlendEquation, // BlendEquation.ADD,\n // BlendFunction\u7C7B\u578B\u53EF\u9009\u503C\uFF1A0(ZERO), 1(ONE), 768(SOURCE_COLOR), 769(ONE_MINUS_SOURCE_COLOR),\n // 774(DESTINATION_COLOR), 775(ONE_MINUS_DESTINATION_COLOR), 770(SOURCE_ALPHA),\n // 771(ONE_MINUS_SOURCE_ALPHA), 772(DESTINATION_ALPHA), 773(ONE_MINUS_DESTINATION_ALPHA),\n // 32769(CONSTANT_COLOR), 32770(ONE_MINUS_CONSTANT_COLOR), 32771(CONSTANT_ALPHA),\n // 32772(ONE_MINUS_CONSTANT_ALPHA), 776(SOURCE_ALPHA_SATURATE)\n // \u9ED8\u8BA4\u503C\uFF1A1, \u53EF\u9009\u503C\u53C2\u89C1\u4E0A\u65B9BlendFunction\u7C7B\u578B\u53EF\u9009\u503C\n functionSourceRgb?: BlendFunction, // BlendFunction.ONE,\n // \u9ED8\u8BA4\u503C\uFF1A1, \u53EF\u9009\u503C\u53C2\u89C1\u4E0A\u65B9BlendFunction\u7C7B\u578B\u53EF\u9009\u503C\n functionSourceAlpha?: BlendFunction, // BlendFunction.ONE,\n // \u9ED8\u8BA4\u503C\uFF1A0, \u53EF\u9009\u503C\u53C2\u89C1\u4E0A\u65B9BlendFunction\u7C7B\u578B\u53EF\u9009\u503C\n functionDestinationRgb?: BlendFunction, // BlendFunction.ZERO,\n // \u9ED8\u8BA4\u503C\uFF1A0, \u53EF\u9009\u503C\u53C2\u89C1\u4E0A\u65B9BlendFunction\u7C7B\u578B\u53EF\u9009\u503C\n functionDestinationAlpha?: BlendFunction, // BlendFunction.ZERO\n },\n stencilTest?: {\n enabled?: boolean, // false,\n // StencilFunction\u7C7B\u578B\u53EF\u9009\u503C\uFF1A512(NEVER), 513(LESS), 514(EQUAL), 515(LESS_OR_EQUAL),\n // 516(GREATER), 517(NOT_EQUAL), 518(GREATER_OR_EQUAL), 519(ALWAYS)\n // \u9ED8\u8BA4\u503C 519, \u53EF\u9009\u503C\u53C2\u89C1StencilFunction\u7C7B\u578B\u53EF\u9009\u503C\n frontFunction?: StencilFunction, // StencilFunction.ALWAYS,\n // \u9ED8\u8BA4\u503C 519, \u53EF\u9009\u503C\u53C2\u89C1StencilFunction\u7C7B\u578B\u53EF\u9009\u503C\n backFunction?: StencilFunction, // StencilFunction.ALWAYS,\n reference?: number; // 0,\n mask?: number; // ~0,\n // StencilOperation\u7C7B\u578B\u53EF\u9009\u503C\uFF1A0(ZERO), 7680(KEEP), 7681(REPLACE), 7682(INCREMENT),\n // 7683(DECREMENT), 5386(INVERT), 34055(INCREMENT_WRAP), 34056(DECREMENT_WRAP)\n frontOperation?: {\n // \u9ED8\u8BA4\u503C\uFF1A7680\uFF0C\u53EF\u9009\u503C\u53C2\u89C1\u4E0A\u65B9StencilOperation\u7C7B\u578B\u53EF\u9009\u503C\n fail?: StencilOperation, // StencilOperation.KEEP,\n // \u9ED8\u8BA4\u503C\uFF1A7680\uFF0C\u53EF\u9009\u503C\u53C2\u89C1\u4E0A\u65B9StencilOperation\u7C7B\u578B\u53EF\u9009\u503C\n zFail?: StencilOperation, // StencilOperation.KEEP,\n // \u9ED8\u8BA4\u503C\uFF1A7680\uFF0C\u53EF\u9009\u503C\u53C2\u89C1\u4E0A\u65B9StencilOperation\u7C7B\u578B\u53EF\u9009\u503C\n zPass?: StencilOperation, // StencilOperation.KEEP\n },\n backOperation?: {\n // \u9ED8\u8BA4\u503C\uFF1A7680\uFF0C\u53EF\u9009\u503C\u53C2\u89C1\u4E0A\u65B9StencilOperation\u7C7B\u578B\u53EF\u9009\u503C\n fail?: StencilOperation, // StencilOperation.KEEP,\n // \u9ED8\u8BA4\u503C\uFF1A7680\uFF0C\u53EF\u9009\u503C\u53C2\u89C1\u4E0A\u65B9StencilOperation\u7C7B\u578B\u53EF\u9009\u503C\n zFail?: StencilOperation, // StencilOperation.KEEP,\n // \u9ED8\u8BA4\u503C\uFF1A7680\uFF0C\u53EF\u9009\u503C\u53C2\u89C1\u4E0A\u65B9StencilOperation\u7C7B\u578B\u53EF\u9009\u503C\n zPass?: StencilOperation, // StencilOperation.KEEP\n }\n },\n sampleCoverage?: {\n enabled?: boolean, // false,\n value?: number, // 1.0,\n invert?: boolean, // false\n }\n}\n```\n";
@@ -0,0 +1,2 @@
1
+ export declare const vertexShaderSourceReadMe = "### \u9ED8\u8BA4\u9876\u70B9Shader\u793A\u4F8B\n```\nin vec3 position;\nin vec3 normal;\nin vec2 st;\nout vec3 v_normalEC;\nout vec2 v_st;\nvoid main()\n{\n // \u5982\u679C\u8FD9\u4E00\u53E5\u6CE8\u91CA\uFF0C\u8981\u76F8\u5E94\u5730\u6CE8\u91CA\u6389attribute\u4E2D\u7684normal\uFF0C\u4E5F\u5C31\u662F\u8BF4\u9876\u70B9\u5C5E\u6027\u8981\u548Cshader\u4E2D\u7684\u4E00\u4E00\u5339\u914D\uFF01\n v_normalEC = czm_normal * normal; \n v_st = st;\n gl_Position = czm_modelViewProjection * vec4(position, 1.0);\n}\n```\n\n### \u76F8\u5BF9\u5B8C\u6574\u7684\u9876\u70B9Shader\n```\n// vtxf \u4F7F\u7528double\u7C7B\u578B\u7684position\u8FDB\u884C\u8BA1\u7B97\n// in vec3 position3DHigh;\n// in vec3 position3DLow;\nin vec3 position;\nin vec3 normal;\nin vec2 st;\nin float batchId;\nout vec3 v_positionEC;\nout vec3 v_normalEC;\nout vec2 v_st;\nvoid main()\n{\n // vtxf \u4F7F\u7528double\u7C7B\u578B\u7684position\u8FDB\u884C\u8BA1\u7B97\n // vec4 p = czm_translateRelativeToEye(position3DHigh, position3DLow);\n // v_positionEC = (czm_modelViewRelativeToEye * p).xyz; // position in eye coordinates\n // v_normalEC = czm_normal * normal; // normal in eye coordinates\n // v_st = st;\n // gl_Position = czm_modelViewProjectionRelativeToEye * p;\n v_positionEC = (czm_modelView * vec4(position, 1.0)).xyz; // position in eye coordinates\n v_normalEC = czm_normal * normal; // normal in eye coordinates\n v_st = st;\n gl_Position = czm_modelViewProjection * vec4(position, 1.0);\n}\n```\n";
2
+ export declare const fragmentShaderSourceReadMe = "### \u9ED8\u8BA4\u7247\u5143Shader\u793A\u4F8B\n```\nin vec2 v_st;\nuniform sampler2D u_image;\nuniform vec4 u_color;\nvoid main()\n{\n vec4 imageColor = texture(u_image, v_st);\n out_FragColor = imageColor * u_color;\n}\n```\n\n### xe2VisibleAlpha\u4F7F\u7528\u793A\u4F8B\nxe2VisibleAlpha\u662F\u6839\u636E\u89C6\u8DDD\u8303\u56F4\u81EA\u52A8\u8BA1\u7B97\u51FA\u6765\u7684alpha\u503C\uFF0C\u7528\u6765\u8BBE\u7F6E\u900F\u660E\uFF0C\u4EA7\u751F\u6E10\u663E\u7684\u6548\u679C\u3002\n``` \nin vec2 v_st;\nuniform sampler2D u_image;\nuniform vec4 u_color;\nuniform float u_xe2VisibleAlpha;\nvoid main()\n{\n vec4 imageColor = texture(u_image, v_st);\n out_FragColor = imageColor * u_color * vec4(1., 1., 1., u_xe2VisibleAlpha);\n}\n```\n\n### \u76F8\u5BF9\u5B8C\u6574\u7684\u7247\u5143Shader\u793A\u4F8B\n```\nin vec3 v_positionEC;\nin vec3 v_normalEC;\nin vec2 v_st;\nuniform sampler2D myImage;\nvoid main()\n{\n vec3 positionToEyeEC = -v_positionEC;\n vec3 normalEC = normalize(v_normalEC);\n#ifdef FACE_FORWARD\n normalEC = faceforward(normalEC, vec3(0.0, 0.0, 1.0), -normalEC);\n#endif\n czm_materialInput materialInput;\n materialInput.normalEC = normalEC;\n materialInput.positionToEyeEC = positionToEyeEC;\n materialInput.st = v_st;\n //czm_material material = czm_getMaterial(materialInput);\n czm_material material = czm_getDefaultMaterial(materialInput);\n vec4 imageColor = texture(myImage, materialInput.st);\n material.diffuse = imageColor.rgb;\n material.alpha = imageColor.a;\n// #ifdef FLAT\n out_FragColor = vec4(material.diffuse + material.emission, material.alpha);\n// #else\n // out_FragColor = czm_phong(normalize(positionToEyeEC), material, czm_lightDirectionEC);\n// #endif\n}\n```\n";
@@ -0,0 +1 @@
1
+ export declare const uniformMapReadMe = "### \u9ED8\u8BA4\u4F7F\u7528\u7684UniformMap\n```\n{\n \"myImage\": { \n \"type\": \"image\", \n \"uri\": \"${earthsdk3-assets-script-dir}/assets/img/location.png\"\n }\n}\n```\n\n### \u793A\u4F8B1\n```\n{\n \"myImage\": { \n \"type\": \"image\", \n \"uri\": \"${earthsdk3-assets-script-dir}/assets/img/location.png\"\n },\n \"ratio\": 0.5,\n}\n```\n\n### \u793A\u4F8B2\n```\n{\n \"u_image\": {\n \"type\": \"texture\",\n \"id\": \"3010d3bd-cbf8-46cd-939f-c0b39b926255\"\n },\n \"ratio\": 0.5,\n}\n\n```\n\n### \u793A\u4F8B3\n```\n{\n \"ratioAndStart\": [0.5, 0.7],\n}\n```\n\n### UniformMap\u7C7B\u578B\u89C4\u683C\n```\nexport type CzmCustomPrimitiveUniformType = number | [number, number] | [number, number, number] | [number, number, number, number] | { type: 'image', uri: string };\nexport type CzmCustomPrimitiveUniformMapType = { [k: string]: CzmCustomPrimitiveUniformType };\n```\n";
@@ -25,6 +25,7 @@ export type ESJCylinderMaterialParamsType = {
25
25
  * 圆柱体对象类
26
26
  * 继承自 ESObjectWithLocation,提供圆柱体几何形状的可视化功能
27
27
  * 支持多种渲染引擎(Cesium、UE等)
28
+ * @remarks 圆柱体
28
29
  */
29
30
  export declare class ESCylinder extends ESObjectWithLocation {
30
31
  /**
@@ -18,6 +18,7 @@ import { ESSceneObject } from '../base';
18
18
  * 特殊使用限制或潜在的副作用:
19
19
  * - 在使用 flyTo 方法时,如果未指定持续时间,将使用默认值。
20
20
  * - 重置时钟时,会根据当前加载的数据重新设置时钟状态。
21
+ * @remarks CZML数据加载
21
22
  */
22
23
  export declare class ESCzml extends ESSceneObject {
23
24
  static readonly createDefaultProps: () => {
@@ -27,6 +27,7 @@ export type ESDataMeshColorStopType = {
27
27
  *
28
28
  * 特殊使用限制或潜在的副作用:
29
29
  * - maxTime 属性不可修改,如需修改请调整默认值。
30
+ * @remarks 数据网格
30
31
  */
31
32
  export declare class ESDataMesh extends ESObjectWithLocation {
32
33
  static readonly createDefaultProps: () => {
@@ -19,6 +19,7 @@ import { ESObjectWithLocation } from '../base';
19
19
  *
20
20
  * 特殊使用限制或潜在的副作用:
21
21
  * - 无特殊使用限制或潜在的副作用。
22
+ * @remarks Datasmith运行时模型
22
23
  */
23
24
  export declare class ESDatasmithRuntimeModel extends ESObjectWithLocation {
24
25
  static readonly createDefaultProps: () => {
@@ -17,6 +17,7 @@ import { ESJEditingBindModeType, ESJStrokeStyle } from '../../index';
17
17
  *
18
18
  * 特殊使用限制或潜在的副作用:
19
19
  * - 无特殊使用限制或潜在的副作用。
20
+ * @remarks 方向测量
20
21
  */
21
22
  export declare class ESDirectionMeasurement extends ESGeoVector {
22
23
  static readonly createDefaultProps: () => {
@@ -14,6 +14,7 @@ import { UniteChanged } from '../../xbsj-base';
14
14
  * 特殊使用限制或潜在的副作用:
15
15
  * - 该类依赖于 ESGeoLineString 类,因此需要确保 ESGeoLineString 已被正确导入和使用。
16
16
  * - 在设置线条颜色时,需要传入一个包含四个元素的数组,分别表示 RGBA 颜色值。
17
+ * @remarks 距离测量
17
18
  */
18
19
  export declare class ESDistanceMeasurement extends ESGeoLineString {
19
20
  static readonly createDefaultProps: () => {
@@ -24,6 +24,7 @@ import { ESLocalPolygon } from './ESLocalPolygon';
24
24
  * 特殊的使用限制或潜在的副作用:
25
25
  * - 当水域类型(waterType)不为 custom 时,其他控制效果的参数不会生效,而是使用对应水域类型的预定效果。
26
26
  * - 水体浑浊度(murkiness)的取值范围应在 0 到 10 之间,超出该范围可能导致不可预知的行为。
27
+ * @remarks 动态水面
27
28
  */
28
29
  export declare class ESDynamicWater extends ESLocalPolygon {
29
30
  static readonly createDefaultProps: () => {
@@ -66,6 +66,7 @@ export type ESEntityClusterStyle = {
66
66
  * 特殊使用限制或潜在的副作用:
67
67
  * - 在设置 `url` 属性时,如果 `url` 是一个对象或JSON字符串,数据将直接被解析和设置。如果是URL字符串,数据将通过 `fetch` 方法异步加载。
68
68
  * - 数据加载失败时,会在控制台输出警告信息。
69
+ * @remarks 实体聚合
69
70
  */
70
71
  export declare class ESEntityCluster extends ESVisualObject {
71
72
  static readonly createDefaultProps: () => {
@@ -17,6 +17,7 @@ import { ESGeoPolygon } from './ESGeoPolygon';
17
17
  * 特殊使用限制或潜在的副作用:
18
18
  * - 该类依赖于 ESGeoPolygon 类,因此需要确保 ESGeoPolygon 已被正确导入和使用。
19
19
  * - 挖坑操作可能会影响地形数据,使用时需谨慎。
20
+ * @remarks 挖方
20
21
  */
21
22
  export declare class ESExcavate extends ESGeoPolygon {
22
23
  static readonly createDefaultProps: () => {
@@ -1,6 +1,18 @@
1
1
  import { ESViewer } from '../../../ESViewer';
2
2
  import { Destroyable } from '../../../xbsj-base';
3
3
  import { ESFeatureLayer } from './index';
4
+ /**
5
+ * 要素图层类,负责管理点、线、面三种矢量图层的创建与生命周期。
6
+ *
7
+ * 根据 {@link ESFeatureLayer} 中配置的 `layerType`(`pointVector`、`polylineVector`、`polygonVector`),
8
+ * 自动实例化对应的 {@link PointLayer}、{@link PolyLineLayer} 或 {@link PolygonLayer}。
9
+ * 支持通过 URL 远程加载 GeoJSON/Fetch 数据,也支持直接传入 features 数组。
10
+ *
11
+ * 主要功能:
12
+ * - 响应 `featurePropsChanged` 事件,增量重建图层
13
+ * - 支持飞行定位到图层的所有要素(`flyToEvent`)
14
+ * - 自动清理旧图层,避免内存泄漏
15
+ */
4
16
  export declare class FeatureLayer extends Destroyable {
5
17
  private _initEvent;
6
18
  init(): void;
@@ -19,6 +19,7 @@ import { ESObjectWithLocation } from '../base';
19
19
  * 特殊使用限制或潜在的副作用:
20
20
  * - 该类依赖于 ESObjectWithLocation 类,因此需要确保 ESObjectWithLocation 已被正确导入和使用。
21
21
  * - 默认配置中包含了图片和偏移的默认值,这些值可以在实例化后通过属性进行修改。
22
+ * @remarks 火焰粒子。
22
23
  */
23
24
  export declare class ESFireParticleSystem extends ESObjectWithLocation {
24
25
  static readonly createDefaultProps: () => {
@@ -20,6 +20,7 @@ import { ESFireParticleSystem } from './ESFireParticleSystem';
20
20
  * 构造函数参数:
21
21
  * - 无特殊构造参数,使用默认构造函数
22
22
  * - 对象创建后可通过属性设置坐标和火焰参数
23
+ * @remarks 火焰墙
23
24
  */
24
25
  export declare class ESFireWall extends ESGeoVector {
25
26
  /**
@@ -93,6 +94,15 @@ export declare class ESFireWall extends ESGeoVector {
93
94
  */
94
95
  constructor(id?: string);
95
96
  createFires(): void;
97
+ /**
98
+ * 对多边形边界点进行插值,每两个相邻点之间插入中点,用于细化火焰墙粒子布置。
99
+ *
100
+ * 将输入点集视为环形多边形(首尾相连),对每个点与其下一个相邻点计算中点,
101
+ * 返回 `[原位置, 中点]` 交替排列的数组,使点数翻倍。
102
+ *
103
+ * @param points - 三维坐标点数组 `[经度, 纬度, 高度]`,表示环形多边形的顶点
104
+ * @returns 插值后的点数组,长度是输入的两倍,每对 `[原位置, 中点]` 交替排列
105
+ */
96
106
  interpolationPoints(points: [number, number, number][]): [number, number, number][];
97
107
  clear(): void;
98
108
  /**
@@ -46,6 +46,8 @@ export type ESXiaoBanWidget = {
46
46
  * 特殊使用限制或潜在的副作用:
47
47
  * - 该类依赖于 ESVisualObject 类,因此需要确保 ESVisualObject 已被正确导入和使用。
48
48
  * - 在使用该类时,需要提供有效的树类型和小板块属性,否则可能会导致渲染问题。
49
+ *
50
+ * @remarks 森林瓦片集
49
51
  */
50
52
  export declare class ESForestTileset extends ESVisualObject {
51
53
  static readonly createDefaultProps: () => {
@@ -19,6 +19,7 @@ import { ESObjectWithLocation } from '../base';
19
19
  *
20
20
  * 特殊的使用限制或潜在的副作用:
21
21
  * - 无特殊使用限制或潜在的副作用。
22
+ * @remarks 喷泉粒子
22
23
  */
23
24
  export declare class ESFountainParticleSystem extends ESObjectWithLocation {
24
25
  static readonly createDefaultProps: () => {
@@ -19,6 +19,7 @@ import { ESObjectWithLocation } from '../base';
19
19
  *
20
20
  * 特殊使用限制或潜在的副作用:
21
21
  * - 无特殊使用限制或潜在的副作用。
22
+ * @remarks 高斯溅射
22
23
  */
23
24
  export declare class ESGaussianSplatting extends ESObjectWithLocation {
24
25
  static readonly createDefaultProps: () => {
@@ -0,0 +1,62 @@
1
+ import { Event, UniteChanged } from '../../../xbsj-base';
2
+ import { ESJVector4D } from '../../../ESJTypes';
3
+ import { ESViewer } from '../../../ESViewer';
4
+ import { ESVisualObject } from '../../base';
5
+ import { ESImageryLayer } from '../ESImageryLayer';
6
+ /**
7
+ * ESGeHistoryImagery - 谷歌历史影像图层对象
8
+ *
9
+ * 用于在场景中加载和显示谷歌历史影像的图层对象,支持按时间选择影像数据。
10
+ * 可通过 currentDate 属性设置日期以查看不同时期的卫星影像。
11
+ *
12
+ * @see https://c0yh9tnn0na.feishu.cn/wiki/TgnAwbo9jiI3NpkxPg6czXqsnwe
13
+ * @see https://gggis.com/siyouhua/gehis.html 详细内容请参阅谷谷GIS
14
+ */
15
+ export declare class ESGeHistoryImagery extends ESVisualObject {
16
+ static readonly createDefaultProps: () => {
17
+ /** 当前日期,格式如 "2020-01-01",用于选择不同时间的历史影像 */
18
+ currentDate: string;
19
+ /** 图层叠加层级,数值越大显示越靠上 */
20
+ zIndex: number;
21
+ /** 影像显示的地理范围,格式为 [west, south, east, north] 经纬度数组 */
22
+ rectangle: import('../../..').ReactiveVariable<ESJVector4D>;
23
+ show: boolean;
24
+ collision: boolean;
25
+ allowPicking: boolean;
26
+ flyToParam: import('../../..').ReactiveVariable<import('../../..').ESJFlyToParam | undefined>;
27
+ flyInParam: import('../../..').ReactiveVariable<import('../../..').ESJFlyInParam | undefined>;
28
+ name: string;
29
+ ref: string | undefined;
30
+ extras: import('../../..').ReactiveVariable<import('../../..').JsonValue>;
31
+ devTags: import('../../..').ReactiveVariable<string[] | undefined>;
32
+ execOnceFuncStr: string | undefined;
33
+ updateFuncStr: string | undefined;
34
+ toDestroyFuncStr: string | undefined;
35
+ };
36
+ static readonly type: string;
37
+ private _esImageryLayer;
38
+ get esImageryLayer(): ESImageryLayer;
39
+ private _datesEvent;
40
+ get datesEvent(): Event<[string[] | undefined, ESViewer]>;
41
+ /**
42
+ * 创建一个 ESGeHistoryImagery 实例
43
+ * @param id - 可选的对象唯一标识符
44
+ */
45
+ constructor(id?: string);
46
+ /**
47
+ * 获取对象的 ES 属性列表
48
+ * @returns 包含 basic 分类下各属性的配置对象
49
+ */
50
+ getESProperties(): {
51
+ basic: import('../../..').Property[];
52
+ general: import('../../..').Property[];
53
+ more: import('../../..').Property[];
54
+ defaultMenu: string;
55
+ dataSource: import('../../..').Property[];
56
+ location: import('../../..').Property[];
57
+ coordinate: import('../../..').Property[];
58
+ style: import('../../..').Property[];
59
+ };
60
+ }
61
+ export interface ESGeHistoryImagery extends UniteChanged<ReturnType<typeof ESGeHistoryImagery.createDefaultProps>> {
62
+ }
@@ -0,0 +1,14 @@
1
+ import { ESViewer } from '../../../ESViewer';
2
+ import { ESImageryLayer } from '../ESImageryLayer';
3
+ import { Destroyable } from '../../../xbsj-base';
4
+ import { ESGeHistoryImagery } from './index';
5
+ /**
6
+ * 获取当前瓦片坐标的时间信息,并定期更新影像图层。
7
+ * 根据相机位置计算当前视口的瓦片坐标(X/Y/Z),
8
+ * 从服务端获取该瓦片对应的时间列表,
9
+ * 并通过定时器每隔 3 秒刷新一次,
10
+ * 同时监听当前日期变化更新影像图层的 URL。
11
+ */
12
+ export declare class GetCurrentTileCoordinates extends Destroyable {
13
+ constructor(viewer: ESViewer, sceneObject: ESGeHistoryImagery, esImageryLayer: ESImageryLayer);
14
+ }
@@ -0,0 +1,104 @@
1
+ import { SceneObjectKey, UniteChanged, Listener } from '../../../xbsj-base';
2
+ import { ESGeoVector } from '../../base';
3
+ /** Czm 实现层注入的路径内部对象接口 */
4
+ interface GeoPolylinePathLike {
5
+ geoPath: {
6
+ timePosRots: any;
7
+ };
8
+ ratio: number;
9
+ ratioChanged: Listener<[]>;
10
+ }
11
+ /** 贝塞尔曲线路径,支持动画播放 */
12
+ export declare class ESGeoBezierPath extends ESGeoVector {
13
+ static readonly createDefaultProps: () => {
14
+ /** 是否显示当前点位标识 */
15
+ currentPoiShow: boolean;
16
+ /** 是否贴地
17
+ * @deprecated
18
+ */
19
+ ground: boolean;
20
+ /** 弧线类型:NONE(直线)、GEODESIC(地理直线)、RHUMB(地理恒向线) */
21
+ arcType: string;
22
+ /** 是否循环播放 */
23
+ loop: boolean;
24
+ /** 当前播放时间(毫秒) */
25
+ currentTime: number;
26
+ /** 单次播放总时长(毫秒) */
27
+ duration: number;
28
+ /** 播放速度倍率 */
29
+ speed: number;
30
+ /** 是否正在播放 */
31
+ playing: boolean;
32
+ /** 路径插值采样数,越高路径越平滑 */
33
+ resolution: number;
34
+ /** 曲线锐化程度,值越大拐角越尖锐 */
35
+ sharpness: number;
36
+ /** 是否开启深度检测 */
37
+ depthTest: boolean;
38
+ /** 折线超前显示时长(毫秒) */
39
+ leadTime: number;
40
+ /** 折线滞后显示时长(毫秒) */
41
+ trailTime: number;
42
+ /** 是否描边 */
43
+ stroked: boolean;
44
+ pointed: boolean;
45
+ pointStyle: import('../../..').ReactiveVariable<import('../../..').ESJPointStyle>;
46
+ strokeStyle: import('../../..').ReactiveVariable<import('../../..').ESJStrokeStyle>;
47
+ filled: boolean;
48
+ fillStyle: import('../../..').ReactiveVariable<import('../../..').ESJFillStyle>;
49
+ points: import('../../..').ReactiveVariable<[number, number, number][] | undefined>;
50
+ show: boolean;
51
+ collision: boolean;
52
+ allowPicking: boolean;
53
+ flyToParam: import('../../..').ReactiveVariable<import('../../..').ESJFlyToParam | undefined>;
54
+ flyInParam: import('../../..').ReactiveVariable<import('../../..').ESJFlyInParam | undefined>;
55
+ name: string;
56
+ ref: string | undefined;
57
+ extras: import('../../..').ReactiveVariable<import('../../..').JsonValue>;
58
+ devTags: import('../../..').ReactiveVariable<string[] | undefined>;
59
+ execOnceFuncStr: string | undefined;
60
+ updateFuncStr: string | undefined;
61
+ toDestroyFuncStr: string | undefined;
62
+ };
63
+ static readonly type: string;
64
+ updateEditing(): void;
65
+ _deprecated: string[];
66
+ private _deprecatedWarningFunc;
67
+ private _geoPolylinePath;
68
+ get geoPolylinePath(): GeoPolylinePathLike;
69
+ set geoPolylinePath(value: GeoPolylinePathLike);
70
+ get geoPath(): {
71
+ timePosRots: any;
72
+ };
73
+ get ratio(): number;
74
+ set ratio(value: number);
75
+ get ratioChanged(): Listener<[]>;
76
+ private _currentDistance;
77
+ get currentDistance(): number;
78
+ set currentDistance(value: number);
79
+ get currentDistanceChanged(): Listener<[number, number]>;
80
+ static supportEditingModes: string[];
81
+ /**
82
+ * 构造函数
83
+ * @param id 场景对象标识
84
+ */
85
+ constructor(id?: SceneObjectKey);
86
+ get timePosRots(): any;
87
+ /**
88
+ * 获取属性列表,用于在 UI 中展示和编辑
89
+ * @returns 属性配置列表
90
+ */
91
+ getESProperties(): {
92
+ more: import('../../..').Property[];
93
+ defaultMenu: string;
94
+ coordinate: import('../../..').Property[];
95
+ style: import('../../..').Property[];
96
+ general: import('../../..').Property[];
97
+ basic: import('../../..').Property[];
98
+ dataSource: import('../../..').Property[];
99
+ location: import('../../..').Property[];
100
+ };
101
+ }
102
+ export interface ESGeoBezierPath extends UniteChanged<ReturnType<typeof ESGeoBezierPath.createDefaultProps>> {
103
+ }
104
+ export {};
@@ -14,6 +14,7 @@ import { ESJColor, ESJVector4D } from '../../ESJTypes';
14
14
  * 特殊使用限制或潜在的副作用:
15
15
  * - 该类依赖于 ESObjectWithLocation 类,因此需要确保在使用 ESGeoDivTextPoi 之前已经正确引入并初始化了 ESObjectWithLocation。
16
16
  * - 文本编辑交互功能可能会影响性能,特别是在大量文本对象同时存在时。
17
+ * @remarks 地理标注文字POI
17
18
  */
18
19
  export declare class ESGeoDivTextPoi extends ESObjectWithLocation {
19
20
  static readonly createDefaultProps: () => {
@@ -17,6 +17,7 @@ import { ESGeoPolygon } from './ESGeoPolygon';
17
17
  *
18
18
  * 特殊的使用限制或潜在的副作用:
19
19
  * - 无特殊使用限制或潜在的副作用。
20
+ * @remarks 拉伸多边形。
20
21
  */
21
22
  export declare class ESGeoExtrudedPolygon extends ESGeoPolygon {
22
23
  static readonly createDefaultProps: () => {
@@ -0,0 +1,58 @@
1
+ import { ESObjectWithLocation } from '../base';
2
+ import { UniteChanged } from '../../xbsj-base';
3
+ /**
4
+ * 地理图标 - 在场景中指定位置显示自定义图标图片的可视化对象。
5
+ * 通过设置 url、大小和可见缩放范围来控制图标的显示效果。
6
+ * @remarks 地理图标
7
+ */
8
+ export declare class ESGeoIcon extends ESObjectWithLocation {
9
+ static readonly createDefaultProps: () => {
10
+ /** 图标图片的 URL */
11
+ url: string;
12
+ /** 图标大小(米),格式为 [width, height] */
13
+ size_m: number[];
14
+ /** 可见缩放范围,格式为 [minZoom, maxZoom] */
15
+ minmaxScale: number[];
16
+ pointed: boolean;
17
+ pointStyle: import('../..').ReactiveVariable<import('../..').ESJPointStyle>;
18
+ position: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
19
+ rotation: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
20
+ positionOffset: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
21
+ scale: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
22
+ minVisibleDistance: import('../..').ReactiveVariable<number>;
23
+ maxVisibleDistance: import('../..').ReactiveVariable<number>;
24
+ show: boolean;
25
+ collision: boolean;
26
+ allowPicking: boolean;
27
+ flyToParam: import('../..').ReactiveVariable<import('../..').ESJFlyToParam | undefined>;
28
+ flyInParam: import('../..').ReactiveVariable<import('../..').ESJFlyInParam | undefined>;
29
+ name: string;
30
+ ref: string | undefined;
31
+ extras: import('../..').ReactiveVariable<import('../..').JsonValue>;
32
+ devTags: import('../..').ReactiveVariable<string[] | undefined>;
33
+ execOnceFuncStr: string | undefined;
34
+ updateFuncStr: string | undefined;
35
+ toDestroyFuncStr: string | undefined;
36
+ };
37
+ static readonly type: string;
38
+ static supportEditingModes: string[];
39
+ /** @override */
40
+ /** @returns 返回 ES 属性列表,包含 url、size_m 和 minmaxScale */
41
+ getESProperties(): {
42
+ basic: import('../..').Property[];
43
+ defaultMenu: string;
44
+ location: import('../..').Property[];
45
+ more: import('../..').Property[];
46
+ general: import('../..').Property[];
47
+ dataSource: import('../..').Property[];
48
+ coordinate: import('../..').Property[];
49
+ style: import('../..').Property[];
50
+ };
51
+ /**
52
+ * 创建 ESGeoIcon 实例
53
+ * @param id 可选的对象标识符
54
+ */
55
+ constructor(id?: string);
56
+ }
57
+ export interface ESGeoIcon extends UniteChanged<ReturnType<typeof ESGeoIcon.createDefaultProps>> {
58
+ }
@@ -19,6 +19,7 @@ import { ESGeoVector } from '../base';
19
19
  *
20
20
  * 特殊的使用限制或潜在的副作用:
21
21
  * - 无特殊的使用限制或潜在的副作用。
22
+ * @remarks 地理折线
22
23
  */
23
24
  export declare class ESGeoLineString extends ESGeoVector {
24
25
  static readonly createDefaultProps: () => {
@@ -0,0 +1,58 @@
1
+ import { BooleanProperty, ColorProperty, EnumProperty, ESJPointStyle, DivideProperty, NumberProperty } from '../../ESJTypes';
2
+ import { UniteChanged } from '../../xbsj-base';
3
+ import { ESObjectWithLocation } from '../base';
4
+ /**
5
+ * 地理点对象,用于在地图中显示地理点标记的可视化对象,支持自定义点样式。
6
+ * 可通过 position 属性指定经纬度坐标,通过 pointStyle 自定义大小、颜色、材质等样式。
7
+ * @remarks 地理点
8
+ */
9
+ export declare class ESGeoPoint extends ESObjectWithLocation {
10
+ static readonly createDefaultProps: () => {
11
+ /** 是否启用点标记(显示/隐藏地理点) */
12
+ pointed: boolean;
13
+ /** 点样式配置,包括大小、颜色、材质、轮廓等 */
14
+ pointStyle: import('../..').ReactiveVariable<ESJPointStyle>;
15
+ position: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
16
+ rotation: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
17
+ positionOffset: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
18
+ scale: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
19
+ minVisibleDistance: import('../..').ReactiveVariable<number>;
20
+ maxVisibleDistance: import('../..').ReactiveVariable<number>;
21
+ show: boolean;
22
+ collision: boolean;
23
+ allowPicking: boolean;
24
+ flyToParam: import('../..').ReactiveVariable<import('../..').ESJFlyToParam | undefined>;
25
+ flyInParam: import('../..').ReactiveVariable<import('../..').ESJFlyInParam | undefined>;
26
+ name: string;
27
+ ref: string | undefined;
28
+ extras: import('../..').ReactiveVariable<import('../..').JsonValue>;
29
+ devTags: import('../..').ReactiveVariable<string[] | undefined>;
30
+ execOnceFuncStr: string | undefined;
31
+ updateFuncStr: string | undefined;
32
+ toDestroyFuncStr: string | undefined;
33
+ };
34
+ static readonly type: string;
35
+ static supportEditingModes: string[];
36
+ /**
37
+ * 获取可编辑属性列表,包括坐标属性、点样式属性和基本属性。
38
+ * 扩展自父类的属性,额外添加了 distance、pointed、pointSize、pointSizeType、pointColor、mode、radius 等属性。
39
+ * @returns 包含 coordinate、style、basic 三组可编辑属性的对象
40
+ */
41
+ getESProperties(): {
42
+ coordinate: import('../..').Property[];
43
+ style: (BooleanProperty | NumberProperty | ColorProperty | DivideProperty | EnumProperty<string>)[];
44
+ basic: import('../..').Property[];
45
+ defaultMenu: string;
46
+ location: import('../..').Property[];
47
+ more: import('../..').Property[];
48
+ general: import('../..').Property[];
49
+ dataSource: import('../..').Property[];
50
+ };
51
+ /**
52
+ * 创建一个 ESGeoPoint 实例。
53
+ * @param id - 可选的对象唯一标识符。
54
+ */
55
+ constructor(id?: string);
56
+ }
57
+ export interface ESGeoPoint extends UniteChanged<ReturnType<typeof ESGeoPoint.createDefaultProps>> {
58
+ }
@@ -1,6 +1,10 @@
1
1
  import { SceneObjectKey, UniteChanged } from '../../../xbsj-base';
2
2
  import { ESGeoVector } from '../../base';
3
3
  import { ESJEditingBindModeType } from '../../../index';
4
+ /**
5
+ * 用于在地图中可视化地理点集合的对象。
6
+ * @remarks 地理点集合
7
+ */
4
8
  export declare class ESGeoPoints extends ESGeoVector {
5
9
  static readonly createDefaultProps: () => {
6
10
  pointed: boolean;
@@ -23,6 +23,7 @@ import { ESJBuffer, ESJBufferMode } from '../../ESJTypes/properties/ESJBuffer';
23
23
  *
24
24
  * 特殊的使用限制或潜在的副作用:
25
25
  * - 无特殊的使用限制或潜在的副作用。
26
+ * @remarks 地理多边形
26
27
  */
27
28
  export declare class ESGeoPolygon extends ESGeoVector {
28
29
  static readonly createDefaultProps: () => {
@@ -16,6 +16,7 @@ import { ESGeoPolygon } from './ESGeoPolygon';
16
16
  * 构造函数参数:
17
17
  * - 无特殊构造参数,使用默认构造函数
18
18
  * - 对象创建后可通过属性设置坐标和火焰参数
19
+ * @remarks 带火多边形
19
20
  */
20
21
  export declare class ESGeoPolygonWithFire extends ESGeoPolygon {
21
22
  static readonly createDefaultProps: () => {
@@ -19,6 +19,7 @@ import { ESJEditingBindModeType, ESJFillStyle, ESJVector3DArray } from '../../ES
19
19
  * 特殊使用限制或潜在的副作用:
20
20
  * - 矩形的点数组长度必须大于等于 2 才能正确计算面积和周长。
21
21
  * - 矩形的编辑模式包括父类支持的编辑模式以及 DoublePointsAppend 和 DoublePointsModify 模式。
22
+ * @remarks 地理矩形
22
23
  */
23
24
  export declare class ESGeoRectangle extends ESGeoVector {
24
25
  static readonly createDefaultProps: () => {