@mapgis/webclient-mapboxgl-plugin 17.0.2 → 17.0.5

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.
@@ -75,13 +75,18 @@ import { SketchEditorMapboxgl } from "@mapgis/webclient-leaflet-plugin&quot
75
75
 
76
76
  <tr class="deep-level-0">
77
77
 
78
- <td class="name" id="options"><code>options</code></td>
78
+ <td class="name"><code>options</code></td>
79
79
 
80
80
 
81
81
  <td class="type">
82
82
 
83
83
 
84
- <span class="param-type">Object</span>
84
+ <span class="param-type">
85
+
86
+ Object
87
+
88
+ </span>
89
+
85
90
 
86
91
 
87
92
 
@@ -97,16 +102,25 @@ import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot
97
102
 
98
103
  <tr class="deep-level-1">
99
104
 
100
- <td class="name" id="view"><code>view</code></td>
105
+ <td class="name"><code>view</code></td>
101
106
 
102
107
 
103
108
  <td class="type">
104
109
 
105
110
 
106
- <span class="param-type"><a class="mapgis-link-name" title="MapView" MapView.html>MapView</a></span>
111
+ <span class="param-type">
112
+
113
+ <a link="MapView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapView" MapView.html>MapView</a>
114
+
115
+ </span>
107
116
  |
108
117
 
109
- <span class="param-type">SceneView</span>
118
+ <span class="param-type">
119
+
120
+ SceneView
121
+
122
+ </span>
123
+
110
124
 
111
125
 
112
126
 
@@ -122,13 +136,18 @@ import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot
122
136
 
123
137
  <tr class="deep-level-1">
124
138
 
125
- <td class="name" id="layer"><code>layer</code></td>
139
+ <td class="name"><code>layer</code></td>
126
140
 
127
141
 
128
142
  <td class="type">
129
143
 
130
144
 
131
- <span class="param-type">GraphicsLayer</span>
145
+ <span class="param-type">
146
+
147
+ GraphicsLayer
148
+
149
+ </span>
150
+
132
151
 
133
152
 
134
153
 
@@ -144,13 +163,18 @@ import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot
144
163
 
145
164
  <tr class="deep-level-1">
146
165
 
147
- <td class="name" id="sketchStyle"><code>sketchStyle</code></td>
166
+ <td class="name"><code>sketchStyle</code></td>
148
167
 
149
168
 
150
169
  <td class="type">
151
170
 
152
171
 
153
- <span class="param-type">SketchStyle</span>
172
+ <span class="param-type">
173
+
174
+ SketchStyle
175
+
176
+ </span>
177
+
154
178
 
155
179
 
156
180
 
@@ -166,13 +190,18 @@ import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot
166
190
 
167
191
  <tr class="deep-level-1">
168
192
 
169
- <td class="name" id="snapOption"><code>snapOption</code></td>
193
+ <td class="name"><code>snapOption</code></td>
170
194
 
171
195
 
172
196
  <td class="type">
173
197
 
174
198
 
175
- <span class="param-type">Object</span>
199
+ <span class="param-type">
200
+
201
+ Object
202
+
203
+ </span>
204
+
176
205
 
177
206
 
178
207
 
@@ -240,9 +269,9 @@ import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot
240
269
  <div class="column is-2"><label>绑定事件</label></div>
241
270
  <div class="column is-10">
242
271
  <ul>
243
- <li>SketchEditor#event:草图绘制完成事件</li>
272
+ <li><a href="#草图绘制完成事件">草图绘制完成事件</a></li>
244
273
 
245
- <li>SketchEditor#event:草图被选中事件</li>
274
+ <li><a href="#草图被选中事件">草图被选中事件</a></li>
246
275
  </ul>
247
276
  </div>
248
277
  </div>
@@ -368,213 +397,253 @@ SketchEditorMapboxgl.start(SketchDataType.POLYGON) // 绘制区
368
397
  <tbody>
369
398
 
370
399
  <tr class="deep-level-0">
371
- <td class="name"><code><a href="SketchEditorMapboxgl.html#addVertex">addVertex</a></code></td>
400
+ <td class="name"><code><a href="#addVertex">addVertex</a></code></td>
372
401
  <td class="name">
373
402
  <code>
374
403
 
375
404
  </code>
376
405
  </td>
377
- <td class="name"><code><p>向当前线或区草图中插入新的顶点<a id='addVertex'></a></p></code></td>
406
+ <td class="name"><code><p>向当前线或区草图中插入新的顶点</code></td>
378
407
  </tr>
379
408
 
380
409
  <tr class="deep-level-0">
381
- <td class="name"><code><a href="SketchEditorMapboxgl.html#canRedo">canRedo</a></code></td>
410
+ <td class="name"><code><a href="#canRedo">canRedo</a></code></td>
382
411
  <td class="name">
383
412
  <code>
384
413
 
385
414
 
386
- <span class="param-type">Boolean</span>
415
+ <span class="param-type">
416
+
417
+ Boolean
418
+
419
+ </span>
420
+
387
421
 
388
422
 
389
423
 
390
424
  </code>
391
425
  </td>
392
- <td class="name"><code><p>草图是否可执行恢复操作<a id='canRedo'></a></p></code></td>
426
+ <td class="name"><code><p>草图是否可执行恢复操作</code></td>
393
427
  </tr>
394
428
 
395
429
  <tr class="deep-level-0">
396
- <td class="name"><code><a href="SketchEditorMapboxgl.html#canUndo">canUndo</a></code></td>
430
+ <td class="name"><code><a href="#canUndo">canUndo</a></code></td>
397
431
  <td class="name">
398
432
  <code>
399
433
 
400
434
 
401
- <span class="param-type">Boolean</span>
435
+ <span class="param-type">
436
+
437
+ Boolean
438
+
439
+ </span>
440
+
402
441
 
403
442
 
404
443
 
405
444
  </code>
406
445
  </td>
407
- <td class="name"><code><p>草图是否可执行撤销操作<a id='canUndo'></a></p></code></td>
446
+ <td class="name"><code><p>草图是否可执行撤销操作</code></td>
408
447
  </tr>
409
448
 
410
449
  <tr class="deep-level-0">
411
- <td class="name"><code><a href="SketchEditorMapboxgl.html#drawPolylineToPolygon">drawPolylineToPolygon</a></code></td>
450
+ <td class="name"><code><a href="#drawPolylineToPolygon">drawPolylineToPolygon</a></code></td>
412
451
  <td class="name">
413
452
  <code>
414
453
 
415
454
  </code>
416
455
  </td>
417
- <td class="name"><code><p>线拓扑造区<a id='drawPolylineToPolygon'></a></p></code></td>
456
+ <td class="name"><code><p>线拓扑造区</code></td>
418
457
  </tr>
419
458
 
420
459
  <tr class="deep-level-0">
421
- <td class="name"><code><a href="SketchEditorMapboxgl.html#getGeometry">getGeometry</a></code></td>
460
+ <td class="name"><code><a href="#getGeometry">getGeometry</a></code></td>
422
461
  <td class="name">
423
462
  <code>
424
463
 
425
464
 
426
- <span class="param-type">Geometry</span>
465
+ <span class="param-type">
466
+
467
+ Geometry
468
+
469
+ </span>
470
+
427
471
 
428
472
 
429
473
 
430
474
  </code>
431
475
  </td>
432
- <td class="name"><code><p>获取草图几何对象<a id='getGeometry'></a></p></code></td>
476
+ <td class="name"><code><p>获取草图几何对象</code></td>
433
477
  </tr>
434
478
 
435
479
  <tr class="deep-level-0">
436
- <td class="name"><code><a href="SketchEditorMapboxgl.html#getSketchStyle">getSketchStyle</a></code></td>
480
+ <td class="name"><code><a href="#getSketchStyle">getSketchStyle</a></code></td>
437
481
  <td class="name">
438
482
  <code>
439
483
 
440
484
 
441
- <span class="param-type">SketchStyle</span>
485
+ <span class="param-type">
486
+
487
+ SketchStyle
488
+
489
+ </span>
490
+
442
491
 
443
492
 
444
493
 
445
494
  </code>
446
495
  </td>
447
- <td class="name"><code><p>获取草图样式<a id='getSketchStyle'></a></p></code></td>
496
+ <td class="name"><code><p>获取草图样式</code></td>
448
497
  </tr>
449
498
 
450
499
  <tr class="deep-level-0">
451
- <td class="name"><code><a href="SketchEditorMapboxgl.html#redo">redo</a></code></td>
500
+ <td class="name"><code><a href="#redo">redo</a></code></td>
452
501
  <td class="name">
453
502
  <code>
454
503
 
455
504
 
456
- <span class="param-type">Geometry</span>
505
+ <span class="param-type">
506
+
507
+ Geometry
508
+
509
+ </span>
510
+
457
511
 
458
512
 
459
513
 
460
514
  </code>
461
515
  </td>
462
- <td class="name"><code><p>恢复被撤销的草图<a id='redo'></a></p></code></td>
516
+ <td class="name"><code><p>恢复被撤销的草图</code></td>
463
517
  </tr>
464
518
 
465
519
  <tr class="deep-level-0">
466
- <td class="name"><code><a href="SketchEditorMapboxgl.html#remove">remove</a></code></td>
520
+ <td class="name"><code><a href="#remove">remove</a></code></td>
467
521
  <td class="name">
468
522
  <code>
469
523
 
470
524
  </code>
471
525
  </td>
472
- <td class="name"><code><p>移除当前草图<a id='remove'></a></p></code></td>
526
+ <td class="name"><code><p>移除当前草图</code></td>
473
527
  </tr>
474
528
 
475
529
  <tr class="deep-level-0">
476
- <td class="name"><code><a href="SketchEditorMapboxgl.html#removeVertex">removeVertex</a></code></td>
530
+ <td class="name"><code><a href="#removeVertex">removeVertex</a></code></td>
477
531
  <td class="name">
478
532
  <code>
479
533
 
480
534
  </code>
481
535
  </td>
482
- <td class="name"><code><p>移除草图图形的某个顶点<a id='removeVertex'></a></p></code></td>
536
+ <td class="name"><code><p>移除草图图形的某个顶点</code></td>
483
537
  </tr>
484
538
 
485
539
  <tr class="deep-level-0">
486
- <td class="name"><code><a href="SketchEditorMapboxgl.html#setSketchStyle">setSketchStyle</a></code></td>
540
+ <td class="name"><code><a href="#setSketchStyle">setSketchStyle</a></code></td>
487
541
  <td class="name">
488
542
  <code>
489
543
 
490
544
  </code>
491
545
  </td>
492
- <td class="name"><code><p>设置草图样式<a id='setSketchStyle'></a></p></code></td>
546
+ <td class="name"><code><p>设置草图样式</code></td>
493
547
  </tr>
494
548
 
495
549
  <tr class="deep-level-0">
496
- <td class="name"><code><a href="SketchEditorMapboxgl.html#split">split</a></code></td>
550
+ <td class="name"><code><a href="#split">split</a></code></td>
497
551
  <td class="name">
498
552
  <code>
499
553
 
500
554
 
501
- <span class="param-type">Array.&lt;Polygon></span>
555
+ <span class="param-type">
556
+
557
+ Array.&lt;Polygon>
558
+
559
+ </span>
560
+
502
561
 
503
562
 
504
563
 
505
564
  </code>
506
565
  </td>
507
- <td class="name"><code><p>分割草图对象或区几何对象<a id='split'></a></p></code></td>
566
+ <td class="name"><code><p>分割草图对象或区几何对象</code></td>
508
567
  </tr>
509
568
 
510
569
  <tr class="deep-level-0">
511
- <td class="name"><code><a href="SketchEditorMapboxgl.html#start">start</a></code></td>
570
+ <td class="name"><code><a href="#start">start</a></code></td>
512
571
  <td class="name">
513
572
  <code>
514
573
 
515
574
  </code>
516
575
  </td>
517
- <td class="name"><code><p>开始绘制草图<a id='start'></a></p></code></td>
576
+ <td class="name"><code><p>开始绘制草图</code></td>
518
577
  </tr>
519
578
 
520
579
  <tr class="deep-level-0">
521
- <td class="name"><code><a href="SketchEditorMapboxgl.html#startCustomDrawTool">startCustomDrawTool</a></code></td>
580
+ <td class="name"><code><a href="#startCustomDrawTool">startCustomDrawTool</a></code></td>
522
581
  <td class="name">
523
582
  <code>
524
583
 
525
584
  </code>
526
585
  </td>
527
- <td class="name"><code><p>开始绘制草图<a id='start'></a></p></code></td>
586
+ <td class="name"><code><p>开始绘制草图</code></td>
528
587
  </tr>
529
588
 
530
589
  <tr class="deep-level-0">
531
- <td class="name"><code><a href="SketchEditorMapboxgl.html#stop">stop</a></code></td>
590
+ <td class="name"><code><a href="#stop">stop</a></code></td>
532
591
  <td class="name">
533
592
  <code>
534
593
 
535
594
  </code>
536
595
  </td>
537
- <td class="name"><code><p>停止绘制<a id='stop'></a></p></code></td>
596
+ <td class="name"><code><p>停止绘制</code></td>
538
597
  </tr>
539
598
 
540
599
  <tr class="deep-level-0">
541
- <td class="name"><code><a href="SketchEditorMapboxgl.html#undo">undo</a></code></td>
600
+ <td class="name"><code><a href="#undo">undo</a></code></td>
542
601
  <td class="name">
543
602
  <code>
544
603
 
545
604
 
546
- <span class="param-type">Geometry</span>
605
+ <span class="param-type">
606
+
607
+ Geometry
608
+
609
+ </span>
610
+
547
611
 
548
612
 
549
613
 
550
614
  </code>
551
615
  </td>
552
- <td class="name"><code><p>撤销当前编辑操作<a id='undo'></a></p></code></td>
616
+ <td class="name"><code><p>撤销当前编辑操作</code></td>
553
617
  </tr>
554
618
 
555
619
  <tr class="deep-level-0">
556
- <td class="name"><code><a href="SketchEditorMapboxgl.html#union">union</a></code></td>
620
+ <td class="name"><code><a href="#union">union</a></code></td>
557
621
  <td class="name">
558
622
  <code>
559
623
 
560
624
 
561
- <span class="param-type">Polygon</span>
625
+ <span class="param-type">
626
+
627
+ Polygon
628
+
629
+ </span>
630
+
562
631
 
563
632
 
564
633
 
565
634
  </code>
566
635
  </td>
567
- <td class="name"><code><p>合并多个区几何<a id='union'></a></p></code></td>
636
+ <td class="name"><code><p>合并多个区几何</code></td>
568
637
  </tr>
569
638
 
570
639
  <tr class="deep-level-0">
571
- <td class="name"><code><a href="SketchEditorMapboxgl.html#updateVertex">updateVertex</a></code></td>
640
+ <td class="name"><code><a href="#updateVertex">updateVertex</a></code></td>
572
641
  <td class="name">
573
642
  <code>
574
643
 
575
644
  </code>
576
645
  </td>
577
- <td class="name"><code><p>更新当前草图图形的某个顶点<a id='updateVertex'></a></p></code></td>
646
+ <td class="name"><code><p>更新当前草图图形的某个顶点</code></td>
578
647
  </tr>
579
648
 
580
649
  </tbody>
@@ -635,13 +704,18 @@ SketchEditorMapboxgl.start(SketchDataType.POLYGON) // 绘制区
635
704
 
636
705
  <tr class="deep-level-0">
637
706
 
638
- <td class="name" id="point"><code>point</code></td>
707
+ <td class="name"><code>point</code></td>
639
708
 
640
709
 
641
710
  <td class="type">
642
711
 
643
712
 
644
- <span class="param-type">Point</span>
713
+ <span class="param-type">
714
+
715
+ Point
716
+
717
+ </span>
718
+
645
719
 
646
720
 
647
721
 
@@ -659,13 +733,18 @@ SketchEditorMapboxgl.start(SketchDataType.POLYGON) // 绘制区
659
733
 
660
734
  <tr class="deep-level-0">
661
735
 
662
- <td class="name" id="index"><code>index</code></td>
736
+ <td class="name"><code>index</code></td>
663
737
 
664
738
 
665
739
  <td class="type">
666
740
 
667
741
 
668
- <span class="param-type">Number</span>
742
+ <span class="param-type">
743
+
744
+ Number
745
+
746
+ </span>
747
+
669
748
 
670
749
 
671
750
 
@@ -842,7 +921,12 @@ SketchEditorMapboxgl.start(SketchDataType.POLYGON) // 绘制区
842
921
  <div class='column is-5 has-text-left'>
843
922
  <label>类型: </label>
844
923
 
845
- <span class="param-type">Boolean</span>
924
+ <span class="param-type">
925
+
926
+ Boolean
927
+
928
+ </span>
929
+
846
930
 
847
931
 
848
932
  </div>
@@ -956,7 +1040,12 @@ SketchEditorMapboxgl.start(SketchDataType.POLYGON) // 绘制区
956
1040
  <div class='column is-5 has-text-left'>
957
1041
  <label>类型: </label>
958
1042
 
959
- <span class="param-type">Boolean</span>
1043
+ <span class="param-type">
1044
+
1045
+ Boolean
1046
+
1047
+ </span>
1048
+
960
1049
 
961
1050
 
962
1051
  </div>
@@ -1027,13 +1116,18 @@ SketchEditorMapboxgl.start(SketchDataType.POLYGON) // 绘制区
1027
1116
 
1028
1117
  <tr class="deep-level-0">
1029
1118
 
1030
- <td class="name" id="snapAndReferGeometries"><code>snapAndReferGeometries</code></td>
1119
+ <td class="name"><code>snapAndReferGeometries</code></td>
1031
1120
 
1032
1121
 
1033
1122
  <td class="type">
1034
1123
 
1035
1124
 
1036
- <span class="param-type">Array.&lt;Polygon></span>
1125
+ <span class="param-type">
1126
+
1127
+ Array.&lt;Polygon>
1128
+
1129
+ </span>
1130
+
1037
1131
 
1038
1132
 
1039
1133
 
@@ -1285,7 +1379,12 @@ sketchEditorMapboxgl.drawPolylineToPolygon(testGeometries)</code></pre>
1285
1379
  <div class='column is-5 has-text-left'>
1286
1380
  <label>类型: </label>
1287
1381
 
1288
- <span class="param-type">Geometry</span>
1382
+ <span class="param-type">
1383
+
1384
+ Geometry
1385
+
1386
+ </span>
1387
+
1289
1388
 
1290
1389
 
1291
1390
  </div>
@@ -1399,7 +1498,12 @@ sketchEditorMapboxgl.drawPolylineToPolygon(testGeometries)</code></pre>
1399
1498
  <div class='column is-5 has-text-left'>
1400
1499
  <label>类型: </label>
1401
1500
 
1402
- <span class="param-type">SketchStyle</span>
1501
+ <span class="param-type">
1502
+
1503
+ SketchStyle
1504
+
1505
+ </span>
1506
+
1403
1507
 
1404
1508
 
1405
1509
  </div>
@@ -1513,7 +1617,12 @@ sketchEditorMapboxgl.drawPolylineToPolygon(testGeometries)</code></pre>
1513
1617
  <div class='column is-5 has-text-left'>
1514
1618
  <label>类型: </label>
1515
1619
 
1516
- <span class="param-type">Geometry</span>
1620
+ <span class="param-type">
1621
+
1622
+ Geometry
1623
+
1624
+ </span>
1625
+
1517
1626
 
1518
1627
 
1519
1628
  </div>
@@ -1701,13 +1810,18 @@ console.log("恢复后的几何对象" + geometry)</code></pre>
1701
1810
 
1702
1811
  <tr class="deep-level-0">
1703
1812
 
1704
- <td class="name" id="index"><code>index</code></td>
1813
+ <td class="name"><code>index</code></td>
1705
1814
 
1706
1815
 
1707
1816
  <td class="type">
1708
1817
 
1709
1818
 
1710
- <span class="param-type">Number</span>
1819
+ <span class="param-type">
1820
+
1821
+ Number
1822
+
1823
+ </span>
1824
+
1711
1825
 
1712
1826
 
1713
1827
 
@@ -1841,13 +1955,18 @@ console.log("恢复后的几何对象" + geometry)</code></pre>
1841
1955
 
1842
1956
  <tr class="deep-level-0">
1843
1957
 
1844
- <td class="name" id="sketchStyle"><code>sketchStyle</code></td>
1958
+ <td class="name"><code>sketchStyle</code></td>
1845
1959
 
1846
1960
 
1847
1961
  <td class="type">
1848
1962
 
1849
1963
 
1850
- <span class="param-type">SketchStyle</span>
1964
+ <span class="param-type">
1965
+
1966
+ SketchStyle
1967
+
1968
+ </span>
1969
+
1851
1970
 
1852
1971
 
1853
1972
 
@@ -2066,16 +2185,25 @@ sketchEditor.start(SketchDataType.POLYGON)</code></pre>
2066
2185
 
2067
2186
  <tr class="deep-level-0">
2068
2187
 
2069
- <td class="name" id="target"><code>target</code></td>
2188
+ <td class="name"><code>target</code></td>
2070
2189
 
2071
2190
 
2072
2191
  <td class="type">
2073
2192
 
2074
2193
 
2075
- <span class="param-type">Polygon</span>
2194
+ <span class="param-type">
2195
+
2196
+ Polygon
2197
+
2198
+ </span>
2076
2199
  |
2077
2200
 
2078
- <span class="param-type">SketchEditor</span>
2201
+ <span class="param-type">
2202
+
2203
+ SketchEditor
2204
+
2205
+ </span>
2206
+
2079
2207
 
2080
2208
 
2081
2209
 
@@ -2093,13 +2221,18 @@ sketchEditor.start(SketchDataType.POLYGON)</code></pre>
2093
2221
 
2094
2222
  <tr class="deep-level-0">
2095
2223
 
2096
- <td class="name" id="splitPolyline"><code>splitPolyline</code></td>
2224
+ <td class="name"><code>splitPolyline</code></td>
2097
2225
 
2098
2226
 
2099
2227
  <td class="type">
2100
2228
 
2101
2229
 
2102
- <span class="param-type">Polyline</span>
2230
+ <span class="param-type">
2231
+
2232
+ Polyline
2233
+
2234
+ </span>
2235
+
2103
2236
 
2104
2237
 
2105
2238
 
@@ -2187,7 +2320,12 @@ sketchEditor.start(SketchDataType.POLYGON)</code></pre>
2187
2320
  <div class='column is-5 has-text-left'>
2188
2321
  <label>类型: </label>
2189
2322
 
2190
- <span class="param-type">Array.&lt;Polygon></span>
2323
+ <span class="param-type">
2324
+
2325
+ Array.&lt;Polygon>
2326
+
2327
+ </span>
2328
+
2191
2329
 
2192
2330
 
2193
2331
  </div>
@@ -2298,13 +2436,18 @@ const newSketchEditors = SketchEditorMapboxgl.split(polygon,polyline)</code></pr
2298
2436
 
2299
2437
  <tr class="deep-level-0">
2300
2438
 
2301
- <td class="name" id="dataType"><code>dataType</code></td>
2439
+ <td class="name"><code>dataType</code></td>
2302
2440
 
2303
2441
 
2304
2442
  <td class="type">
2305
2443
 
2306
2444
 
2307
- <span class="param-type">SketchDataType</span>
2445
+ <span class="param-type">
2446
+
2447
+ SketchDataType
2448
+
2449
+ </span>
2450
+
2308
2451
 
2309
2452
 
2310
2453
 
@@ -2473,13 +2616,18 @@ SketchEditorMapboxgl.start(SketchDataType.POLYGON) // 绘制区</code></pre>
2473
2616
 
2474
2617
  <tr class="deep-level-0">
2475
2618
 
2476
- <td class="name" id="dataType"><code>dataType</code></td>
2619
+ <td class="name"><code>dataType</code></td>
2477
2620
 
2478
2621
 
2479
2622
  <td class="type">
2480
2623
 
2481
2624
 
2482
- <span class="param-type">SketchDataType</span>
2625
+ <span class="param-type">
2626
+
2627
+ SketchDataType
2628
+
2629
+ </span>
2630
+
2483
2631
 
2484
2632
 
2485
2633
 
@@ -2781,7 +2929,12 @@ sketchEditorMapboxgl.startCustomDrawTool(SketchEllipseDrawTool, "ellipse") //
2781
2929
  <div class='column is-5 has-text-left'>
2782
2930
  <label>类型: </label>
2783
2931
 
2784
- <span class="param-type">Geometry</span>
2932
+ <span class="param-type">
2933
+
2934
+ Geometry
2935
+
2936
+ </span>
2937
+
2785
2938
 
2786
2939
 
2787
2940
  </div>
@@ -2878,13 +3031,18 @@ console.log("恢复后的几何对象" + geometry)</code></pre>
2878
3031
 
2879
3032
  <tr class="deep-level-0">
2880
3033
 
2881
- <td class="name" id="polygons"><code>polygons</code></td>
3034
+ <td class="name"><code>polygons</code></td>
2882
3035
 
2883
3036
 
2884
3037
  <td class="type">
2885
3038
 
2886
3039
 
2887
- <span class="param-type">Polygon</span>
3040
+ <span class="param-type">
3041
+
3042
+ Polygon
3043
+
3044
+ </span>
3045
+
2888
3046
 
2889
3047
 
2890
3048
 
@@ -2972,7 +3130,12 @@ console.log("恢复后的几何对象" + geometry)</code></pre>
2972
3130
  <div class='column is-5 has-text-left'>
2973
3131
  <label>类型: </label>
2974
3132
 
2975
- <span class="param-type">Polygon</span>
3133
+ <span class="param-type">
3134
+
3135
+ Polygon
3136
+
3137
+ </span>
3138
+
2976
3139
 
2977
3140
 
2978
3141
  </div>
@@ -3089,13 +3252,18 @@ SketchEditorMapboxgl.union(polygons)</code></pre>
3089
3252
 
3090
3253
  <tr class="deep-level-0">
3091
3254
 
3092
- <td class="name" id="point"><code>point</code></td>
3255
+ <td class="name"><code>point</code></td>
3093
3256
 
3094
3257
 
3095
3258
  <td class="type">
3096
3259
 
3097
3260
 
3098
- <span class="param-type">Point</span>
3261
+ <span class="param-type">
3262
+
3263
+ Point
3264
+
3265
+ </span>
3266
+
3099
3267
 
3100
3268
 
3101
3269
 
@@ -3113,13 +3281,18 @@ SketchEditorMapboxgl.union(polygons)</code></pre>
3113
3281
 
3114
3282
  <tr class="deep-level-0">
3115
3283
 
3116
- <td class="name" id="index"><code>index</code></td>
3284
+ <td class="name"><code>index</code></td>
3117
3285
 
3118
3286
 
3119
3287
  <td class="type">
3120
3288
 
3121
3289
 
3122
- <span class="param-type">Number</span>
3290
+ <span class="param-type">
3291
+
3292
+ Number
3293
+
3294
+ </span>
3295
+
3123
3296
 
3124
3297
 
3125
3298