@mapgis/webclient-cesium-plugin 17.8.1 → 17.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +280 -482
- package/dist/esm/commonjsHelpers.js +1 -0
- package/dist/esm/s3m.js +1 -0
- package/dist/esm/webclient-cesium-plugin.js +1 -0
- package/dist/umd/webclient-cesium-plugin.min.js +1 -0
- package/{documention → documentation}/AlgorithmLib.html +169 -149
- package/{documention → documentation}/AngulationTool.html +85 -51
- package/{documention → documentation}/AnimationTool.html +30 -30
- package/{documention → documentation}/ArcGISMapServerImageryProvider.html +9 -13
- package/{documention → documentation}/ArcGISMapServerSingleImageryProvider.html +90 -30
- package/{documention → documentation}/ArcGISTileServerImageryProvider.html +17 -17
- package/{documention → documentation}/ArcGISVectorTileImageryProvider.html +21 -8
- package/{documention → documentation}/BaseImageryProvider.html +2 -2
- package/{documention → documentation}/Cesium.Material.html +2 -2
- package/{documention → documentation}/Cesium.Viewer.html +5 -5
- package/{documention → documentation}/Cesium3DTileset.html +43 -25
- package/{documention → documentation}/CesiumHeatmap.html +22 -19
- package/{documention/S3MTileset.html → documentation/CesiumNavigation.html} +52 -85
- package/{documention → documentation}/CesiumTerrainProvider.html +55 -15
- package/{documention/OpenWeatherImageryProvider.html → documentation/CircleWaveMaterialProperty.html} +75 -95
- package/{documention → documentation}/CollisionDetectionByRender.html +245 -88
- package/{documention → documentation}/CompatibleFunc.html +24 -33
- package/{documention → documentation}/CustomPrimitive.html +3 -5
- package/{documention → documentation}/CustomProjection.html +3 -3
- package/{documention → documentation}/CustomTilingScheme.html +35 -36
- package/{documention → documentation}/CutFillAnalysis.html +59 -27
- package/{documention → documentation}/CuttingTool.html +198 -103
- package/{documention → documentation}/Deferred.html +2 -2
- package/{documention → documentation}/DrawElement.html +418 -34
- package/{documention → documentation}/DrawTool.html +81 -29
- package/documentation/EditTool.html +2819 -0
- package/{documention → documentation}/FirstPersonPerspective.html +18 -10
- package/{documention → documentation}/FloodAnalysis.html +93 -23
- package/{documention → documentation}/FloodAnalysisReflection.html +18 -44
- package/documentation/FlowParticle.html +863 -0
- package/{documention → documentation}/Fluid.html +473 -74
- package/{documention → documentation}/FluidFoam.html +36 -16
- package/{documention → documentation}/FluidReflection.html +68 -15
- package/{documention → documentation}/FluidShadow.html +67 -14
- package/{documention → documentation}/FluidSourceCollection.html +14 -7
- package/{documention → documentation}/FluidSpecular.html +33 -14
- package/documentation/FluidSurfaceDistortion.html +682 -0
- package/documentation/FluidSurfaceFoam.html +1006 -0
- package/{documention → documentation}/FollowPerspective.html +15 -7
- package/{documention → documentation}/GeoJSONLayerUtil.html +38 -10
- package/documentation/GeoJSONLayerView.html +1353 -0
- package/{documention → documentation}/GlobeIndependentTranslucency.html +89 -6
- package/{documention → documentation}/GodPerspective.html +14 -6
- package/{documention → documentation}/Graphic.html +1053 -1042
- package/{documention → documentation}/GraphicTransformTool.html +65 -23
- package/{documention → documentation}/GraphicsLayer.html +359 -156
- package/{documention → documentation}/GraphicsLayerUtil.html +28 -10
- package/documentation/GraphicsLayerView.html +759 -0
- package/{documention/EditTool.html → documentation/HashMap.html} +253 -418
- package/{documention → documentation}/HeightLimited.html +54 -21
- package/documentation/IGSFeatureLayerUtil.html +840 -0
- package/documentation/IGSFeatureLayerView.html +1348 -0
- package/documentation/IGSMapImageLayerUtil.html +855 -0
- package/{documention/IGSFeatureLayerUtil.html → documentation/IGSMapImageLayerView.html} +68 -46
- package/documentation/IGSTileLayerView.html +658 -0
- package/{documention → documentation}/ISSceneLayerUtil.html +3 -3
- package/{documention → documentation}/KeyboardCameraController.html +54 -6
- package/documentation/LightningStorm.html +2073 -0
- package/documentation/MapGISClusterPrimitiveCollection.html +1050 -0
- package/{documention → documentation}/MapGISDynamicLabelCollection.html +370 -178
- package/{documention → documentation}/MapGISFeatureGridCollection.html +123 -89
- package/{documention → documentation}/MapGISImageServerImageryProvider.html +93 -71
- package/{documention → documentation}/MapGISImageServerSingleImageryProvider.html +140 -92
- package/{documention → documentation}/MapGISM3DSet.html +49 -33
- package/{documention → documentation}/MapGISMapServerImageryProvider.html +78 -87
- package/{documention → documentation}/MapGISMapServerSingleImageryProvider.html +111 -43
- package/{documention → documentation}/MapGISTerrainProvider.html +268 -208
- package/{documention → documentation}/MapGISTerrainService.html +124 -82
- package/{documention → documentation}/MapGISTileAvailability.html +104 -47
- package/{documention → documentation}/MapGISTileServerImageryProvider.html +76 -83
- package/{documention → documentation}/MapGISVectorTileImageryProvider.html +135 -115
- package/{documention → documentation}/MeasureAreaTool.html +53 -14
- package/{documention → documentation}/MeasureLengthTool.html +17 -14
- package/{documention → documentation}/MeasureSlopeTool.html +73 -34
- package/{documention/FlowParticle.html → documentation/ModelEditor.html} +132 -116
- package/{documention → documentation}/ModelFilterTool.html +27 -32
- package/{documention → documentation}/ModelTransformTool.html +195 -110
- package/{documention → documentation}/NavigationControl.html +25 -5
- package/{documention → documentation}/NavigationTool.html +36 -14
- package/{documention → documentation}/NormalPerspective.html +33 -7
- package/documentation/OpenWeatherImageryProvider.html +1133 -0
- package/{documention → documentation}/PointFluidSource.html +22 -13
- package/{documention → documentation}/PolylineTrailLinkMaterialProperty.html +104 -20
- package/{documention → documentation}/Popup.html +246 -63
- package/{documention/CesiumNavigation.html → documentation/PostProcessShaderBuilder.html} +10 -54
- package/{documention → documentation}/PostProcessStageLibrary.html +3127 -121
- package/{documention → documentation}/Promise.html +6 -6
- package/{documention → documentation}/ProviderBaseUrlRegExp.html +20 -4
- package/{documention → documentation}/Puddle.html +30 -9
- package/{documention → documentation}/RadarMaterialProperty.html +73 -18
- package/{documention → documentation}/ReImg.html +164 -15
- package/{documention → documentation}/RenderUtil.html +158 -6
- package/{documention → documentation}/ResetViewNavigationControl.html +28 -8
- package/{documention → documentation}/RiverGeometry.html +7 -7
- package/{documention → documentation}/RoamParticle.html +86 -79
- package/{documention → documentation}/RouteAnimationControl.html +37 -15
- package/{documention → documentation}/RouteAnimationLabel.html +39 -12
- package/{documention → documentation}/RouteAnimationModel.html +43 -16
- package/{documention → documentation}/RouteAnimationPath.html +156 -18
- package/{documention → documentation}/RouteAnimationPerspective.html +12 -3
- package/{documention → documentation}/RouteAnimationTool.html +244 -24
- package/documentation/S3MTileset.html +570 -0
- package/{documention → documentation}/SSR.html +20 -39
- package/{documention → documentation}/SceneView.html +615 -419
- package/documentation/SceneViewUtil.html +1253 -0
- package/documentation/Screenshot.html +964 -0
- package/{documention → documentation}/SelectTool.html +31 -77
- package/{documention → documentation}/ShadowRateAnalysis.html +236 -54
- package/{documention → documentation}/ShadowRateDrawCommand.html +18 -6
- package/{documention → documentation}/SingleImageryProvider.html +32 -10
- package/{documention → documentation}/SketchEditor.html +280 -127
- package/documentation/SkyLineAnalysis.html +576 -0
- package/{documention → documentation}/StableParticle.html +165 -46
- package/{documention → documentation}/Style.html +249 -249
- package/{documention → documentation}/TerrainAnalyse.html +391 -105
- package/{documention → documentation}/TerrainExcavateTool.html +99 -3
- package/{documention → documentation}/TerrainProfile.html +198 -56
- package/{documention → documentation}/ThemeManager.html +93 -42
- package/{documention → documentation}/Tooltip.html +35 -18
- package/documentation/TransformTool.html +1010 -0
- package/{documention → documentation}/TriangulationTool.html +122 -83
- package/documentation/UnderfluidCaustic.html +843 -0
- package/documentation/UnderfluidDistortion.html +600 -0
- package/documentation/UnderfluidFog.html +843 -0
- package/documentation/UnderfluidGodRay.html +843 -0
- package/documentation/UnderwaterCaustic.html +867 -0
- package/documentation/UnderwaterDistortion.html +578 -0
- package/documentation/UnderwaterFog.html +867 -0
- package/documentation/UnderwaterGodRay.html +821 -0
- package/{documention → documentation}/UrlTemplateImageryProvider.html +21 -9
- package/{documention → documentation}/UserInterfaceControl.html +28 -9
- package/documentation/VectorTileLayerUtil.html +1364 -0
- package/{documention → documentation}/VisiblityAnalysis.html +15 -12
- package/{documention → documentation}/VolumeCloud.html +113 -21
- package/{documention → documentation}/VolumeFluidSource.html +24 -8
- package/{documention → documentation}/WFSLayerUtil.html +39 -10
- package/documentation/WFSLayerView.html +1353 -0
- package/documentation/WMSLayerUtil.html +879 -0
- package/documentation/WMTSLayerUtil.html +877 -0
- package/documentation/WaterDepth.html +583 -0
- package/{documention → documentation}/WaterReflection.html +29 -26
- package/documentation/WaterSurface.html +2555 -0
- package/{documention/Underwater.html → documentation/WaterSurfaceDistortion.html} +79 -81
- package/documentation/WaterSurfaceFoam.html +1029 -0
- package/documentation/WaterSurfaceSSR.html +867 -0
- package/{documention → documentation}/WebMapServiceImageryProvider.html +8 -12
- package/{documention → documentation}/WebMapServiceSingleImageryProvider.html +94 -32
- package/{documention → documentation}/WebMapTileServiceImageryProvider.html +10 -15
- package/documentation/WebTileLayerUtil.html +877 -0
- package/{documention → documentation}/Wind3D.html +133 -54
- package/{documention → documentation}/ZoomNavigationControl.html +145 -9
- package/documentation/fonts/glyphicons-halflings-regular.svg +543 -0
- package/{documention → documentation}/global.html +14130 -2719
- package/{documention → documentation}/index.html +1 -1
- package/{documention → documentation}/initializeOptions.html +2 -2
- package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +96 -95
- package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +47 -46
- package/{documention → documentation}/module.exports_module.exports.html +2 -2
- package/{documention → documentation}/nav.html +3267 -1392
- package/documentation/nav.json +320 -0
- package/documentation/styles/adminlte/AdminLTE.min.css +4966 -0
- package/documentation/styles/adminlte/skin-blue.min.css +135 -0
- package/documentation/styles/bootstrap.min.css +7005 -0
- package/documentation/styles/common.css +173 -0
- package/documentation/styles/examples.css +119 -0
- package/{documention → documentation}/styles/font-awesome.css +692 -687
- package/documentation/styles/header.css +558 -0
- package/documentation/styles/jaguar.css +551 -0
- package/{documention → documentation}/styles/prettify-tomorrow.css +59 -28
- package/{documention → documentation}/styles/style.customize.css +83 -99
- package/package.json +42 -22
- package/dist/es5/webclient-cesium-plugin.min.js +0 -77
- package/dist/es5/webclient-common.min.js +0 -159
- package/dist/webclient-cesium-plugin-es6.min.js +0 -77
- package/documention/CircleWaveMaterialProperty.html +0 -382
- package/documention/DynamicEntityVisualizer.html +0 -348
- package/documention/DynamicLabelLayer.html +0 -1841
- package/documention/GroundPrimitiveLayer.html +0 -1675
- package/documention/HashMap.html +0 -4197
- package/documention/ModelEditor.html +0 -374
- package/documention/SceneViewCesium.html +0 -5544
- package/documention/Screenshot.html +0 -773
- package/documention/SketchEditorCesium.html +0 -1571
- package/documention/createColorTexture.html +0 -369
- package/documention/fonts/glyphicons-halflings-regular.svg +0 -288
- package/documention/isCounterClockwise.html +0 -760
- package/documention/scripts/app.min.js +0 -1
- package/documention/scripts/jquery.min.map +0 -1
- package/documention/scripts/search.js +0 -20
- package/documention/scripts/sideBar.js +0 -228
- package/documention/scripts/underscore-min.map +0 -1
- package/documention/styles/adminlte/AdminLTE.min.css +0 -7
- package/documention/styles/adminlte/skin-blue.min.css +0 -1
- package/documention/styles/anchor.png +0 -0
- package/documention/styles/app.min.css +0 -1
- package/documention/styles/bootstrap.min.css +0 -6
- package/documention/styles/c.png +0 -0
- package/documention/styles/common.css +0 -175
- package/documention/styles/examples.css +0 -116
- package/documention/styles/header.css +0 -556
- package/documention/styles/iframe.css +0 -29
- package/documention/styles/jaguar.css +0 -553
- package/documention/styles/m.png +0 -0
- package/documention/styles/reset.css +0 -44
- package/documention/styles/up-arrow.png +0 -0
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +0 -162
- /package/{documention → documentation}/fonts/fontawesome-webfont.woff2 +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.eot +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.ttf +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff2 +0 -0
- /package/{documention → documentation}/scripts/adminlte/app.min.js +0 -0
- /package/{documention → documentation}/scripts/bootstrap.min.js +0 -0
- /package/{documention → documentation}/scripts/jquery.min.js +0 -0
- /package/{documention → documentation}/scripts/linenumber.js +0 -0
- /package/{documention → documentation}/scripts/main.js +0 -0
- /package/{documention → documentation}/scripts/prettify/Apache-License-2.0.txt +0 -0
- /package/{documention → documentation}/scripts/prettify/lang-css.js +0 -0
- /package/{documention → documentation}/scripts/prettify/prettify.js +0 -0
- /package/{documention → documentation}/scripts/underscore-min.js +0 -0
- /package/{documention → documentation}/styles/adminlte/font-awesome.min.css +0 -0
- /package/{documention → documentation}/styles/prettify-jsdoc.css +0 -0
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/util/when.js, line
|
|
91
|
+
engineExtensions/util/when.js, line 264
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
|
|
179
179
|
|
|
180
180
|
<footer>
|
|
181
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
181
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
182
182
|
</footer>
|
|
183
183
|
</div>
|
|
184
184
|
</div>
|
|
@@ -99,7 +99,9 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p
|
|
102
|
+
<p>几何绘制工具。</p>
|
|
103
|
+
<p>该工具负责在 Cesium 场景中提供点、线、面、矩形、圆等几何对象的交互绘制能力,
|
|
104
|
+
并统一管理绘制状态、可编辑 primitive 与辅助工具栏。</p>
|
|
103
105
|
</div>
|
|
104
106
|
|
|
105
107
|
|
|
@@ -146,7 +148,7 @@
|
|
|
146
148
|
|
|
147
149
|
<td class="description last">
|
|
148
150
|
|
|
149
|
-
<p
|
|
151
|
+
<p>Cesium 视图对象。</p></td>
|
|
150
152
|
</tr>
|
|
151
153
|
|
|
152
154
|
|
|
@@ -197,11 +199,12 @@
|
|
|
197
199
|
|
|
198
200
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
199
201
|
const { DrawElement } = zondy.cesium
|
|
202
|
+
|
|
200
203
|
// ES6引入方式
|
|
201
204
|
import { DrawElement } from "@mapgis/webclient-cesium-plugin"
|
|
202
205
|
|
|
203
|
-
|
|
204
|
-
|
|
206
|
+
const drawElement = new DrawElement(viewer)
|
|
207
|
+
drawElement.setGroundPrimitiveType('TERRAIN')</code></pre>
|
|
205
208
|
|
|
206
209
|
|
|
207
210
|
|
|
@@ -229,6 +232,248 @@ var drawElement = new DrawElement();
|
|
|
229
232
|
|
|
230
233
|
<dl>
|
|
231
234
|
|
|
235
|
+
<dt>
|
|
236
|
+
<div class="nameContainer">
|
|
237
|
+
<h4 class="name" id="addToolbar">
|
|
238
|
+
|
|
239
|
+
addToolbar<span class="signature">(container, options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{DrawElement.DrawHelperWidget}</span>
|
|
240
|
+
</h4>
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
<div class="tag-source">
|
|
244
|
+
engineExtensions/tools/DrawElement.js, line 1835
|
|
245
|
+
</div>
|
|
246
|
+
|
|
247
|
+
</div>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
</dt>
|
|
251
|
+
<dd>
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
<div class="description">
|
|
255
|
+
<p>创建绘制工具栏组件。</p>
|
|
256
|
+
</div>
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
<table class="params">
|
|
267
|
+
<thead>
|
|
268
|
+
<tr>
|
|
269
|
+
|
|
270
|
+
<th>Name</th>
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
<th>Type</th>
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
<th class="last">Description</th>
|
|
278
|
+
</tr>
|
|
279
|
+
</thead>
|
|
280
|
+
|
|
281
|
+
<tbody>
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
<tr>
|
|
285
|
+
|
|
286
|
+
<td class="name"><code>container</code></td>
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
<td class="type">
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
<span class="param-type">Element</span>
|
|
293
|
+
|
|
|
294
|
+
|
|
295
|
+
<span class="param-type">String</span>
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
</td>
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
<td class="description last">
|
|
304
|
+
|
|
305
|
+
<p>工具栏容器。</p></td>
|
|
306
|
+
</tr>
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
<tr>
|
|
311
|
+
|
|
312
|
+
<td class="name"><code>options</code></td>
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
<td class="type">
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
<span class="param-type">Object</span>
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
</td>
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<td class="description last">
|
|
327
|
+
|
|
328
|
+
<p>工具栏配置项。</p></td>
|
|
329
|
+
</tr>
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
</tbody>
|
|
333
|
+
</table>
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
<dl class="details">
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
</dl>
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
<h5>Returns:</h5>
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
<table class="params">
|
|
376
|
+
<thead>
|
|
377
|
+
<tr>
|
|
378
|
+
|
|
379
|
+
<th>Type</th>
|
|
380
|
+
<th class="last">Description</th>
|
|
381
|
+
</tr>
|
|
382
|
+
</thead>
|
|
383
|
+
<tbody>
|
|
384
|
+
|
|
385
|
+
<tr>
|
|
386
|
+
|
|
387
|
+
<td class="type">
|
|
388
|
+
|
|
389
|
+
DrawElement.DrawHelperWidget
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
</td>
|
|
393
|
+
<td class="description last">创建后的工具栏对象。</td>
|
|
394
|
+
</tr>
|
|
395
|
+
|
|
396
|
+
</tbody>
|
|
397
|
+
</table>
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
</dd>
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
<dt>
|
|
407
|
+
<div class="nameContainer">
|
|
408
|
+
<h4 class="name" id="clearDrawElement">
|
|
409
|
+
|
|
410
|
+
clearDrawElement<span class="signature">()</span>
|
|
411
|
+
</h4>
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
<div class="tag-source">
|
|
415
|
+
engineExtensions/tools/DrawElement.js, line 1886
|
|
416
|
+
</div>
|
|
417
|
+
|
|
418
|
+
</div>
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
</dt>
|
|
422
|
+
<dd>
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
<div class="description">
|
|
426
|
+
<p>清空当前场景中由该工具管理的 primitive。</p>
|
|
427
|
+
</div>
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
<dl class="details">
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
</dl>
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
</dd>
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
232
477
|
<dt>
|
|
233
478
|
<div class="nameContainer">
|
|
234
479
|
<h4 class="name" id="destroy">
|
|
@@ -238,7 +483,7 @@ var drawElement = new DrawElement();
|
|
|
238
483
|
|
|
239
484
|
|
|
240
485
|
<div class="tag-source">
|
|
241
|
-
engineExtensions/tools/DrawElement.js, line
|
|
486
|
+
engineExtensions/tools/DrawElement.js, line 1893
|
|
242
487
|
</div>
|
|
243
488
|
|
|
244
489
|
</div>
|
|
@@ -249,7 +494,7 @@ var drawElement = new DrawElement();
|
|
|
249
494
|
|
|
250
495
|
|
|
251
496
|
<div class="description">
|
|
252
|
-
<p
|
|
497
|
+
<p>销毁绘制工具并恢复默认贴地配置。</p>
|
|
253
498
|
</div>
|
|
254
499
|
|
|
255
500
|
|
|
@@ -309,7 +554,7 @@ var drawElement = new DrawElement();
|
|
|
309
554
|
|
|
310
555
|
|
|
311
556
|
<div class="tag-source">
|
|
312
|
-
engineExtensions/tools/DrawElement.js, line
|
|
557
|
+
engineExtensions/tools/DrawElement.js, line 509
|
|
313
558
|
</div>
|
|
314
559
|
|
|
315
560
|
</div>
|
|
@@ -320,7 +565,7 @@ var drawElement = new DrawElement();
|
|
|
320
565
|
|
|
321
566
|
|
|
322
567
|
<div class="description">
|
|
323
|
-
<p
|
|
568
|
+
<p>设置后续绘制 primitive 的贴地或贴模型分类方式。</p>
|
|
324
569
|
</div>
|
|
325
570
|
|
|
326
571
|
|
|
@@ -382,7 +627,7 @@ var drawElement = new DrawElement();
|
|
|
382
627
|
|
|
383
628
|
|
|
384
629
|
|
|
385
|
-
<p>
|
|
630
|
+
<p>支持 <code>NONE</code>、<code>TERRAIN</code>、<code>MODEL</code>、<code>BOTH</code> 四种类型。</p></td>
|
|
386
631
|
</tr>
|
|
387
632
|
|
|
388
633
|
|
|
@@ -435,6 +680,145 @@ var drawElement = new DrawElement();
|
|
|
435
680
|
|
|
436
681
|
|
|
437
682
|
|
|
683
|
+
</dd>
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
<dt>
|
|
688
|
+
<div class="nameContainer">
|
|
689
|
+
<h4 class="name" id="startDrawElement">
|
|
690
|
+
|
|
691
|
+
startDrawElement<span class="signature">(typeString, callbackFun)</span>
|
|
692
|
+
</h4>
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
<div class="tag-source">
|
|
696
|
+
engineExtensions/tools/DrawElement.js, line 1846
|
|
697
|
+
</div>
|
|
698
|
+
|
|
699
|
+
</div>
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
</dt>
|
|
703
|
+
<dd>
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
<div class="description">
|
|
707
|
+
<p>以内置类型快捷启动绘制流程。</p>
|
|
708
|
+
</div>
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
<table class="params">
|
|
719
|
+
<thead>
|
|
720
|
+
<tr>
|
|
721
|
+
|
|
722
|
+
<th>Name</th>
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
<th>Type</th>
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
<th class="last">Description</th>
|
|
730
|
+
</tr>
|
|
731
|
+
</thead>
|
|
732
|
+
|
|
733
|
+
<tbody>
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
<tr>
|
|
737
|
+
|
|
738
|
+
<td class="name"><code>typeString</code></td>
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
<td class="type">
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
<span class="param-type">String</span>
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
</td>
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
<td class="description last">
|
|
753
|
+
|
|
754
|
+
<p>内置绘制类型,例如 <code>polygon</code>、<code>point</code>、<code>Rectangle</code>。</p></td>
|
|
755
|
+
</tr>
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
<tr>
|
|
760
|
+
|
|
761
|
+
<td class="name"><code>callbackFun</code></td>
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
<td class="type">
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
<span class="param-type">function</span>
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
</td>
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
<td class="description last">
|
|
776
|
+
|
|
777
|
+
<p>绘制或编辑完成回调。</p></td>
|
|
778
|
+
</tr>
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
</tbody>
|
|
782
|
+
</table>
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
<dl class="details">
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
</dl>
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
|
|
438
822
|
</dd>
|
|
439
823
|
|
|
440
824
|
|
|
@@ -443,12 +827,12 @@ var drawElement = new DrawElement();
|
|
|
443
827
|
<div class="nameContainer">
|
|
444
828
|
<h4 class="name" id="startDrawingCircle">
|
|
445
829
|
|
|
446
|
-
startDrawingCircle<span class="signature">(
|
|
830
|
+
startDrawingCircle<span class="signature">(ops)</span>
|
|
447
831
|
</h4>
|
|
448
832
|
|
|
449
833
|
|
|
450
834
|
<div class="tag-source">
|
|
451
|
-
engineExtensions/tools/DrawElement.js, line
|
|
835
|
+
engineExtensions/tools/DrawElement.js, line 1077
|
|
452
836
|
</div>
|
|
453
837
|
|
|
454
838
|
</div>
|
|
@@ -459,7 +843,7 @@ var drawElement = new DrawElement();
|
|
|
459
843
|
|
|
460
844
|
|
|
461
845
|
<div class="description">
|
|
462
|
-
<p
|
|
846
|
+
<p>交互式绘制圆。</p>
|
|
463
847
|
</div>
|
|
464
848
|
|
|
465
849
|
|
|
@@ -490,7 +874,7 @@ var drawElement = new DrawElement();
|
|
|
490
874
|
|
|
491
875
|
<tr>
|
|
492
876
|
|
|
493
|
-
<td class="name"><code>
|
|
877
|
+
<td class="name"><code>ops</code></td>
|
|
494
878
|
|
|
495
879
|
|
|
496
880
|
<td class="type">
|
|
@@ -506,7 +890,7 @@ var drawElement = new DrawElement();
|
|
|
506
890
|
|
|
507
891
|
<td class="description last">
|
|
508
892
|
|
|
509
|
-
|
|
893
|
+
<p>绘制配置项。</p>
|
|
510
894
|
|
|
511
895
|
|
|
512
896
|
<table class="params">
|
|
@@ -545,7 +929,7 @@ var drawElement = new DrawElement();
|
|
|
545
929
|
|
|
546
930
|
<td class="description last">
|
|
547
931
|
|
|
548
|
-
<p
|
|
932
|
+
<p>绘制完成回调,返回圆心、半径和高度。</p></td>
|
|
549
933
|
</tr>
|
|
550
934
|
|
|
551
935
|
|
|
@@ -634,7 +1018,7 @@ drawElement.startDrawingCircle({
|
|
|
634
1018
|
|
|
635
1019
|
|
|
636
1020
|
<div class="tag-source">
|
|
637
|
-
engineExtensions/tools/DrawElement.js, line
|
|
1021
|
+
engineExtensions/tools/DrawElement.js, line 915
|
|
638
1022
|
</div>
|
|
639
1023
|
|
|
640
1024
|
</div>
|
|
@@ -645,7 +1029,7 @@ drawElement.startDrawingCircle({
|
|
|
645
1029
|
|
|
646
1030
|
|
|
647
1031
|
<div class="description">
|
|
648
|
-
<p
|
|
1032
|
+
<p>交互式绘制矩形范围。</p>
|
|
649
1033
|
</div>
|
|
650
1034
|
|
|
651
1035
|
|
|
@@ -692,7 +1076,7 @@ drawElement.startDrawingCircle({
|
|
|
692
1076
|
|
|
693
1077
|
<td class="description last">
|
|
694
1078
|
|
|
695
|
-
|
|
1079
|
+
<p>绘制配置项。</p>
|
|
696
1080
|
|
|
697
1081
|
|
|
698
1082
|
<table class="params">
|
|
@@ -731,7 +1115,7 @@ drawElement.startDrawingCircle({
|
|
|
731
1115
|
|
|
732
1116
|
<td class="description last">
|
|
733
1117
|
|
|
734
|
-
<p
|
|
1118
|
+
<p>绘制完成回调,返回矩形范围与高度。</p></td>
|
|
735
1119
|
</tr>
|
|
736
1120
|
|
|
737
1121
|
|
|
@@ -818,7 +1202,7 @@ drawElement.startDrawingExtent({
|
|
|
818
1202
|
|
|
819
1203
|
|
|
820
1204
|
<div class="tag-source">
|
|
821
|
-
engineExtensions/tools/DrawElement.js, line
|
|
1205
|
+
engineExtensions/tools/DrawElement.js, line 578
|
|
822
1206
|
</div>
|
|
823
1207
|
|
|
824
1208
|
</div>
|
|
@@ -829,7 +1213,7 @@ drawElement.startDrawingExtent({
|
|
|
829
1213
|
|
|
830
1214
|
|
|
831
1215
|
<div class="description">
|
|
832
|
-
<p
|
|
1216
|
+
<p>交互式绘制点标记。</p>
|
|
833
1217
|
</div>
|
|
834
1218
|
|
|
835
1219
|
|
|
@@ -876,7 +1260,7 @@ drawElement.startDrawingExtent({
|
|
|
876
1260
|
|
|
877
1261
|
<td class="description last">
|
|
878
1262
|
|
|
879
|
-
|
|
1263
|
+
<p>绘制配置项。</p>
|
|
880
1264
|
|
|
881
1265
|
|
|
882
1266
|
<table class="params">
|
|
@@ -915,7 +1299,7 @@ drawElement.startDrawingExtent({
|
|
|
915
1299
|
|
|
916
1300
|
<td class="description last">
|
|
917
1301
|
|
|
918
|
-
<p
|
|
1302
|
+
<p>绘制完成回调,返回标记位置与结果对象。</p></td>
|
|
919
1303
|
</tr>
|
|
920
1304
|
|
|
921
1305
|
|
|
@@ -1009,7 +1393,7 @@ drawElement.startDrawingMarker({
|
|
|
1009
1393
|
|
|
1010
1394
|
|
|
1011
1395
|
<div class="tag-source">
|
|
1012
|
-
engineExtensions/tools/DrawElement.js, line
|
|
1396
|
+
engineExtensions/tools/DrawElement.js, line 669
|
|
1013
1397
|
</div>
|
|
1014
1398
|
|
|
1015
1399
|
</div>
|
|
@@ -1020,7 +1404,7 @@ drawElement.startDrawingMarker({
|
|
|
1020
1404
|
|
|
1021
1405
|
|
|
1022
1406
|
<div class="description">
|
|
1023
|
-
<p
|
|
1407
|
+
<p>交互式绘制多边形。</p>
|
|
1024
1408
|
</div>
|
|
1025
1409
|
|
|
1026
1410
|
|
|
@@ -1067,7 +1451,7 @@ drawElement.startDrawingMarker({
|
|
|
1067
1451
|
|
|
1068
1452
|
<td class="description last">
|
|
1069
1453
|
|
|
1070
|
-
|
|
1454
|
+
<p>绘制配置项。</p>
|
|
1071
1455
|
|
|
1072
1456
|
|
|
1073
1457
|
<table class="params">
|
|
@@ -1106,7 +1490,7 @@ drawElement.startDrawingMarker({
|
|
|
1106
1490
|
|
|
1107
1491
|
<td class="description last">
|
|
1108
1492
|
|
|
1109
|
-
<p
|
|
1493
|
+
<p>绘制完成回调,返回多边形坐标集合。</p></td>
|
|
1110
1494
|
</tr>
|
|
1111
1495
|
|
|
1112
1496
|
|
|
@@ -1194,7 +1578,7 @@ drawElement.startDrawingPolygon({
|
|
|
1194
1578
|
|
|
1195
1579
|
|
|
1196
1580
|
<div class="tag-source">
|
|
1197
|
-
engineExtensions/tools/DrawElement.js, line
|
|
1581
|
+
engineExtensions/tools/DrawElement.js, line 699
|
|
1198
1582
|
</div>
|
|
1199
1583
|
|
|
1200
1584
|
</div>
|
|
@@ -1205,7 +1589,7 @@ drawElement.startDrawingPolygon({
|
|
|
1205
1589
|
|
|
1206
1590
|
|
|
1207
1591
|
<div class="description">
|
|
1208
|
-
<p
|
|
1592
|
+
<p>交互式绘制折线。</p>
|
|
1209
1593
|
</div>
|
|
1210
1594
|
|
|
1211
1595
|
|
|
@@ -1252,7 +1636,7 @@ drawElement.startDrawingPolygon({
|
|
|
1252
1636
|
|
|
1253
1637
|
<td class="description last">
|
|
1254
1638
|
|
|
1255
|
-
|
|
1639
|
+
<p>绘制配置项。</p>
|
|
1256
1640
|
|
|
1257
1641
|
|
|
1258
1642
|
<table class="params">
|
|
@@ -1291,7 +1675,7 @@ drawElement.startDrawingPolygon({
|
|
|
1291
1675
|
|
|
1292
1676
|
<td class="description last">
|
|
1293
1677
|
|
|
1294
|
-
<p
|
|
1678
|
+
<p>绘制完成回调,返回折线坐标集合。</p></td>
|
|
1295
1679
|
</tr>
|
|
1296
1680
|
|
|
1297
1681
|
|
|
@@ -1376,7 +1760,7 @@ drawElement.startDrawingPolyline({
|
|
|
1376
1760
|
|
|
1377
1761
|
|
|
1378
1762
|
<div class="tag-source">
|
|
1379
|
-
engineExtensions/tools/DrawElement.js, line
|
|
1763
|
+
engineExtensions/tools/DrawElement.js, line 465
|
|
1380
1764
|
</div>
|
|
1381
1765
|
|
|
1382
1766
|
</div>
|
|
@@ -1387,7 +1771,7 @@ drawElement.startDrawingPolyline({
|
|
|
1387
1771
|
|
|
1388
1772
|
|
|
1389
1773
|
<div class="description">
|
|
1390
|
-
<p
|
|
1774
|
+
<p>停止当前绘制流程并释放本次绘制的临时资源。</p>
|
|
1391
1775
|
</div>
|
|
1392
1776
|
|
|
1393
1777
|
|
|
@@ -1459,7 +1843,7 @@ drawElement.stopDrawing();</code></pre>
|
|
|
1459
1843
|
|
|
1460
1844
|
|
|
1461
1845
|
<footer>
|
|
1462
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
1846
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
1463
1847
|
</footer>
|
|
1464
1848
|
</div>
|
|
1465
1849
|
</div>
|