@mapgis/webclient-leaflet-plugin 17.2.0 → 17.2.2

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 (36) hide show
  1. package/README.md +22 -4
  2. package/dist/es5/webclient-common.min.js +5 -5
  3. package/dist/es5/webclient-leaflet-plugin.min.js +6 -6
  4. package/dist/webclient-leaflet-plugin-es6.min.js +6 -6
  5. package/documention/ArcGISMapImageLayer.html +820 -0
  6. package/documention/ArcGISTileLayer.html +498 -0
  7. package/documention/EchartsLayer.html +261 -0
  8. package/documention/FeatureLayer.html +212 -0
  9. package/documention/FeatureLayerUtil.html +288 -0
  10. package/documention/IGSMapImageLayer.html +948 -0
  11. package/documention/IGSTileLayer.html +562 -0
  12. package/documention/MapLayer.html +330 -0
  13. package/documention/MapVLayer.html +320 -0
  14. package/documention/MapViewLeaflet.html +7 -7
  15. package/documention/Popup.html +4 -2
  16. package/documention/Screenshot.html +5 -3
  17. package/documention/SketchEditorLeaflet.html +76 -46
  18. package/documention/TileLayer.html +279 -0
  19. package/documention/TileLayerWMS.html +222 -0
  20. package/documention/VectorTileLayer.html +529 -0
  21. package/documention/WMSLayerView.html +689 -0
  22. package/documention/WebMapServiceLayer.html +723 -0
  23. package/documention/WebMapTileServiceLayer.html +754 -0
  24. package/documention/WebTileLayer.html +663 -0
  25. package/documention/Zondy.ThemeLayer.GeoFeatureThemeLayer.html +22 -22
  26. package/documention/Zondy.ThemeLayer.GraphThemeLayer.html +30 -30
  27. package/documention/Zondy.ThemeLayer.RandomThemeLayer.html +34 -34
  28. package/documention/Zondy.ThemeLayer.ThemeLayer.html +3 -3
  29. package/documention/Zondy.ThemeLayer.rangeThemeLayer.html +34 -34
  30. package/documention/Zondy.ThemeLayer.rankSymbolThemeLayer.html +47 -47
  31. package/documention/Zondy.ThemeLayer.simpleThemeLayer.html +33 -33
  32. package/documention/Zondy.ThemeLayer.uniqueThemeLayer.html +30 -30
  33. package/documention/Zondy.Widget.html +5 -5
  34. package/documention/global.html +454 -0
  35. package/documention/index.html +3 -3
  36. package/package.json +3 -2
@@ -0,0 +1,562 @@
1
+ <header id="page-title" class="page-title">
2
+
3
+ <span class="page-title-main">类名</span>
4
+ <span class="page-title-sub">IGSTileLayer</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="IGSTileLayer">
26
+ <a class="href-link" href="#IGSTileLayer">#</a>
27
+
28
+ <span class="code-name" id="IGSTileLayer" style="font-size:30px">
29
+
30
+ new IGSTileLayer<span class="signature">(url, options)</span>
31
+
32
+ </span>
33
+ </h4>
34
+
35
+
36
+
37
+ <div class="description">
38
+ <p>IGS瓦片图层(Leaflet)</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>url</code></td>
75
+
76
+
77
+ <td class="type">
78
+
79
+
80
+ <span class="param-type">
81
+
82
+ String
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
+
100
+
101
+ <tr class="deep-level-0">
102
+
103
+ <td class="name"><code>options</code></td>
104
+
105
+
106
+ <td class="type">
107
+
108
+
109
+ <span class="param-type">
110
+
111
+ Object
112
+
113
+ </span>
114
+
115
+
116
+
117
+
118
+ </td>
119
+
120
+
121
+
122
+ <td class="description last"><p>额外构造参数</p></td>
123
+ </tr>
124
+
125
+
126
+
127
+
128
+ <tr class="deep-level-1">
129
+
130
+ <td class="name"><code>tileSize</code></td>
131
+
132
+
133
+ <td class="type">
134
+
135
+
136
+ <span class="param-type">
137
+
138
+ Number
139
+
140
+ </span>
141
+
142
+
143
+
144
+
145
+ </td>
146
+
147
+
148
+
149
+ <td class="description last"><p>瓦片大小,默认为256</p></td>
150
+ </tr>
151
+
152
+
153
+
154
+
155
+ <tr class="deep-level-1">
156
+
157
+ <td class="name"><code>bounds</code></td>
158
+
159
+
160
+ <td class="type">
161
+
162
+
163
+ <span class="param-type">
164
+
165
+ L.latLngBounds
166
+
167
+ </span>
168
+
169
+
170
+
171
+
172
+ </td>
173
+
174
+
175
+
176
+ <td class="description last"><p>图层显示范围</p></td>
177
+ </tr>
178
+
179
+
180
+
181
+
182
+ <tr class="deep-level-1">
183
+
184
+ <td class="name"><code>igsVersion</code></td>
185
+
186
+
187
+ <td class="type">
188
+
189
+
190
+ <span class="param-type">
191
+
192
+ String
193
+
194
+ </span>
195
+
196
+
197
+
198
+
199
+ </td>
200
+
201
+
202
+
203
+ <td class="description last"><p>IGS版本号</p></td>
204
+ </tr>
205
+
206
+
207
+
208
+
209
+ <tr class="deep-level-1">
210
+
211
+ <td class="name"><code>tokenKey</code></td>
212
+
213
+
214
+ <td class="type">
215
+
216
+
217
+ <span class="param-type">
218
+
219
+ String
220
+
221
+ </span>
222
+
223
+
224
+
225
+
226
+ </td>
227
+
228
+
229
+
230
+ <td class="description last"><p>token名</p></td>
231
+ </tr>
232
+
233
+
234
+
235
+
236
+ <tr class="deep-level-1">
237
+
238
+ <td class="name"><code>tokenValue</code></td>
239
+
240
+
241
+ <td class="type">
242
+
243
+
244
+ <span class="param-type">
245
+
246
+ String
247
+
248
+ </span>
249
+
250
+
251
+
252
+
253
+ </td>
254
+
255
+
256
+
257
+ <td class="description last"><p>token值</p></td>
258
+ </tr>
259
+
260
+
261
+
262
+
263
+ <tr class="deep-level-1">
264
+
265
+ <td class="name"><code>clippingArea</code></td>
266
+
267
+
268
+ <td class="type">
269
+
270
+
271
+ <span class="param-type">
272
+
273
+ Object
274
+
275
+ </span>
276
+
277
+
278
+
279
+
280
+ </td>
281
+
282
+
283
+
284
+ <td class="description last"><p>图层裁剪几何对象</p></td>
285
+ </tr>
286
+
287
+
288
+
289
+
290
+ <tr class="deep-level-1">
291
+
292
+ <td class="name"><code>visible</code></td>
293
+
294
+
295
+ <td class="type">
296
+
297
+
298
+ <span class="param-type">
299
+
300
+ Boolean
301
+
302
+ </span>
303
+
304
+
305
+
306
+
307
+ </td>
308
+
309
+
310
+
311
+ <td class="description last"><p>图层显隐</p></td>
312
+ </tr>
313
+
314
+
315
+
316
+
317
+ <tr class="deep-level-1">
318
+
319
+ <td class="name"><code>opacity</code></td>
320
+
321
+
322
+ <td class="type">
323
+
324
+
325
+ <span class="param-type">
326
+
327
+ Number
328
+
329
+ </span>
330
+
331
+
332
+
333
+
334
+ </td>
335
+
336
+
337
+
338
+ <td class="description last"><p>图层透明度</p></td>
339
+ </tr>
340
+
341
+
342
+
343
+
344
+ <tr class="deep-level-1">
345
+
346
+ <td class="name"><code>crsOptions</code></td>
347
+
348
+
349
+ <td class="type">
350
+
351
+
352
+ <span class="param-type">
353
+
354
+ Object
355
+
356
+ </span>
357
+
358
+
359
+
360
+
361
+ </td>
362
+
363
+
364
+
365
+ <td class="description last"><p>图层叠加参数</p></td>
366
+ </tr>
367
+
368
+
369
+
370
+
371
+ <tr class="deep-level-1">
372
+
373
+ <td class="name"><code>minZoom</code></td>
374
+
375
+
376
+ <td class="type">
377
+
378
+
379
+ <span class="param-type">
380
+
381
+ Number
382
+
383
+ </span>
384
+
385
+
386
+
387
+
388
+ </td>
389
+
390
+
391
+
392
+ <td class="description last"><p>最小层级</p></td>
393
+ </tr>
394
+
395
+
396
+
397
+
398
+ <tr class="deep-level-1">
399
+
400
+ <td class="name"><code>maxZoom</code></td>
401
+
402
+
403
+ <td class="type">
404
+
405
+
406
+ <span class="param-type">
407
+
408
+ Number
409
+
410
+ </span>
411
+
412
+
413
+
414
+
415
+ </td>
416
+
417
+
418
+
419
+ <td class="description last"><p>最大层级</p></td>
420
+ </tr>
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+ </tbody>
429
+ </table>
430
+ </div>
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
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+ </dl>
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+
492
+
493
+ <h5>示例</h5>
494
+
495
+ <p class="code-caption"><h7 id='addLayer'>混合开发模式</h7></p>
496
+
497
+
498
+ <pre class="prettyprint"><code>// ES5引入方式
499
+ const { IGSTileLayer } = zondy.Layer
500
+ const { initializeCRS, initializeOptions } = zondy.leaflet
501
+ // ES6引入方式
502
+ import { IGSTileLayer } from "@mapgis/webclient-common"
503
+ import "@mapgis/webclient-leaflet-plugin"
504
+ const { initializeCRS, initializeOptions } = zondy.leaflet
505
+
506
+ // 构造一个IGSTileLayer图层对象
507
+ const layer = new IGSTileLayer({
508
+ // 服务基地址
509
+ url: "http://{ip}:{port}/arcgis/rest/services/{服务名}/TileServer"
510
+ });
511
+ // 加载图层元数据
512
+ layer.load().then(function () {
513
+ // 构造地图视图的初始化参数
514
+ const crs = initializeCRS(layer)
515
+ const mapViewOptions = {
516
+ // 地图视图参考系
517
+ crs: crs,
518
+ // 初始化中心点
519
+ center: [31.147781205532336,112.21905099757561],
520
+ // 初始化级数
521
+ zoom: 6
522
+ }
523
+ // 构造Leaflet地图视图对象
524
+ const map = L.map('地图视图容器ID', mapViewOptions)
525
+ // 构造图层的初始化参数
526
+ const layerOptions = initializeOptions(layer)
527
+ // 添加图层到地图视图中
528
+ new zondy.leaflet.IGSTileLayer(layer.url, layerOptions).addTo(map)
529
+ })</code></pre>
530
+
531
+
532
+
533
+
534
+ </div>
535
+ </div>
536
+ </div>
537
+
538
+
539
+ </div>
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+ </article>
561
+
562
+ </section>