@mapgis/webclient-cesium-plugin 17.0.5 → 17.2.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.
- package/README.md +9 -29
- package/dist/es5/webclient-cesium-plugin.min.js +6 -6
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-cesium-plugin-es6.min.js +6 -6
- package/documention/ArcGISMapServerImageryProvider.html +1 -7
- package/documention/ArcGISTileServerImageryProvider.html +0 -6
- package/documention/ArcGISVectorTileImageryProvider.html +866 -0
- package/documention/CustomTilingScheme.html +5 -5
- package/documention/GeoJSONLayerUtil.html +1 -1
- package/documention/IGSFeatureLayerUtil.html +1 -1
- package/documention/IGSSceneLayerUtil.html +626 -29
- package/documention/MapGISMapServerImageryProvider.html +7 -70
- package/documention/MapGISTerrainProvider.html +499 -558
- package/documention/MapGISTileServerImageryProvider.html +154 -8
- package/documention/MapGISVectorTileImageryProvider.html +253 -0
- package/documention/SceneViewCesium.html +4 -130
- package/documention/Screenshot.html +0 -11
- package/documention/SketchEditorCesium.html +63 -1
- package/documention/UrlTemplateImageryProvider.html +45 -1
- package/documention/WFSLayerUtil.html +1 -1
- package/documention/WebMapServiceImageryProvider.html +2 -8
- package/documention/WebMapTileServiceImageryProvider.html +55 -8
- package/documention/index.html +5 -5
- package/documention/scripts/sideBar.js +16 -2
- package/package.json +2 -3
- package/documention/FeatureLayerUtil.html +0 -471
- package/documention/MapGISTileServerImageProvider.html +0 -2150
- package/documention/SceneView.html +0 -4250
|
@@ -329,6 +329,46 @@
|
|
|
329
329
|
|
|
330
330
|
|
|
331
331
|
|
|
332
|
+
<tr class="deep-level-1">
|
|
333
|
+
|
|
334
|
+
<td class="name"><code>isStretchImage</code></td>
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
<td class="type">
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
<span class="param-type">
|
|
341
|
+
|
|
342
|
+
Boolean
|
|
343
|
+
|
|
344
|
+
</span>
|
|
345
|
+
|
|
|
346
|
+
|
|
347
|
+
<span class="param-type">
|
|
348
|
+
|
|
349
|
+
undefined
|
|
350
|
+
|
|
351
|
+
</span>
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
</td>
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
<td class="default">
|
|
360
|
+
|
|
361
|
+
false
|
|
362
|
+
|
|
363
|
+
</td>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
<td class="description last"><p>超过最大最小层级范围图像是否进行图像的拉伸。此值未定义或者设置为true时,如果图像level小于minimumLevel或者大于maximumLevel,图像会进行拉伸。反之,如果图像level小于minimumLevel或者大于maximumLevel,不会再请求图像以及拉伸图像</p></td>
|
|
367
|
+
</tr>
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
332
372
|
<tr class="deep-level-1">
|
|
333
373
|
|
|
334
374
|
<td class="name"><code>tilingScheme</code></td>
|
|
@@ -596,19 +636,13 @@
|
|
|
596
636
|
<p class="code-caption"><h7>添加一个MapGIS瓦片服务:原生接口</h7></p>
|
|
597
637
|
|
|
598
638
|
|
|
599
|
-
<pre class="prettyprint"><code>// ES5引入方式
|
|
600
639
|
const provider = await MapGISTileServerImageryProvider.fromUrl(url)
|
|
601
640
|
viewer.imageryLayers.addImageryProvider(provider)
|
|
641
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
602
642
|
const provider = await MapGISTileServerImageryProvider.fromUrl(url)
|
|
603
643
|
viewer.imageryLayers.addImageryProvider(provider)
|
|
604
644
|
|
|
605
645
|
|
|
606
646
|
<p class="code-caption"><h7>添加一个MapGIS瓦片服务:混合接口</h7></p>
|
|
607
647
|
|
|
608
648
|
|
|
609
|
-
<pre class="prettyprint"><code>// ES5引入方式
|
|
610
649
|
// 获取provider的初始化参数
|
|
611
650
|
const options = initializeOptions(layer, viewer)
|
|
612
651
|
// 构造provider对象
|
|
613
652
|
provider = new MapGISTileServerImageryProvider(options)
|
|
614
653
|
// 添加图层到Cesium视图中
|
|
615
654
|
cesiumLayer = viewer.imageryLayers.addImageryProvider(provider)
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
<p class="code-caption"><h7>添加一个MapGIS瓦片服务:混合接口</h7></p>
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
<pre class="prettyprint"><code>// ES5引入方式
|
|
622
655
|
const { spatialReference, extent, tileInfo } = result
|
|
623
656
|
const tilingScheme = getTilingSchemeBySpatialReference(
|
|
624
657
|
spatialReference,
|
|
625
658
|
extent,
|
|
626
659
|
tileInfo
|
|
627
660
|
)
|
|
628
661
|
const rectangle = getExtent(
|
|
629
662
|
{ extent, spatialReference },
|
|
630
663
|
tilingScheme.rectangle
|
|
631
664
|
)
|
|
632
665
|
viewer.imageryLayers.addImageryProvider(
|
|
633
666
|
new MapGISTileServerImageryProvider({
|
|
634
667
|
// 服务基地址
|
|
635
668
|
url,
|
|
636
669
|
// 瓦片宽度
|
|
637
670
|
tileWidth: tileInfo.size[0],
|
|
638
671
|
// 瓦片高度
|
|
639
672
|
tileHeight: tileInfo.size[1],
|
|
640
673
|
// 地图瓦片的切分方式,经纬度、Web墨卡托或自定义投影
|
|
641
674
|
tilingScheme,
|
|
642
675
|
// 瓦片服务的加载范围
|
|
643
676
|
rectangle: new Cesium.Rectangle(
|
|
644
677
|
rectangle.xmin,
|
|
645
678
|
rectangle.ymin,
|
|
646
679
|
rectangle.xmax,
|
|
647
680
|
rectangle.ymax
|
|
648
681
|
)
|
|
649
682
|
})
|
|
650
683
|
)
|
|
684
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
651
685
|
// 获取provider的初始化参数
|
|
652
686
|
const options = initializeOptions(layer, viewer)
|
|
653
687
|
// 构造provider对象
|
|
654
688
|
provider = new MapGISTileServerImageryProvider(options)
|
|
655
689
|
// 添加图层到Cesium视图中
|
|
656
690
|
cesiumLayer = viewer.imageryLayers.addImageryProvider(provider)
|
|
657
691
|
|
|
658
692
|
|
|
659
693
|
|
|
@@ -703,6 +737,31 @@
|
|
|
703
737
|
通道的图像将被视为它们的alpha在任何地方都是1.0。当此属性为false时,内存使用和纹理上传时间会减少</p></code></td>
|
|
704
738
|
</tr>
|
|
705
739
|
|
|
740
|
+
<tr class="deep-level-0">
|
|
741
|
+
<td class="name"><code><a href="#isStretchImage">isStretchImage</a></code></td>
|
|
742
|
+
<td class="name">
|
|
743
|
+
<code>
|
|
744
|
+
|
|
745
|
+
<span class="param-type">
|
|
746
|
+
|
|
747
|
+
Boolean
|
|
748
|
+
|
|
749
|
+
</span>
|
|
750
|
+
|
|
|
751
|
+
|
|
752
|
+
<span class="param-type">
|
|
753
|
+
|
|
754
|
+
undefined
|
|
755
|
+
|
|
756
|
+
</span>
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
</code>
|
|
761
|
+
</td>
|
|
762
|
+
<td class="name"><code><p>超过最大最小层级范围图像是否进行图像的拉伸</p></code></td>
|
|
763
|
+
</tr>
|
|
764
|
+
|
|
706
765
|
<tr class="deep-level-0">
|
|
707
766
|
<td class="name"><code><a href="#mapgisOffset">mapgisOffset</a></code></td>
|
|
708
767
|
<td class="name">
|
|
@@ -1130,6 +1189,93 @@
|
|
|
1130
1189
|
|
|
1131
1190
|
|
|
1132
1191
|
|
|
1192
|
+
</dl>
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
</div>
|
|
1199
|
+
|
|
1200
|
+
<div class="member">
|
|
1201
|
+
|
|
1202
|
+
<span class="method-parameter is-pulled-right">
|
|
1203
|
+
<label>类型:</label>
|
|
1204
|
+
|
|
1205
|
+
<span class="param-type">
|
|
1206
|
+
|
|
1207
|
+
Boolean
|
|
1208
|
+
|
|
1209
|
+
</span>
|
|
1210
|
+
|
|
|
1211
|
+
|
|
1212
|
+
<span class="param-type">
|
|
1213
|
+
|
|
1214
|
+
undefined
|
|
1215
|
+
|
|
1216
|
+
</span>
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
</span>
|
|
1221
|
+
|
|
1222
|
+
<h4 class="name" id="isStretchImage">
|
|
1223
|
+
<a class="href-link" href="#isStretchImage">#</a>
|
|
1224
|
+
|
|
1225
|
+
<span class="code-name">
|
|
1226
|
+
isStretchImage
|
|
1227
|
+
</span>
|
|
1228
|
+
|
|
1229
|
+
</h4>
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
<div class="description">
|
|
1235
|
+
<p>超过最大最小层级范围图像是否进行图像的拉伸</p>
|
|
1236
|
+
</div>
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
<dl class="details">
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1268
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1269
|
+
<li>false</li>
|
|
1270
|
+
</ul></dd>
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
|
|
1133
1279
|
</dl>
|
|
1134
1280
|
|
|
1135
1281
|
|
|
@@ -433,6 +433,46 @@
|
|
|
433
433
|
|
|
434
434
|
|
|
435
435
|
|
|
436
|
+
<tr class="deep-level-1">
|
|
437
|
+
|
|
438
|
+
<td class="name"><code>isStretchImage</code></td>
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
<td class="type">
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
<span class="param-type">
|
|
445
|
+
|
|
446
|
+
Boolean
|
|
447
|
+
|
|
448
|
+
</span>
|
|
449
|
+
|
|
|
450
|
+
|
|
451
|
+
<span class="param-type">
|
|
452
|
+
|
|
453
|
+
undefined
|
|
454
|
+
|
|
455
|
+
</span>
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
</td>
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
<td class="default">
|
|
464
|
+
|
|
465
|
+
false
|
|
466
|
+
|
|
467
|
+
</td>
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
<td class="description last"><p>超过最大最小层级范围图像是否进行图像的拉伸。此值未定义或者设置为true时,如果图像level小于minimumLevel或者大于maximumLevel,图像会进行拉伸。反之,如果图像level小于minimumLevel或者大于maximumLevel,不会再请求图像以及拉伸图像</p></td>
|
|
471
|
+
</tr>
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
436
476
|
<tr class="deep-level-1">
|
|
437
477
|
|
|
438
478
|
<td class="name"><code>tokenKey</code></td>
|
|
@@ -817,6 +857,31 @@ addImageryProvider(url)</code></pre>
|
|
|
817
857
|
<td class="name"><code><p>瓦片是否能设置透明度</p></code></td>
|
|
818
858
|
</tr>
|
|
819
859
|
|
|
860
|
+
<tr class="deep-level-0">
|
|
861
|
+
<td class="name"><code><a href="#isStretchImage">isStretchImage</a></code></td>
|
|
862
|
+
<td class="name">
|
|
863
|
+
<code>
|
|
864
|
+
|
|
865
|
+
<span class="param-type">
|
|
866
|
+
|
|
867
|
+
Boolean
|
|
868
|
+
|
|
869
|
+
</span>
|
|
870
|
+
|
|
|
871
|
+
|
|
872
|
+
<span class="param-type">
|
|
873
|
+
|
|
874
|
+
undefined
|
|
875
|
+
|
|
876
|
+
</span>
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
</code>
|
|
881
|
+
</td>
|
|
882
|
+
<td class="name"><code><p>超过最大最小层级范围图像是否进行图像的拉伸</p></code></td>
|
|
883
|
+
</tr>
|
|
884
|
+
|
|
820
885
|
<tr class="deep-level-0">
|
|
821
886
|
<td class="name"><code><a href="#labelsRenderMode">labelsRenderMode</a></code></td>
|
|
822
887
|
<td class="name">
|
|
@@ -1288,6 +1353,93 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1288
1353
|
|
|
1289
1354
|
|
|
1290
1355
|
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
</dl>
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
</div>
|
|
1371
|
+
|
|
1372
|
+
<div class="member">
|
|
1373
|
+
|
|
1374
|
+
<span class="method-parameter is-pulled-right">
|
|
1375
|
+
<label>类型:</label>
|
|
1376
|
+
|
|
1377
|
+
<span class="param-type">
|
|
1378
|
+
|
|
1379
|
+
Boolean
|
|
1380
|
+
|
|
1381
|
+
</span>
|
|
1382
|
+
|
|
|
1383
|
+
|
|
1384
|
+
<span class="param-type">
|
|
1385
|
+
|
|
1386
|
+
undefined
|
|
1387
|
+
|
|
1388
|
+
</span>
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
</span>
|
|
1393
|
+
|
|
1394
|
+
<h4 class="name" id="isStretchImage">
|
|
1395
|
+
<a class="href-link" href="#isStretchImage">#</a>
|
|
1396
|
+
|
|
1397
|
+
<span class="code-name">
|
|
1398
|
+
isStretchImage
|
|
1399
|
+
</span>
|
|
1400
|
+
|
|
1401
|
+
</h4>
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
<div class="description">
|
|
1407
|
+
<p>超过最大最小层级范围图像是否进行图像的拉伸</p>
|
|
1408
|
+
</div>
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
<dl class="details">
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1440
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1441
|
+
<li>false</li>
|
|
1442
|
+
</ul></dd>
|
|
1291
1443
|
|
|
1292
1444
|
|
|
1293
1445
|
|
|
@@ -2770,6 +2922,16 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
2770
2922
|
<td class="name"><code><p>获取注记的渲染模式</p></code></td>
|
|
2771
2923
|
</tr>
|
|
2772
2924
|
|
|
2925
|
+
<tr class="deep-level-0">
|
|
2926
|
+
<td class="name"><code><a href="#destroy">destroy</a></code></td>
|
|
2927
|
+
<td class="name">
|
|
2928
|
+
<code>
|
|
2929
|
+
|
|
2930
|
+
</code>
|
|
2931
|
+
</td>
|
|
2932
|
+
<td class="name"><code><p>销毁MapGISVectorTileImageryProvider的相关事件和私有变量</p></code></td>
|
|
2933
|
+
</tr>
|
|
2934
|
+
|
|
2773
2935
|
<tr class="deep-level-0">
|
|
2774
2936
|
<td class="name"><code><a href="#drawTile">drawTile</a></code></td>
|
|
2775
2937
|
<td class="name">
|
|
@@ -3197,6 +3359,97 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
3197
3359
|
|
|
3198
3360
|
|
|
3199
3361
|
|
|
3362
|
+
|
|
3363
|
+
|
|
3364
|
+
|
|
3365
|
+
</div>
|
|
3366
|
+
|
|
3367
|
+
<div class="member">
|
|
3368
|
+
|
|
3369
|
+
|
|
3370
|
+
|
|
3371
|
+
<h4 class="name" id="destroy">
|
|
3372
|
+
<a class="href-link" href="#destroy">#</a>
|
|
3373
|
+
|
|
3374
|
+
<span class="code-name" id="destroy" style="font-size:30px">
|
|
3375
|
+
|
|
3376
|
+
destroy<span class="signature">()</span>
|
|
3377
|
+
|
|
3378
|
+
</span>
|
|
3379
|
+
</h4>
|
|
3380
|
+
|
|
3381
|
+
|
|
3382
|
+
|
|
3383
|
+
<div class="description">
|
|
3384
|
+
<p>销毁MapGISVectorTileImageryProvider的相关事件和私有变量</p>
|
|
3385
|
+
</div>
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
|
|
3389
|
+
|
|
3390
|
+
|
|
3391
|
+
|
|
3392
|
+
|
|
3393
|
+
|
|
3394
|
+
|
|
3395
|
+
|
|
3396
|
+
|
|
3397
|
+
|
|
3398
|
+
|
|
3399
|
+
|
|
3400
|
+
<dl class="details">
|
|
3401
|
+
|
|
3402
|
+
|
|
3403
|
+
|
|
3404
|
+
|
|
3405
|
+
|
|
3406
|
+
|
|
3407
|
+
|
|
3408
|
+
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
|
|
3412
|
+
|
|
3413
|
+
|
|
3414
|
+
|
|
3415
|
+
|
|
3416
|
+
|
|
3417
|
+
|
|
3418
|
+
|
|
3419
|
+
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
|
|
3423
|
+
|
|
3424
|
+
|
|
3425
|
+
|
|
3426
|
+
|
|
3427
|
+
|
|
3428
|
+
|
|
3429
|
+
|
|
3430
|
+
|
|
3431
|
+
|
|
3432
|
+
</dl>
|
|
3433
|
+
|
|
3434
|
+
|
|
3435
|
+
|
|
3436
|
+
|
|
3437
|
+
|
|
3438
|
+
|
|
3439
|
+
|
|
3440
|
+
|
|
3441
|
+
|
|
3442
|
+
|
|
3443
|
+
|
|
3444
|
+
|
|
3445
|
+
|
|
3446
|
+
|
|
3447
|
+
|
|
3448
|
+
|
|
3449
|
+
|
|
3450
|
+
|
|
3451
|
+
|
|
3452
|
+
|
|
3200
3453
|
|
|
3201
3454
|
|
|
3202
3455
|
|
|
@@ -417,39 +417,6 @@
|
|
|
417
417
|
|
|
418
418
|
|
|
419
419
|
|
|
420
|
-
|
|
421
|
-
<tr class="deep-level-1">
|
|
422
|
-
|
|
423
|
-
<td class="name"><code>extendOptions</code></td>
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
<td class="type">
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
<span class="param-type">
|
|
430
|
-
|
|
431
|
-
Object
|
|
432
|
-
|
|
433
|
-
</span>
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
</td>
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
<td class="default">
|
|
442
|
-
|
|
443
|
-
{}
|
|
444
|
-
|
|
445
|
-
</td>
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
<td class="description last"><p>Cesium场景视图的初始化参数</p></td>
|
|
449
|
-
</tr>
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
420
|
|
|
454
421
|
|
|
455
422
|
|
|
@@ -588,7 +555,7 @@ const { Map, SceneViewCesium } = Zondy
|
|
|
588
555
|
import { Map, SceneViewCesium } from "@mapgis/webclient-cesium-plugin"
|
|
589
556
|
// 初始化图层管理容器
|
|
590
557
|
const map = new Map();
|
|
591
|
-
let innerView = new
|
|
558
|
+
let innerView = new Cesium.Viewer(viewId);
|
|
592
559
|
// 初始化地图视图对象
|
|
593
560
|
const sceneView = new SceneViewCesium({
|
|
594
561
|
// 视图id
|
|
@@ -683,24 +650,6 @@ const sceneView = new SceneViewCesium({
|
|
|
683
650
|
<td class="name"><code><p>引擎类型,为'cesium'</p></code></td>
|
|
684
651
|
</tr>
|
|
685
652
|
|
|
686
|
-
<tr class="deep-level-0">
|
|
687
|
-
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
688
|
-
<td class="name">
|
|
689
|
-
<code>
|
|
690
|
-
|
|
691
|
-
<span class="param-type">
|
|
692
|
-
|
|
693
|
-
Object
|
|
694
|
-
|
|
695
|
-
</span>
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
</code>
|
|
700
|
-
</td>
|
|
701
|
-
<td class="name"><code><p>Cesium场景视图的初始化参数</p></code></td>
|
|
702
|
-
</tr>
|
|
703
|
-
|
|
704
653
|
<tr class="deep-level-0">
|
|
705
654
|
<td class="name"><code><a href="#extent">extent</a></code></td>
|
|
706
655
|
<td class="name">
|
|
@@ -1022,81 +971,6 @@ const sceneView = new SceneViewCesium({
|
|
|
1022
971
|
|
|
1023
972
|
|
|
1024
973
|
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
</dl>
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
</div>
|
|
1043
|
-
|
|
1044
|
-
<div class="member">
|
|
1045
|
-
|
|
1046
|
-
<span class="method-parameter is-pulled-right">
|
|
1047
|
-
<label>类型:</label>
|
|
1048
|
-
|
|
1049
|
-
<span class="param-type">
|
|
1050
|
-
|
|
1051
|
-
Object
|
|
1052
|
-
|
|
1053
|
-
</span>
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
</span>
|
|
1058
|
-
|
|
1059
|
-
<h4 class="name" id="extendOptions">
|
|
1060
|
-
<a class="href-link" href="#extendOptions">#</a>
|
|
1061
|
-
|
|
1062
|
-
<span class="code-name">
|
|
1063
|
-
extendOptions
|
|
1064
|
-
</span>
|
|
1065
|
-
|
|
1066
|
-
</h4>
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
<div class="description">
|
|
1072
|
-
<p>Cesium场景视图的初始化参数</p>
|
|
1073
|
-
</div>
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
<dl class="details">
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
974
|
|
|
1101
975
|
|
|
1102
976
|
|
|
@@ -2887,7 +2761,7 @@ const sceneView = new SceneViewCesium({
|
|
|
2887
2761
|
});
|
|
2888
2762
|
// 添加一个地图图层
|
|
2889
2763
|
const igsMapImageLayer = new IGSMapImageLayer({
|
|
2890
|
-
url: 'http://
|
|
2764
|
+
url: 'http://192.168.82.89:8089/igs/rest/services/Map/Hubei4326/MapServer'
|
|
2891
2765
|
});
|
|
2892
2766
|
map.add(igsMapImageLayer);
|
|
2893
2767
|
// 图层加载完毕
|
|
@@ -2925,7 +2799,7 @@ const sceneView = new SceneViewCesium({
|
|
|
2925
2799
|
});
|
|
2926
2800
|
// 添加一个地图图层
|
|
2927
2801
|
const igsMapImageLayer = new IGSMapImageLayer({
|
|
2928
|
-
url: 'http://
|
|
2802
|
+
url: 'http://192.168.82.89:8089/igs/rest/services/Map/Hubei4326/MapServer'
|
|
2929
2803
|
});
|
|
2930
2804
|
map.add(igsMapImageLayer);
|
|
2931
2805
|
// 图层加载完毕
|
|
@@ -5335,7 +5209,7 @@ sceneView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
5335
5209
|
|
|
5336
5210
|
|
|
5337
5211
|
|
|
5338
|
-
<td class="description last"><p
|
|
5212
|
+
<td class="description last"><p>屏幕像素坐标点,传入的 x范围为[0,canvas.width - 1],传入的 x范围为[0,canvas.height - 1],例如{ x: 900, y: 500 }</p></td>
|
|
5339
5213
|
</tr>
|
|
5340
5214
|
|
|
5341
5215
|
|