@mapgis/webclient-common 17.0.7 → 17.2.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/README.md +12 -37
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-common-es6.min.js +16 -5
- package/documention/AddressServer.html +12 -12
- package/documention/ArcGISFeatureServer.html +10 -10
- package/documention/ArcGISGeometryServer.html +10 -10
- package/documention/ArcGISMapImageLayer.html +10 -10
- package/documention/ArcGISMapImageSubLayer.html +311 -7
- package/documention/ArcGISMapServer.html +414 -10
- package/documention/ArcGISTileLayer.html +121 -13
- package/documention/ArcGISVectorTileLayer.html +7 -7
- package/documention/ArcGISVectorTileServer.html +10 -10
- package/documention/BaseRenderer.html +239 -0
- package/documention/BaseServer.html +11 -11
- package/documention/BaseView.html +458 -3
- package/documention/Basemap.html +3 -3
- package/documention/Callout3D.html +107 -0
- package/documention/Cesium3DTilesCacheLayer.html +149 -177
- package/documention/Cesium3DTilesServer.html +11 -11
- package/documention/Circle.html +110 -7
- package/documention/ClassBreakInfo.html +0 -217
- package/documention/ClassBreakRenderer.html +413 -23
- package/documention/ClusterRenderer.html +247 -7
- package/documention/Config.html +4 -4
- package/documention/Extent.html +118 -15
- package/documention/ExtrudeSymbol3DLayer.html +109 -2
- package/documention/Feature.html +7 -7
- package/documention/FeatureLayer.html +116 -8
- package/documention/FeatureServer.html +27 -27
- package/documention/FeatureSet.html +7 -7
- package/documention/FillSymbol.html +107 -0
- package/documention/FillSymbol3DLayer.html +109 -2
- package/documention/Font.html +4 -4
- package/documention/GeoJSONLayer.html +142 -34
- package/documention/Geometry.html +138 -7
- package/documention/GeometryEngine.html +79 -79
- package/documention/GeometryServer.html +30 -30
- package/documention/GraphicsLayer.html +147 -39
- package/documention/GroupLayer.html +120 -12
- package/documention/HeatmapRenderer.html +107 -0
- package/documention/IGSFeatureLayer.html +25 -25
- package/documention/IGSMapImageLayer.html +46 -46
- package/documention/IGSMapImageSubLayer.html +307 -3
- package/documention/IGSSceneLayer.html +11 -11
- package/documention/IGSSceneSubLayer.html +213 -33
- package/documention/IGSTileLayer.html +126 -19
- package/documention/IGSVectorTileLayer.html +230 -43
- package/documention/IGSVectorTileSubLayer.html +5 -4
- package/documention/IconSymbol3DLayer.html +111 -4
- package/documention/ImageServer.html +11 -11
- package/documention/LabelClass.html +10 -5
- package/documention/LabelSymbol3D.html +2 -2
- package/documention/Layer.html +244 -9
- package/documention/LineCallout3D.html +107 -0
- package/documention/LineString.html +113 -10
- package/documention/LineSymbol.html +107 -0
- package/documention/LineSymbol3D.html +2 -2
- package/documention/LineSymbol3DLayer.html +109 -2
- package/documention/M3DModelCacheLayer.html +133 -79
- package/documention/M3DServer.html +12 -12
- package/documention/Map.html +32 -5
- package/documention/MapGISTextSymbol.html +110 -3
- package/documention/MapImageLayer.html +527 -16
- package/documention/MapServer.html +14 -14
- package/documention/MapView.html +204 -3
- package/documention/MarkerSymbol.html +107 -0
- package/documention/MultiLineString.html +116 -13
- package/documention/MultiPoint.html +113 -10
- package/documention/MultiPolygon.html +112 -9
- package/documention/OGCLayer.html +116 -8
- package/documention/ObjectSymbol3DLayer.html +111 -4
- package/documention/OutStatistic.html +1 -1
- package/documention/OverlayLayer.html +116 -8
- package/documention/PathSymbol3DLayer.html +109 -2
- package/documention/PictureFillSymbol.html +169 -8
- package/documention/PictureMarkerSymbol.html +3 -3
- package/documention/PlotServer.html +10 -10
- package/documention/PoiServer.html +12 -12
- package/documention/Point.html +115 -12
- package/documention/PointSymbol3D.html +3 -3
- package/documention/Polygon.html +117 -14
- package/documention/PolygonSymbol3D.html +2 -2
- package/documention/Projection.html +429 -8
- package/documention/RandomRenderer.html +108 -1
- package/documention/RankRenderer.html +109 -2
- package/documention/ResourceServer.html +150 -150
- package/documention/RootServer.html +12 -12
- package/documention/SceneLayer.html +116 -8
- package/documention/SceneServer.html +16 -16
- package/documention/SceneView.html +10164 -130
- package/documention/SecurityServer.html +12 -12
- package/documention/SimpleFillSymbol.html +110 -3
- package/documention/SimpleLineSymbol.html +3 -3
- package/documention/SimpleMarkerSymbol.html +3 -3
- package/documention/SimpleRenderer.html +116 -9
- package/documention/SizeVariable.html +1 -1
- package/documention/SketchBaseDrawTool.html +181 -3
- package/documention/SketchCircleDrawTool.html +159 -3
- package/documention/SketchEditor.html +2 -2
- package/documention/SketchEditorCesium.html +1 -1
- package/documention/SketchEditorVideo.html +2 -2
- package/documention/SketchEditorVideoBase.html +3 -3
- package/documention/SketchExtentDrawTool.html +159 -3
- package/documention/SketchFreehandPolygonDrawTool.html +159 -3
- package/documention/SketchFreehandPolylineDrawTool.html +159 -3
- package/documention/SketchPointDrawTool.html +159 -3
- package/documention/SketchPolygonDrawTool.html +318 -6
- package/documention/SketchPolylineDrawTool.html +318 -6
- package/documention/SpatialReference.html +1 -1
- package/documention/SubLayer.html +296 -26
- package/documention/Symbol.html +134 -1
- package/documention/Symbol3DLayer.html +107 -0
- package/documention/Symbol3DVerticalOffset.html +107 -0
- package/documention/TerrainCacheLayer.html +133 -165
- package/documention/TerrainServer.html +11 -11
- package/documention/TextSymbol.html +111 -4
- package/documention/TextSymbol3DLayer.html +109 -2
- package/documention/ThemeServer.html +13 -13
- package/documention/TileLayer.html +116 -8
- package/documention/TileServer.html +12 -12
- package/documention/UniqueValueInfo.html +0 -217
- package/documention/UniqueValueRenderer.html +125 -18
- package/documention/UnknownLayer.html +116 -8
- package/documention/VectorTileLayer.html +117 -9
- package/documention/VectorTileServer.html +11 -11
- package/documention/VectorTileSubLayer.html +304 -0
- package/documention/VideoMapView.html +4 -4
- package/documention/WCSServer.html +10 -10
- package/documention/WFSLayer.html +140 -32
- package/documention/WFSServer.html +11 -11
- package/documention/WMSLayer.html +131 -23
- package/documention/WMSServer.html +12 -12
- package/documention/WMSSubLayer.html +218 -7
- package/documention/WMTSLayer.html +126 -18
- package/documention/WMTSServer.html +12 -12
- package/documention/WMTSSubLayer.html +116 -8
- package/documention/WPSServer.html +10 -10
- package/documention/WaterSymbol3DLayer.html +107 -0
- package/documention/WebTileLayer.html +121 -13
- package/documention/WorkFlowServer.html +12 -12
- package/documention/WorkFlowServer600227.html +12 -12
- package/documention/WorkFlowServer600228.html +13 -13
- package/documention/WorkFlowServer600229.html +12 -12
- package/documention/WorkFlowServer600230.html +12 -12
- package/documention/WorkFlowServer600231.html +12 -12
- package/documention/WorkFlowServer600232.html +13 -13
- package/documention/WorkFlowServer600233.html +14 -14
- package/documention/WorkFlowServer600235.html +12 -12
- package/documention/WorkFlowServer600237.html +13 -13
- package/documention/WorkFlowServer600238.html +15 -15
- package/documention/WorkFlowServer600239.html +16 -16
- package/documention/WorkFlowServer600307.html +14 -14
- package/documention/WorkFlowServer600308.html +2 -2
- package/documention/WorkFlowServer600309.html +12 -12
- package/documention/WorkFlowServer600314.html +12 -12
- package/documention/WorkFlowServer600334.html +12 -12
- package/documention/WorkFlowServer600336.html +12 -12
- package/documention/WorkFlowServer600340.html +12 -12
- package/documention/WorkFlowServer600354.html +12 -12
- package/documention/WorkFlowServer600368.html +12 -12
- package/documention/WorkFlowServer600369.html +12 -12
- package/documention/WorkFlowServer600370.html +12 -12
- package/documention/global.html +1024 -1874
- package/documention/index.html +84 -78
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +2 -2
- package/documention/scripts/sideBar.js +16 -2
- package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +5 -1
- package/documention/tutorial-/347/254/246/345/217/267.html +52 -6
- package/documention/tutorial-/350/241/250/350/276/276/345/274/217.html +293 -1
- package/package.json +14 -13
|
@@ -285,6 +285,24 @@
|
|
|
285
285
|
<td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
|
|
286
286
|
</tr>
|
|
287
287
|
|
|
288
|
+
<tr class="deep-level-0">
|
|
289
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
290
|
+
<td class="name">
|
|
291
|
+
<code>
|
|
292
|
+
|
|
293
|
+
<span class="param-type">
|
|
294
|
+
|
|
295
|
+
String
|
|
296
|
+
|
|
297
|
+
</span>
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
</code>
|
|
302
|
+
</td>
|
|
303
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
304
|
+
</tr>
|
|
305
|
+
|
|
288
306
|
<tr class="deep-level-0">
|
|
289
307
|
<td class="name"><code><a href="#outline">outline</a></code></td>
|
|
290
308
|
<td class="name">
|
|
@@ -472,6 +490,95 @@
|
|
|
472
490
|
|
|
473
491
|
|
|
474
492
|
|
|
493
|
+
<dt class="tag-default">Default Value:</dt>
|
|
494
|
+
<dd class="tag-default"><ul class="dummy">
|
|
495
|
+
<li>{}</li>
|
|
496
|
+
</ul></dd>
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
</dl>
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
</div>
|
|
512
|
+
|
|
513
|
+
<div class="member">
|
|
514
|
+
|
|
515
|
+
<span class="method-parameter is-pulled-right">
|
|
516
|
+
<label>类型:</label>
|
|
517
|
+
|
|
518
|
+
<span class="param-type">
|
|
519
|
+
|
|
520
|
+
String
|
|
521
|
+
|
|
522
|
+
</span>
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
</span>
|
|
527
|
+
|
|
528
|
+
<h4 class="name" id="id">
|
|
529
|
+
<a class="href-link" href="#id">#</a>
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
<span class='tag'>readonly</span>
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
<span class="code-name">
|
|
536
|
+
id
|
|
537
|
+
</span>
|
|
538
|
+
|
|
539
|
+
</h4>
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
<div class="description">
|
|
545
|
+
<p>符号id</p>
|
|
546
|
+
</div>
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
<dl class="details">
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
560
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
561
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
562
|
+
</li></ul></dd>
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
475
582
|
|
|
476
583
|
|
|
477
584
|
|
|
@@ -316,8 +316,8 @@ ColorMaterial: 纯色材质,通过设置纯色材质来改变平面区的颜
|
|
|
316
316
|
|
|
317
317
|
|
|
318
318
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
319
|
-
const { Color } =
|
|
320
|
-
const { FillSymbol3DLayer, ColorMaterial } =
|
|
319
|
+
const { Color } = zondy
|
|
320
|
+
const { FillSymbol3DLayer, ColorMaterial } = zondy.symbol
|
|
321
321
|
// ES6引入方式
|
|
322
322
|
import { FillSymbol3DLayer, ColorMaterial, Color } from "@mapgis/webclient-common"
|
|
323
323
|
|
|
@@ -413,6 +413,24 @@ const fillSymbol3DLayer = new FillSymbol3DLayer({
|
|
|
413
413
|
<td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
|
|
414
414
|
</tr>
|
|
415
415
|
|
|
416
|
+
<tr class="deep-level-0">
|
|
417
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
418
|
+
<td class="name">
|
|
419
|
+
<code>
|
|
420
|
+
|
|
421
|
+
<span class="param-type">
|
|
422
|
+
|
|
423
|
+
String
|
|
424
|
+
|
|
425
|
+
</span>
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
</code>
|
|
430
|
+
</td>
|
|
431
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
432
|
+
</tr>
|
|
433
|
+
|
|
416
434
|
<tr class="deep-level-0">
|
|
417
435
|
<td class="name"><code><a href="#type">type</a></code></td>
|
|
418
436
|
<td class="name">
|
|
@@ -582,6 +600,95 @@ const fillSymbol3DLayer = new FillSymbol3DLayer({
|
|
|
582
600
|
|
|
583
601
|
|
|
584
602
|
|
|
603
|
+
<dt class="tag-default">Default Value:</dt>
|
|
604
|
+
<dd class="tag-default"><ul class="dummy">
|
|
605
|
+
<li>{}</li>
|
|
606
|
+
</ul></dd>
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
</dl>
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
</div>
|
|
622
|
+
|
|
623
|
+
<div class="member">
|
|
624
|
+
|
|
625
|
+
<span class="method-parameter is-pulled-right">
|
|
626
|
+
<label>类型:</label>
|
|
627
|
+
|
|
628
|
+
<span class="param-type">
|
|
629
|
+
|
|
630
|
+
String
|
|
631
|
+
|
|
632
|
+
</span>
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
</span>
|
|
637
|
+
|
|
638
|
+
<h4 class="name" id="id">
|
|
639
|
+
<a class="href-link" href="#id">#</a>
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
<span class='tag'>readonly</span>
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
<span class="code-name">
|
|
646
|
+
id
|
|
647
|
+
</span>
|
|
648
|
+
|
|
649
|
+
</h4>
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
<div class="description">
|
|
655
|
+
<p>符号id</p>
|
|
656
|
+
</div>
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
<dl class="details">
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
670
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
671
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
672
|
+
</li></ul></dd>
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
585
692
|
|
|
586
693
|
|
|
587
694
|
|
package/documention/Font.html
CHANGED
|
@@ -124,12 +124,12 @@
|
|
|
124
124
|
|
|
125
125
|
<td class="default">
|
|
126
126
|
|
|
127
|
-
'
|
|
127
|
+
'微软雅黑'
|
|
128
128
|
|
|
129
129
|
</td>
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
<td class="description last"><p
|
|
132
|
+
<td class="description last"><p>字体名,推荐设置黑体、宋体、楷体、微软雅黑、Arial、Calibri、Times New Roman等。</p></td>
|
|
133
133
|
</tr>
|
|
134
134
|
|
|
135
135
|
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
<p class="code-caption"><h7 id='new-Font'>创建字体样式</h7></p>
|
|
346
346
|
|
|
347
347
|
|
|
348
|
-
<pre class="prettyprint"><code>const font = new
|
|
348
|
+
<pre class="prettyprint"><code>const font = new zondy.symbol.Font({
|
|
349
349
|
// 字体
|
|
350
350
|
family: "微软雅黑",
|
|
351
351
|
// 文字大小,单位像素
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
|
|
632
632
|
<dt class="tag-default">Default Value:</dt>
|
|
633
633
|
<dd class="tag-default"><ul class="dummy">
|
|
634
|
-
<li
|
|
634
|
+
<li>微软雅黑</li>
|
|
635
635
|
</ul></dd>
|
|
636
636
|
|
|
637
637
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
参考示例:<br/>
|
|
41
41
|
<a href='#add-GeoJSONLayer'>[加载GeoJSON图层]</a>
|
|
42
42
|
<br><br>[ES5引入方式]:<br/>
|
|
43
|
-
|
|
43
|
+
zondy.layer.GraphicsLayer() <br/>
|
|
44
44
|
[ES6引入方式]:<br/>
|
|
45
45
|
import { GraphicsLayer } from "@mapgis/webclient-common"</p>
|
|
46
46
|
</div>
|
|
@@ -677,7 +677,7 @@ import { GraphicsLayer } from "@mapgis/webclient-common"</p>
|
|
|
677
677
|
|
|
678
678
|
<pre class="prettyprint"><code>// 初始化图层管理容器
|
|
679
679
|
// ES5引入方式
|
|
680
|
-
const { GeoJSONLayer } =
|
|
680
|
+
const { GeoJSONLayer } = zondy.layer
|
|
681
681
|
// ES6引入方式
|
|
682
682
|
import { GeoJSONLayer } from "@mapgis/webclient-common"
|
|
683
683
|
// 创建图层
|
|
@@ -691,8 +691,8 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
691
691
|
|
|
692
692
|
|
|
693
693
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
694
|
-
const { SpatialReference } =
|
|
695
|
-
const { GeoJSONLayer } =
|
|
694
|
+
const { SpatialReference } = zondy
|
|
695
|
+
const { GeoJSONLayer } = zondy.layer
|
|
696
696
|
// ES6引入方式
|
|
697
697
|
import { SpatialReference, GeoJSONLayer } from "@mapgis/webclient-common"
|
|
698
698
|
// 创建图层
|
|
@@ -717,10 +717,10 @@ map.remove(geojsonLayer)</code></pre>
|
|
|
717
717
|
|
|
718
718
|
|
|
719
719
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
720
|
-
const { Color} =
|
|
721
|
-
const { GeoJSONLayer } =
|
|
722
|
-
const { UniqueValueRenderer } =
|
|
723
|
-
const { SimpleLineSymbol,SimpleFillSymbol } =
|
|
720
|
+
const { Color} = zondy
|
|
721
|
+
const { GeoJSONLayer } = zondy.layer
|
|
722
|
+
const { UniqueValueRenderer } = zondy.renderer
|
|
723
|
+
const { SimpleLineSymbol,SimpleFillSymbol } = zondy.symbol
|
|
724
724
|
// ES6引入方式
|
|
725
725
|
import { Color,GeoJSONLayer,UniqueValueRenderer,SimpleLineSymbol,SimpleFillSymbol } from "@mapgis/webclient-common"
|
|
726
726
|
// 创建图层
|
|
@@ -732,9 +732,9 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
732
732
|
//字段名
|
|
733
733
|
field: '你的字段名',
|
|
734
734
|
// 默认符号,不在专题图指定范围内的会采用该样式,可不设置
|
|
735
|
-
defaultSymbol: new
|
|
735
|
+
defaultSymbol: new zondy.symbol.SimpleFillSymbol({
|
|
736
736
|
// 填充颜色
|
|
737
|
-
color:
|
|
737
|
+
color: zondy.Color(1 , 1, 252),
|
|
738
738
|
// 外边线样式
|
|
739
739
|
outline: new SimpleLineSymbol({
|
|
740
740
|
//线颜色
|
|
@@ -776,10 +776,10 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
776
776
|
|
|
777
777
|
|
|
778
778
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
779
|
-
const { Color} =
|
|
780
|
-
const { GeoJSONLayer } =
|
|
781
|
-
const { ClassBreakRenderer } =
|
|
782
|
-
const { SimpleLineSymbol,SimpleFillSymbol } =
|
|
779
|
+
const { Color} = zondy
|
|
780
|
+
const { GeoJSONLayer } = zondy.layer
|
|
781
|
+
const { ClassBreakRenderer } = zondy.renderer
|
|
782
|
+
const { SimpleLineSymbol,SimpleFillSymbol } = zondy.symbol
|
|
783
783
|
// ES6引入方式
|
|
784
784
|
import { Color,GeoJSONLayer,ClassBreakRenderer, SimpleLineSymbol,SimpleFillSymbol} from "@mapgis/webclient-common"
|
|
785
785
|
// 创建图层
|
|
@@ -797,7 +797,7 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
797
797
|
// 线符号样式
|
|
798
798
|
outline: new SimpleLineSymbol({
|
|
799
799
|
//线符号颜色
|
|
800
|
-
color: new
|
|
800
|
+
color: new zondy.Color(255, 1, 0),
|
|
801
801
|
//线宽
|
|
802
802
|
width: 1
|
|
803
803
|
})
|
|
@@ -829,10 +829,10 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
829
829
|
|
|
830
830
|
|
|
831
831
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
832
|
-
const { GeoJSONLayer } =
|
|
833
|
-
const { SimpleRenderer } =
|
|
834
|
-
const { SimpleFillSymbol,SimpleLineSymbol } =
|
|
835
|
-
const { Color } =
|
|
832
|
+
const { GeoJSONLayer } = zondy.layer
|
|
833
|
+
const { SimpleRenderer } = zondy.renderer
|
|
834
|
+
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
|
|
835
|
+
const { Color } = zondy
|
|
836
836
|
// ES6引入方式
|
|
837
837
|
import { Color,GeoJSONLayer, SimpleRenderer,SimpleLineSymbol,SimpleFillSymbol} from "@mapgis/webclient-common"
|
|
838
838
|
const geojsonLayer = new GeoJSONLayer({
|
|
@@ -868,7 +868,7 @@ map.reorder(geojsonLayer, '要移动到的index');</code></pre>
|
|
|
868
868
|
|
|
869
869
|
<pre class="prettyprint"><code>// 创建图层
|
|
870
870
|
// ES5引入方式
|
|
871
|
-
const { GeoJSONLayer } =
|
|
871
|
+
const { GeoJSONLayer } = zondy.layer
|
|
872
872
|
// ES6引入方式
|
|
873
873
|
import { GeoJSONLayer } from "@mapgis/webclient-common"
|
|
874
874
|
const geojsonLayer = new GeoJSONLayer({
|
|
@@ -887,10 +887,10 @@ geojsonLayer.visible = !geojsonLayer.visible</code></pre>
|
|
|
887
887
|
|
|
888
888
|
<pre class="prettyprint"><code>// 创建图层
|
|
889
889
|
// ES5引入方式
|
|
890
|
-
const { GeoJSONLayer } =
|
|
890
|
+
const { GeoJSONLayer } = zondy.layer
|
|
891
891
|
// ES6引入方式
|
|
892
892
|
import { GeoJSONLayer } from "@mapgis/webclient-common"
|
|
893
|
-
const geojsonLayer = new
|
|
893
|
+
const geojsonLayer = new zondy.layer.GeoJSONLayer({
|
|
894
894
|
// 服务基地址
|
|
895
895
|
url: 'json数据地址',
|
|
896
896
|
// 设置图层透明度
|
|
@@ -905,9 +905,9 @@ geojsonLayer.opacity = 0.5</code></pre>
|
|
|
905
905
|
|
|
906
906
|
|
|
907
907
|
<pre class="prettyprint"><code> // ES5引入方式
|
|
908
|
-
const { LabelClass,Font } =
|
|
909
|
-
const { TextSymbol } =
|
|
910
|
-
const { GeoJSONLayer } =
|
|
908
|
+
const { LabelClass,Font } = zondy
|
|
909
|
+
const { TextSymbol } = zondy.symbol
|
|
910
|
+
const { GeoJSONLayer } = zondy.layer
|
|
911
911
|
// ES6引入方式
|
|
912
912
|
import { LabelClass,Font,TextSymbol,GeoJSONLayer } from "@mapgis/webclient-common"
|
|
913
913
|
// 初始化LabelClass
|
|
@@ -1076,7 +1076,7 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
1076
1076
|
|
|
1077
1077
|
</code>
|
|
1078
1078
|
</td>
|
|
1079
|
-
<td class="name"><code><p
|
|
1079
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
1080
1080
|
</tr>
|
|
1081
1081
|
|
|
1082
1082
|
<tr class="deep-level-0">
|
|
@@ -1094,7 +1094,7 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
1094
1094
|
|
|
1095
1095
|
</code>
|
|
1096
1096
|
</td>
|
|
1097
|
-
<td class="name"><code><p
|
|
1097
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
1098
1098
|
</tr>
|
|
1099
1099
|
|
|
1100
1100
|
<tr class="deep-level-0">
|
|
@@ -1158,7 +1158,7 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
1158
1158
|
|
|
1159
1159
|
<span class="param-type">
|
|
1160
1160
|
|
|
1161
|
-
|
|
1161
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1162
1162
|
|
|
1163
1163
|
</span>
|
|
1164
1164
|
|
|
@@ -1328,7 +1328,7 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
1328
1328
|
|
|
1329
1329
|
</code>
|
|
1330
1330
|
</td>
|
|
1331
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
1331
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
1332
1332
|
</tr>
|
|
1333
1333
|
|
|
1334
1334
|
<tr class="deep-level-0">
|
|
@@ -1385,6 +1385,24 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
1385
1385
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
1386
1386
|
</tr>
|
|
1387
1387
|
|
|
1388
|
+
<tr class="deep-level-0">
|
|
1389
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
1390
|
+
<td class="name">
|
|
1391
|
+
<code>
|
|
1392
|
+
|
|
1393
|
+
<span class="param-type">
|
|
1394
|
+
|
|
1395
|
+
String
|
|
1396
|
+
|
|
1397
|
+
</span>
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
</code>
|
|
1402
|
+
</td>
|
|
1403
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
1404
|
+
</tr>
|
|
1405
|
+
|
|
1388
1406
|
<tr class="deep-level-0">
|
|
1389
1407
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
1390
1408
|
<td class="name">
|
|
@@ -1827,7 +1845,7 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
1827
1845
|
|
|
1828
1846
|
|
|
1829
1847
|
<div class="description">
|
|
1830
|
-
<p
|
|
1848
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1831
1849
|
</div>
|
|
1832
1850
|
|
|
1833
1851
|
|
|
@@ -1864,6 +1882,11 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
1864
1882
|
|
|
1865
1883
|
|
|
1866
1884
|
|
|
1885
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1886
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1887
|
+
<li>{}</li>
|
|
1888
|
+
</ul></dd>
|
|
1889
|
+
|
|
1867
1890
|
|
|
1868
1891
|
|
|
1869
1892
|
|
|
@@ -1907,7 +1930,7 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
1907
1930
|
|
|
1908
1931
|
|
|
1909
1932
|
<div class="description">
|
|
1910
|
-
<p
|
|
1933
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1911
1934
|
</div>
|
|
1912
1935
|
|
|
1913
1936
|
|
|
@@ -1944,6 +1967,11 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
1944
1967
|
|
|
1945
1968
|
|
|
1946
1969
|
|
|
1970
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1971
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1972
|
+
<li>{}</li>
|
|
1973
|
+
</ul></dd>
|
|
1974
|
+
|
|
1947
1975
|
|
|
1948
1976
|
|
|
1949
1977
|
|
|
@@ -2205,7 +2233,7 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
2205
2233
|
|
|
2206
2234
|
<span class="param-type">
|
|
2207
2235
|
|
|
2208
|
-
|
|
2236
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
2209
2237
|
|
|
2210
2238
|
</span>
|
|
2211
2239
|
|
|
@@ -2958,7 +2986,7 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
2958
2986
|
|
|
2959
2987
|
|
|
2960
2988
|
<div class="description">
|
|
2961
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2989
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2962
2990
|
</div>
|
|
2963
2991
|
|
|
2964
2992
|
|
|
@@ -3231,6 +3259,86 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
3231
3259
|
|
|
3232
3260
|
|
|
3233
3261
|
|
|
3262
|
+
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
|
|
3266
|
+
|
|
3267
|
+
|
|
3268
|
+
</dl>
|
|
3269
|
+
|
|
3270
|
+
|
|
3271
|
+
|
|
3272
|
+
|
|
3273
|
+
|
|
3274
|
+
</div>
|
|
3275
|
+
|
|
3276
|
+
<div class="member">
|
|
3277
|
+
|
|
3278
|
+
<span class="method-parameter is-pulled-right">
|
|
3279
|
+
<label>类型:</label>
|
|
3280
|
+
|
|
3281
|
+
<span class="param-type">
|
|
3282
|
+
|
|
3283
|
+
String
|
|
3284
|
+
|
|
3285
|
+
</span>
|
|
3286
|
+
|
|
3287
|
+
|
|
3288
|
+
|
|
3289
|
+
</span>
|
|
3290
|
+
|
|
3291
|
+
<h4 class="name" id="tokenAttachType">
|
|
3292
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
3293
|
+
|
|
3294
|
+
<span class="code-name">
|
|
3295
|
+
tokenAttachType
|
|
3296
|
+
</span>
|
|
3297
|
+
|
|
3298
|
+
</h4>
|
|
3299
|
+
|
|
3300
|
+
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
<div class="description">
|
|
3304
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
3305
|
+
</div>
|
|
3306
|
+
|
|
3307
|
+
|
|
3308
|
+
|
|
3309
|
+
|
|
3310
|
+
|
|
3311
|
+
<dl class="details">
|
|
3312
|
+
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
|
|
3316
|
+
|
|
3317
|
+
|
|
3318
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
3319
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
3320
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
3321
|
+
</li></ul></dd>
|
|
3322
|
+
|
|
3323
|
+
|
|
3324
|
+
|
|
3325
|
+
|
|
3326
|
+
|
|
3327
|
+
|
|
3328
|
+
|
|
3329
|
+
|
|
3330
|
+
|
|
3331
|
+
|
|
3332
|
+
|
|
3333
|
+
|
|
3334
|
+
|
|
3335
|
+
|
|
3336
|
+
|
|
3337
|
+
|
|
3338
|
+
|
|
3339
|
+
|
|
3340
|
+
|
|
3341
|
+
|
|
3234
3342
|
|
|
3235
3343
|
|
|
3236
3344
|
|
|
@@ -3955,7 +4063,7 @@ const geojsonLayer = new GeoJSONLayer({
|
|
|
3955
4063
|
// 服务基地址
|
|
3956
4064
|
url: 'json数据地址'
|
|
3957
4065
|
}
|
|
3958
|
-
const geojsonLayer = new
|
|
4066
|
+
const geojsonLayer = new zondy.layer.GeoJSONLayer.fromJSON(json)</code></pre>
|
|
3959
4067
|
|
|
3960
4068
|
|
|
3961
4069
|
|