@mapgis/webclient-leaflet-plugin 17.4.0 → 17.6.0

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 (45) hide show
  1. package/README.md +104 -43
  2. package/dist/es5/webclient-common.min.js +63 -5
  3. package/dist/es5/webclient-leaflet-plugin.min.js +6 -6
  4. package/dist/webclient-leaflet-plugin-es6.min.js +6 -11
  5. package/documention/ArcGISMapImageLayer.html +53 -5
  6. package/documention/ArcGISTileLayer.html +45 -5
  7. package/documention/EchartsLayer.html +15 -5
  8. package/documention/FeatureLayer.html +5 -3
  9. package/documention/FeatureLayerUtil.html +6 -4
  10. package/documention/IGSImageryLayer.html +851 -0
  11. package/documention/IGSImageryTileLayer.html +741 -0
  12. package/documention/IGSMapImageLayer.html +57 -32
  13. package/documention/IGSTileLayer.html +106 -26
  14. package/documention/L.zondy.MapvBaseLayer.html +9 -3
  15. package/documention/MapLayer.html +33 -3
  16. package/documention/MapVLayer.html +15 -5
  17. package/documention/MapView.html +3860 -56
  18. package/documention/MapViewLeaflet.html +1413 -369
  19. package/documention/Popup.html +6 -4
  20. package/documention/Screenshot.html +5 -3
  21. package/documention/SketchEditor.html +3211 -0
  22. package/documention/SketchEditorLeaflet.html +477 -241
  23. package/documention/TileLayer.html +135 -3
  24. package/documention/TileLayerWMS.html +5 -3
  25. package/documention/VectorTileLayer.html +49 -5
  26. package/documention/WMSLayerView.html +5 -3
  27. package/documention/WebMapServiceLayer.html +51 -5
  28. package/documention/WebMapTileServiceLayer.html +41 -21
  29. package/documention/WebTileLayer.html +45 -5
  30. package/documention/global.html +511 -1869
  31. package/documention/index.html +5 -3
  32. package/documention/initializeOptions.html +384 -0
  33. package/documention/{Zondy.ThemeLayer.GeoFeatureThemeLayer.html → zondy.themelayer.GeoFeatureThemeLayer.html} +9 -3
  34. package/documention/{Zondy.ThemeLayer.GraphThemeLayer.html → zondy.themelayer.GraphThemeLayer.html} +5 -3
  35. package/documention/{Zondy.ThemeLayer.RandomThemeLayer.html → zondy.themelayer.RandomThemeLayer.html} +5 -3
  36. package/documention/{Zondy.ThemeLayer.ThemeLayer.html → zondy.themelayer.ThemeLayer.html} +9 -3
  37. package/documention/{Zondy.ThemeLayer.ThemeStyle.html → zondy.themelayer.ThemeStyle.html} +9 -3
  38. package/documention/{Zondy.ThemeLayer.rangeThemeLayer.html → zondy.themelayer.rangeThemeLayer.html} +5 -3
  39. package/documention/{Zondy.ThemeLayer.rankSymbolThemeLayer.html → zondy.themelayer.rankSymbolThemeLayer.html} +5 -3
  40. package/documention/{Zondy.ThemeLayer.simpleThemeLayer.html → zondy.themelayer.simpleThemeLayer.html} +5 -3
  41. package/documention/{Zondy.ThemeLayer.uniqueThemeLayer.html → zondy.themelayer.uniqueThemeLayer.html} +5 -3
  42. package/documention/{Zondy.view.UI.html → zondy.view.UI.html} +10 -4
  43. package/documention/{Zondy.Widget.html → zondy.widget.html} +6 -4
  44. package/package.json +7 -8
  45. package/documention/DrawControl.html +0 -802
@@ -1,802 +0,0 @@
1
- <header id="page-title" class="page-title">
2
-
3
- <span class="page-title-main">类名</span>
4
- <span class="page-title-sub">DrawControl</span>
5
-
6
- </header>
7
-
8
-
9
-
10
-
11
-
12
- <section>
13
-
14
- <article>
15
- <div class="container-overview">
16
-
17
-
18
- <div class='vertical-section'>
19
- <div class="members">
20
- <div class="member">
21
-
22
-
23
-
24
-
25
- <h4 class="name" id="DrawControl">
26
- <a class="href-link" href="#DrawControl">#</a>
27
-
28
- <span class="code-name" id="DrawControl" style="font-size:30px">
29
-
30
- new DrawControl<span class="signature">(options)</span>
31
-
32
- </span>
33
- </h4>
34
-
35
-
36
-
37
- <div class="description">
38
- <p>绘制工具</p>
39
- </div>
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
- <h4>参数</h4>
51
-
52
- <div class="table-container">
53
- <table class="params table">
54
- <thead>
55
- <tr>
56
-
57
- <th>名称</th>
58
-
59
-
60
- <th>类型</th>
61
-
62
-
63
-
64
- <th class="last">描述</th>
65
- </tr>
66
- </thead>
67
-
68
- <tbody>
69
-
70
-
71
-
72
- <tr class="deep-level-0">
73
-
74
- <td class="name"><code>options</code></td>
75
-
76
-
77
- <td class="type">
78
-
79
-
80
- <span class="param-type">
81
-
82
- Object
83
-
84
- </span>
85
-
86
-
87
-
88
-
89
- </td>
90
-
91
-
92
-
93
- <td class="description last"><p>构造参数</p></td>
94
- </tr>
95
-
96
-
97
-
98
-
99
- <tr class="deep-level-1">
100
-
101
- <td class="name"><code>complete</code></td>
102
-
103
-
104
- <td class="type">
105
-
106
-
107
- <span class="param-type">
108
-
109
- <a link="complete.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="complete" global.html#complete>complete</a>
110
-
111
- </span>
112
-
113
-
114
-
115
-
116
- </td>
117
-
118
-
119
-
120
- <td class="description last"><p>绘制完成后的回调函数</p></td>
121
- </tr>
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
- </tbody>
130
- </table>
131
- </div>
132
-
133
-
134
-
135
-
136
-
137
-
138
- <dl class="details">
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
- </dl>
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
- <h5>示例</h5>
195
-
196
- <p class="code-caption"><h7>初始化绘制工具</h7></p>
197
-
198
-
199
- <pre class="prettyprint"><code>// ES5引入方式
200
- const { Map, MapView } = Zondy
201
- const { DrawControl } = Zondy.Widget
202
- // ES6引入方式
203
- import { Map, MapView, DrawControl } from "@mapgis/webclient-leaflet-plugin"
204
- // 初始化图层管理容器
205
- const map = new Map();
206
- // 初始化地图视图对象
207
- const mapView = new MapView({
208
- // 视图id
209
- viewId: "viewer-id",
210
- // 图层管理容器
211
- map: map
212
- });
213
- // 初始化绘制控件
214
- const drawControl = new DrawControl({
215
- view: mapView,
216
- visible: true,
217
- complete: function (type, feature) {
218
- console.log("绘制类型:", type, ",绘制完成:", feature);
219
- featureLayer.add(feature);
220
- }
221
- })
222
- // 开始绘制
223
- drawControl.start('lineString', {})</code></pre>
224
-
225
-
226
- <p class="code-caption"><h7>通过控件进行绘制</h7></p>
227
-
228
-
229
- <pre class="prettyprint"><code>// ES5引入方式
230
- const { Map, MapView } = Zondy
231
- const { DrawControl } = Zondy.Widget
232
- // ES6引入方式
233
- import { Map, MapView, DrawControl } from "@mapgis/webclient-leaflet-plugin"
234
- // 初始化图层管理容器
235
- const map = new Map();
236
- // 初始化地图视图对象
237
- const mapView = new MapView({
238
- // 视图id
239
- viewId: "viewer-id",
240
- // 图层管理容器
241
- map: map
242
- });
243
- // 初始化绘制控件
244
- const drawControl = new DrawControl({
245
- view: mapView,
246
- visible: true,
247
- complete: function (type, feature) {
248
- console.log("绘制类型:", type, ",绘制完成:", feature);
249
- featureLayer.add(feature);
250
- }
251
- })
252
- // 添加控件
253
- mapView.ui.add(drawControl)</code></pre>
254
-
255
-
256
-
257
-
258
- </div>
259
- </div>
260
- </div>
261
-
262
-
263
- </div>
264
-
265
-
266
- <h3 class="subsection-title">继承关系</h3>
267
-
268
-
269
-
270
-
271
- <ul>
272
- <li><a link="Widget.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Widget" Widget.html>Widget</a></li>
273
- </ul>
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
-
291
- <div class='vertical-section'>
292
- <h3 id='function'>方法</h3>
293
- <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
294
- <div class="members">
295
- <div class="table-container">
296
- <table class="params table">
297
- <thead>
298
- <tr>
299
- <th>名称</th>
300
- <th>返回值类型</th>
301
- <th>描述</th>
302
- </tr>
303
- </thead>
304
- <tbody>
305
-
306
- <tr class="deep-level-0">
307
- <td class="name"><code><a href="#destory">destory</a></code></td>
308
- <td class="name">
309
- <code>
310
-
311
- </code>
312
- </td>
313
- <td class="name"><code><p>销毁控件</p></code></td>
314
- </tr>
315
-
316
- <tr class="deep-level-0">
317
- <td class="name"><code><a href="#destroy">destroy</a></code></td>
318
- <td class="name">
319
- <code>
320
-
321
- </code>
322
- </td>
323
- <td class="name"><code><p>销毁控件</p></code></td>
324
- </tr>
325
-
326
- <tr class="deep-level-0">
327
- <td class="name"><code><a href="#end">end</a></code></td>
328
- <td class="name">
329
- <code>
330
-
331
- </code>
332
- </td>
333
- <td class="name"><code><p>结束绘制</p></code></td>
334
- </tr>
335
-
336
- <tr class="deep-level-0">
337
- <td class="name"><code><a href="#start">start</a></code></td>
338
- <td class="name">
339
- <code>
340
-
341
- </code>
342
- </td>
343
- <td class="name"><code><p>开始绘制</p></code></td>
344
- </tr>
345
-
346
- </tbody>
347
- </table>
348
- </div>
349
- <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
350
-
351
- <div class="member">
352
-
353
-
354
-
355
- <h4 class="name" id="destory">
356
- <a class="href-link" href="#destory">#</a>
357
-
358
- <span class="code-name" id="destory" style="font-size:30px">
359
-
360
- destory<span class="signature">()</span>
361
-
362
- </span>
363
- </h4>
364
-
365
-
366
-
367
- <div class="description">
368
- <p>销毁控件</p>
369
- </div>
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
- <dl class="details">
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
- </dl>
417
-
418
-
419
-
420
-
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
- </div>
441
-
442
- <div class="member">
443
-
444
-
445
-
446
- <h4 class="name" id="destroy">
447
- <a class="href-link" href="#destroy">#</a>
448
-
449
- <span class="code-name" id="destroy" style="font-size:30px">
450
-
451
- destroy<span class="signature">()</span>
452
-
453
- </span>
454
- </h4>
455
-
456
-
457
-
458
- <div class="description">
459
- <p>销毁控件</p>
460
- </div>
461
-
462
-
463
-
464
-
465
-
466
-
467
-
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
- <dl class="details">
476
-
477
-
478
-
479
-
480
-
481
-
482
- <dt class="inherited-from">Inherited From:</dt>
483
- <dd class="inherited-from"><ul class="dummy"><li>
484
- <a goto="destroy" link="Widget.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Widget#destroy" Widget.html#destroy>Widget#destroy</a>
485
- </li></ul></dd>
486
-
487
-
488
-
489
-
490
-
491
-
492
-
493
-
494
-
495
-
496
-
497
-
498
-
499
-
500
-
501
-
502
-
503
-
504
-
505
-
506
-
507
-
508
-
509
-
510
-
511
-
512
- </dl>
513
-
514
-
515
-
516
-
517
-
518
-
519
-
520
-
521
-
522
-
523
-
524
-
525
-
526
-
527
-
528
-
529
-
530
-
531
-
532
-
533
-
534
-
535
-
536
- </div>
537
-
538
- <div class="member">
539
-
540
-
541
-
542
- <h4 class="name" id="end">
543
- <a class="href-link" href="#end">#</a>
544
-
545
- <span class="code-name" id="end" style="font-size:30px">
546
-
547
- end<span class="signature">()</span>
548
-
549
- </span>
550
- </h4>
551
-
552
-
553
-
554
- <div class="description">
555
- <p>结束绘制</p>
556
- </div>
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
- <dl class="details">
572
-
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
- </dl>
604
-
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
-
625
-
626
-
627
- </div>
628
-
629
- <div class="member">
630
-
631
-
632
-
633
- <h4 class="name" id="start">
634
- <a class="href-link" href="#start">#</a>
635
-
636
- <span class="code-name" id="start" style="font-size:30px">
637
-
638
- start<span class="signature">(type, drawOptions)</span>
639
-
640
- </span>
641
- </h4>
642
-
643
-
644
-
645
- <div class="description">
646
- <p>开始绘制</p>
647
- </div>
648
-
649
-
650
-
651
-
652
-
653
-
654
-
655
-
656
-
657
-
658
- <h4>参数</h4>
659
-
660
- <div class="table-container">
661
- <table class="params table">
662
- <thead>
663
- <tr>
664
-
665
- <th>名称</th>
666
-
667
-
668
- <th>类型</th>
669
-
670
-
671
-
672
- <th class="last">描述</th>
673
- </tr>
674
- </thead>
675
-
676
- <tbody>
677
-
678
-
679
-
680
- <tr class="deep-level-0">
681
-
682
- <td class="name"><code>type</code></td>
683
-
684
-
685
- <td class="type">
686
-
687
-
688
- <span class="param-type">
689
-
690
- String
691
-
692
- </span>
693
-
694
-
695
-
696
-
697
- </td>
698
-
699
-
700
-
701
- <td class="description last"><p>绘制类型,lineString,polygon,rectangle,marker,circle</p></td>
702
- </tr>
703
-
704
-
705
-
706
-
707
-
708
-
709
- <tr class="deep-level-0">
710
-
711
- <td class="name"><code>drawOptions</code></td>
712
-
713
-
714
- <td class="type">
715
-
716
- </td>
717
-
718
-
719
-
720
- <td class="description last"><p>绘制参数</p></td>
721
- </tr>
722
-
723
-
724
-
725
-
726
- </tbody>
727
- </table>
728
- </div>
729
-
730
-
731
-
732
-
733
-
734
-
735
- <dl class="details">
736
-
737
-
738
-
739
-
740
-
741
-
742
-
743
-
744
-
745
-
746
-
747
-
748
-
749
-
750
-
751
-
752
-
753
-
754
-
755
-
756
-
757
-
758
-
759
-
760
-
761
-
762
-
763
-
764
-
765
-
766
-
767
- </dl>
768
-
769
-
770
-
771
-
772
-
773
-
774
-
775
-
776
-
777
-
778
-
779
-
780
-
781
-
782
-
783
-
784
-
785
-
786
-
787
-
788
-
789
-
790
-
791
- </div>
792
-
793
- </div>
794
- </div>
795
-
796
-
797
-
798
-
799
-
800
- </article>
801
-
802
- </section>