@mapgis/webclient-mapboxgl-plugin 17.6.0 → 17.6.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.
package/documention/global.html
CHANGED
|
@@ -213,6 +213,372 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
213
213
|
|
|
214
214
|
|
|
215
215
|
|
|
216
|
+
<h4 class="name" id="_getClassBreakStyle">
|
|
217
|
+
<a class="href-link" href="#_getClassBreakStyle">#</a>
|
|
218
|
+
|
|
219
|
+
<span class="code-name" style="font-size:30px">
|
|
220
|
+
|
|
221
|
+
_getClassBreakStyle<span class="signature">(styleOptions)</span>
|
|
222
|
+
|
|
223
|
+
</span>
|
|
224
|
+
</h4>
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<div class="description">
|
|
229
|
+
<p>获取分段对应的mapbox样式对象</p>
|
|
230
|
+
</div>
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
<h4>参数:</h4>
|
|
242
|
+
|
|
243
|
+
<div class="table-container">
|
|
244
|
+
<table class="params table">
|
|
245
|
+
<thead>
|
|
246
|
+
<tr>
|
|
247
|
+
|
|
248
|
+
<th>名称</th>
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
<th>类型</th>
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
<th class="last">描述</th>
|
|
256
|
+
</tr>
|
|
257
|
+
</thead>
|
|
258
|
+
|
|
259
|
+
<tbody>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
<tr class="deep-level-0">
|
|
264
|
+
|
|
265
|
+
<td class="name"><code>styleOptions</code></td>
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
<td class="type">
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
<span class="param-type">Object</span>
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
</td>
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
<td class="description last"><p>构造样式需要的参数</p></td>
|
|
280
|
+
</tr>
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
<tr class="deep-level-1">
|
|
286
|
+
|
|
287
|
+
<td class="name"><code>info</code></td>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
<td class="type">
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
<span class="param-type">Object</span>
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
</td>
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
<td class="description last"><p>单个分段参数对象</p></td>
|
|
302
|
+
</tr>
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
<tr class="deep-level-1">
|
|
308
|
+
|
|
309
|
+
<td class="name"><code>visible</code></td>
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
<td class="type">
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
<span class="param-type">Boolean</span>
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
</td>
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
<td class="description last"><p>样式是否可以显示</p></td>
|
|
324
|
+
</tr>
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
<tr class="deep-level-1">
|
|
330
|
+
|
|
331
|
+
<td class="name"><code>opacity</code></td>
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
<td class="type">
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
<span class="param-type">Number</span>
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
</td>
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
<td class="description last"><p>样式透明度</p></td>
|
|
346
|
+
</tr>
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
<tr class="deep-level-1">
|
|
352
|
+
|
|
353
|
+
<td class="name"><code>convertSymbolOptions</code></td>
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
<td class="type">
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
<span class="param-type">Object</span>
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
</td>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
<td class="description last"><p>convertSymbol方法需要的参数</p></td>
|
|
368
|
+
</tr>
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
<tr class="deep-level-1">
|
|
374
|
+
|
|
375
|
+
<td class="name"><code>isLast</code></td>
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
<td class="type">
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
<span class="param-type">Boolean</span>
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
</td>
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
<td class="description last"><p>是否是最后一个分段</p></td>
|
|
390
|
+
</tr>
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
<tr class="deep-level-1">
|
|
396
|
+
|
|
397
|
+
<td class="name"><code>expression</code></td>
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
<td class="type">
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
<span class="param-type">String</span>
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
</td>
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
<td class="description last"><p>样式表达式</p></td>
|
|
412
|
+
</tr>
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
<tr class="deep-level-1">
|
|
418
|
+
|
|
419
|
+
<td class="name"><code>renderer</code></td>
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
<td class="type">
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
<span class="param-type">ClassBreakRenderer</span>
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
</td>
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
<td class="description last"><p>渲染器对象</p></td>
|
|
434
|
+
</tr>
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
<tr class="deep-level-1">
|
|
440
|
+
|
|
441
|
+
<td class="name"><code>classBreakSpace</code></td>
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
<td class="type">
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
<span class="param-type">Array.<Object></span>
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
</td>
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
<td class="description last"><p>分段信息外的分段</p></td>
|
|
456
|
+
</tr>
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
<tr class="deep-level-1">
|
|
462
|
+
|
|
463
|
+
<td class="name"><code>sourceId</code></td>
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
<td class="type">
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
<span class="param-type">String</span>
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
</td>
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
<td class="description last"><p>sourceId</p></td>
|
|
478
|
+
</tr>
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
</tbody>
|
|
487
|
+
</table>
|
|
488
|
+
</div>
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
<dl class="details">
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
</dl>
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
<div class='columns method-parameter'>
|
|
547
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
548
|
+
<div class="column is-10">
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
<div class="columns">
|
|
553
|
+
|
|
554
|
+
<div class='param-desc column is-7'><p>MapboxGL的样式对象</p></div>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
<div class='column is-5 has-text-left'>
|
|
558
|
+
<label>类型: </label>
|
|
559
|
+
|
|
560
|
+
<span class="param-type">Object</span>
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
</div>
|
|
564
|
+
|
|
565
|
+
</div>
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
</div>
|
|
569
|
+
</div>
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
</div>
|
|
577
|
+
|
|
578
|
+
<div class="member">
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
216
582
|
<h4 class="name" id="addStyleToMapboxglMap">
|
|
217
583
|
<a class="href-link" href="#addStyleToMapboxglMap">#</a>
|
|
218
584
|
|
|
@@ -2594,7 +2960,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2594
2960
|
|
|
2595
2961
|
<span class="code-name" style="font-size:30px">
|
|
2596
2962
|
|
|
2597
|
-
getRasterSource<span class="signature">(url, tileSize, renderMode, subDomains, requestParams, clippingArea, decryptOptions)</span>
|
|
2963
|
+
getRasterSource<span class="signature">(url, tileSize, renderMode, subDomains, requestParams, clippingArea, decryptOptions, extent)</span>
|
|
2598
2964
|
|
|
2599
2965
|
</span>
|
|
2600
2966
|
</h4>
|
|
@@ -2802,6 +3168,30 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2802
3168
|
|
|
2803
3169
|
|
|
2804
3170
|
|
|
3171
|
+
|
|
3172
|
+
|
|
3173
|
+
<tr class="deep-level-0">
|
|
3174
|
+
|
|
3175
|
+
<td class="name"><code>extent</code></td>
|
|
3176
|
+
|
|
3177
|
+
|
|
3178
|
+
<td class="type">
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
<span class="param-type">Extent</span>
|
|
3182
|
+
|
|
3183
|
+
|
|
3184
|
+
|
|
3185
|
+
</td>
|
|
3186
|
+
|
|
3187
|
+
|
|
3188
|
+
|
|
3189
|
+
<td class="description last"><p>数据源范围</p></td>
|
|
3190
|
+
</tr>
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
|
|
2805
3195
|
</tbody>
|
|
2806
3196
|
</table>
|
|
2807
3197
|
</div>
|
package/package.json
CHANGED