@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
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>多点几何对象
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.geometry.MultiPoint() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { MultiPoint } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -162,7 +162,7 @@ import { MultiPoint } from "@mapgis/webclient-common" <br/>
|
|
|
162
162
|
|
|
163
163
|
<td class="default">
|
|
164
164
|
|
|
165
|
-
new
|
|
165
|
+
new zondy.SpatialReference('EPSG:4326')
|
|
166
166
|
|
|
167
167
|
</td>
|
|
168
168
|
|
|
@@ -260,7 +260,7 @@ import { MultiPoint } from "@mapgis/webclient-common" <br/>
|
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
263
|
-
const { MultiPoint } =
|
|
263
|
+
const { MultiPoint } = zondy.geometry
|
|
264
264
|
// ES6引入方式
|
|
265
265
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
266
266
|
new MultiPoint({
|
|
@@ -277,8 +277,8 @@ new MultiPoint({
|
|
|
277
277
|
|
|
278
278
|
|
|
279
279
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
280
|
-
const { Point } =
|
|
281
|
-
const { SpatialReference } =
|
|
280
|
+
const { Point } = zondy.geometry
|
|
281
|
+
const { SpatialReference } = zondy
|
|
282
282
|
// ES6引入方式
|
|
283
283
|
import { Point, SpatialReference } from "@mapgis/webclient-common"
|
|
284
284
|
new Point({
|
|
@@ -359,6 +359,24 @@ new Point({
|
|
|
359
359
|
<td class="name"><code><p>几何点的坐标</p></code></td>
|
|
360
360
|
</tr>
|
|
361
361
|
|
|
362
|
+
<tr class="deep-level-0">
|
|
363
|
+
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
364
|
+
<td class="name">
|
|
365
|
+
<code>
|
|
366
|
+
|
|
367
|
+
<span class="param-type">
|
|
368
|
+
|
|
369
|
+
Object
|
|
370
|
+
|
|
371
|
+
</span>
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
</code>
|
|
376
|
+
</td>
|
|
377
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
378
|
+
</tr>
|
|
379
|
+
|
|
362
380
|
<tr class="deep-level-0">
|
|
363
381
|
<td class="name"><code><a href="#extent">extent</a></code></td>
|
|
364
382
|
<td class="name">
|
|
@@ -478,6 +496,91 @@ new Point({
|
|
|
478
496
|
|
|
479
497
|
|
|
480
498
|
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
</dl>
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
</div>
|
|
514
|
+
|
|
515
|
+
<div class="member">
|
|
516
|
+
|
|
517
|
+
<span class="method-parameter is-pulled-right">
|
|
518
|
+
<label>类型:</label>
|
|
519
|
+
|
|
520
|
+
<span class="param-type">
|
|
521
|
+
|
|
522
|
+
Object
|
|
523
|
+
|
|
524
|
+
</span>
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
</span>
|
|
529
|
+
|
|
530
|
+
<h4 class="name" id="extendOptions">
|
|
531
|
+
<a class="href-link" href="#extendOptions">#</a>
|
|
532
|
+
|
|
533
|
+
<span class="code-name">
|
|
534
|
+
extendOptions
|
|
535
|
+
</span>
|
|
536
|
+
|
|
537
|
+
</h4>
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
<div class="description">
|
|
543
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
544
|
+
</div>
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
<dl class="details">
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
558
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
559
|
+
<a goto="extendOptions" link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry#extendOptions" Geometry.html#extendOptions>Geometry#extendOptions</a>
|
|
560
|
+
</li></ul></dd>
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
<dt class="tag-default">Default Value:</dt>
|
|
581
|
+
<dd class="tag-default"><ul class="dummy">
|
|
582
|
+
<li>{}</li>
|
|
583
|
+
</ul></dd>
|
|
481
584
|
|
|
482
585
|
|
|
483
586
|
|
|
@@ -1255,7 +1358,7 @@ new Point({
|
|
|
1255
1358
|
|
|
1256
1359
|
|
|
1257
1360
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1258
|
-
const { MultiPoint } =
|
|
1361
|
+
const { MultiPoint } = zondy.geometry
|
|
1259
1362
|
// ES6引入方式
|
|
1260
1363
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
1261
1364
|
const json = {
|
|
@@ -1499,7 +1602,7 @@ const multiPoint = MultiPoint.fromJSON(json)</code></pre>
|
|
|
1499
1602
|
|
|
1500
1603
|
|
|
1501
1604
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1502
|
-
const { MultiPoint } =
|
|
1605
|
+
const { MultiPoint } = zondy.geometry
|
|
1503
1606
|
// ES6引入方式
|
|
1504
1607
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
1505
1608
|
const multiPoint = new MultiPoint({
|
|
@@ -2392,7 +2495,7 @@ multiPoint.addPoint([102,2.0])</code></pre>
|
|
|
2392
2495
|
|
|
2393
2496
|
|
|
2394
2497
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2395
|
-
const { MultiPoint } =
|
|
2498
|
+
const { MultiPoint } = zondy.geometry
|
|
2396
2499
|
// ES6引入方式
|
|
2397
2500
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
2398
2501
|
const multiPoint = new MultiPoint({
|
|
@@ -3407,7 +3510,7 @@ view.on({
|
|
|
3407
3510
|
|
|
3408
3511
|
|
|
3409
3512
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3410
|
-
const { MultiPoint } =
|
|
3513
|
+
const { MultiPoint } = zondy.geometry
|
|
3411
3514
|
// ES6引入方式
|
|
3412
3515
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
3413
3516
|
const multiPoint = new MultiPoint({
|
|
@@ -3639,7 +3742,7 @@ const point = multiPoint.removePoint(0)</code></pre>
|
|
|
3639
3742
|
|
|
3640
3743
|
|
|
3641
3744
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3642
|
-
const { MultiPoint } =
|
|
3745
|
+
const { MultiPoint } = zondy.geometry
|
|
3643
3746
|
// ES6引入方式
|
|
3644
3747
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
3645
3748
|
const multiPoint = new MultiPoint({
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>多区几何
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.geometry.MultiPolygon() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { MultiPolygon } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -162,7 +162,7 @@ import { MultiPolygon } from "@mapgis/webclient-common" <br/>
|
|
|
162
162
|
|
|
163
163
|
<td class="default">
|
|
164
164
|
|
|
165
|
-
new
|
|
165
|
+
new zondy.SpatialReference('EPSG:4326')
|
|
166
166
|
|
|
167
167
|
</td>
|
|
168
168
|
|
|
@@ -259,7 +259,7 @@ import { MultiPolygon } from "@mapgis/webclient-common" <br/>
|
|
|
259
259
|
|
|
260
260
|
|
|
261
261
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
262
|
-
const { MultiPolygon } =
|
|
262
|
+
const { MultiPolygon } = zondy.geometry
|
|
263
263
|
// ES6引入方式
|
|
264
264
|
import { MultiPolygon } from "@mapgis/webclient-common"
|
|
265
265
|
new MultiPolygon({
|
|
@@ -308,8 +308,8 @@ new MultiPolygon({
|
|
|
308
308
|
|
|
309
309
|
|
|
310
310
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
311
|
-
const { MultiPolygon } =
|
|
312
|
-
const { SpatialReference } =
|
|
311
|
+
const { MultiPolygon } = zondy.geometry
|
|
312
|
+
const { SpatialReference } = zondy.SpatialReference
|
|
313
313
|
// ES6引入方式
|
|
314
314
|
import { MultiPolygon, SpatialReference } from "@mapgis/webclient-common"
|
|
315
315
|
new MultiPolygon({
|
|
@@ -408,6 +408,24 @@ new MultiPolygon({
|
|
|
408
408
|
<td class="name"><code><p>几何点的坐标</p></code></td>
|
|
409
409
|
</tr>
|
|
410
410
|
|
|
411
|
+
<tr class="deep-level-0">
|
|
412
|
+
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
413
|
+
<td class="name">
|
|
414
|
+
<code>
|
|
415
|
+
|
|
416
|
+
<span class="param-type">
|
|
417
|
+
|
|
418
|
+
Object
|
|
419
|
+
|
|
420
|
+
</span>
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
</code>
|
|
425
|
+
</td>
|
|
426
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
427
|
+
</tr>
|
|
428
|
+
|
|
411
429
|
<tr class="deep-level-0">
|
|
412
430
|
<td class="name"><code><a href="#extent">extent</a></code></td>
|
|
413
431
|
<td class="name">
|
|
@@ -527,6 +545,91 @@ new MultiPolygon({
|
|
|
527
545
|
|
|
528
546
|
|
|
529
547
|
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
</dl>
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
</div>
|
|
563
|
+
|
|
564
|
+
<div class="member">
|
|
565
|
+
|
|
566
|
+
<span class="method-parameter is-pulled-right">
|
|
567
|
+
<label>类型:</label>
|
|
568
|
+
|
|
569
|
+
<span class="param-type">
|
|
570
|
+
|
|
571
|
+
Object
|
|
572
|
+
|
|
573
|
+
</span>
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
</span>
|
|
578
|
+
|
|
579
|
+
<h4 class="name" id="extendOptions">
|
|
580
|
+
<a class="href-link" href="#extendOptions">#</a>
|
|
581
|
+
|
|
582
|
+
<span class="code-name">
|
|
583
|
+
extendOptions
|
|
584
|
+
</span>
|
|
585
|
+
|
|
586
|
+
</h4>
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
<div class="description">
|
|
592
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
593
|
+
</div>
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
<dl class="details">
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
607
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
608
|
+
<a goto="extendOptions" link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry#extendOptions" Geometry.html#extendOptions>Geometry#extendOptions</a>
|
|
609
|
+
</li></ul></dd>
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
<dt class="tag-default">Default Value:</dt>
|
|
630
|
+
<dd class="tag-default"><ul class="dummy">
|
|
631
|
+
<li>{}</li>
|
|
632
|
+
</ul></dd>
|
|
530
633
|
|
|
531
634
|
|
|
532
635
|
|
|
@@ -1292,7 +1395,7 @@ new MultiPolygon({
|
|
|
1292
1395
|
|
|
1293
1396
|
|
|
1294
1397
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1295
|
-
const { MultiPolygon } =
|
|
1398
|
+
const { MultiPolygon } = zondy.geometry
|
|
1296
1399
|
// ES6引入方式
|
|
1297
1400
|
import { MultiPolygon } from "@mapgis/webclient-common"
|
|
1298
1401
|
const json = {
|
|
@@ -1537,7 +1640,7 @@ const multiPolygon = new MultiPolygon.fromJSON(json)</code></pre>
|
|
|
1537
1640
|
|
|
1538
1641
|
|
|
1539
1642
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1540
|
-
const { MultiPolygon, Polygon } =
|
|
1643
|
+
const { MultiPolygon, Polygon } = zondy.geometry
|
|
1541
1644
|
// ES6引入方式
|
|
1542
1645
|
import { MultiPolygon, Polygon } from "@mapgis/webclient-common"
|
|
1543
1646
|
const multiPolygon = new MultiPolygon({
|
|
@@ -1879,7 +1982,7 @@ multiPolygon.addPolygon(polygon)</code></pre>
|
|
|
1879
1982
|
|
|
1880
1983
|
|
|
1881
1984
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1882
|
-
const { MultiPolygon, Point } =
|
|
1985
|
+
const { MultiPolygon, Point } = zondy.geometry
|
|
1883
1986
|
// ES6引入方式
|
|
1884
1987
|
import { MultiPolygon, Point } from "@mapgis/webclient-common"
|
|
1885
1988
|
const multiPolygon = new MultiPolygon({
|
|
@@ -3294,7 +3397,7 @@ view.on({
|
|
|
3294
3397
|
|
|
3295
3398
|
|
|
3296
3399
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3297
|
-
const { MultiPolygon } =
|
|
3400
|
+
const { MultiPolygon } = zondy.geometry
|
|
3298
3401
|
// ES6引入方式
|
|
3299
3402
|
import { MultiPolygon } from "@mapgis/webclient-common"
|
|
3300
3403
|
const multiPolygon = new MultiPolygon({
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
|
|
515
515
|
</code>
|
|
516
516
|
</td>
|
|
517
|
-
<td class="name"><code><p
|
|
517
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
518
518
|
</tr>
|
|
519
519
|
|
|
520
520
|
<tr class="deep-level-0">
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
|
|
533
533
|
</code>
|
|
534
534
|
</td>
|
|
535
|
-
<td class="name"><code><p
|
|
535
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
536
536
|
</tr>
|
|
537
537
|
|
|
538
538
|
<tr class="deep-level-0">
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
|
|
579
579
|
<span class="param-type">
|
|
580
580
|
|
|
581
|
-
|
|
581
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
582
582
|
|
|
583
583
|
</span>
|
|
584
584
|
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
|
|
713
713
|
</code>
|
|
714
714
|
</td>
|
|
715
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
715
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
716
716
|
</tr>
|
|
717
717
|
|
|
718
718
|
<tr class="deep-level-0">
|
|
@@ -751,6 +751,24 @@
|
|
|
751
751
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
752
752
|
</tr>
|
|
753
753
|
|
|
754
|
+
<tr class="deep-level-0">
|
|
755
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
756
|
+
<td class="name">
|
|
757
|
+
<code>
|
|
758
|
+
|
|
759
|
+
<span class="param-type">
|
|
760
|
+
|
|
761
|
+
String
|
|
762
|
+
|
|
763
|
+
</span>
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
</code>
|
|
768
|
+
</td>
|
|
769
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
770
|
+
</tr>
|
|
771
|
+
|
|
754
772
|
<tr class="deep-level-0">
|
|
755
773
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
756
774
|
<td class="name">
|
|
@@ -1118,7 +1136,7 @@
|
|
|
1118
1136
|
|
|
1119
1137
|
|
|
1120
1138
|
<div class="description">
|
|
1121
|
-
<p
|
|
1139
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1122
1140
|
</div>
|
|
1123
1141
|
|
|
1124
1142
|
|
|
@@ -1155,6 +1173,11 @@
|
|
|
1155
1173
|
|
|
1156
1174
|
|
|
1157
1175
|
|
|
1176
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1177
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1178
|
+
<li>{}</li>
|
|
1179
|
+
</ul></dd>
|
|
1180
|
+
|
|
1158
1181
|
|
|
1159
1182
|
|
|
1160
1183
|
|
|
@@ -1198,7 +1221,7 @@
|
|
|
1198
1221
|
|
|
1199
1222
|
|
|
1200
1223
|
<div class="description">
|
|
1201
|
-
<p
|
|
1224
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1202
1225
|
</div>
|
|
1203
1226
|
|
|
1204
1227
|
|
|
@@ -1235,6 +1258,11 @@
|
|
|
1235
1258
|
|
|
1236
1259
|
|
|
1237
1260
|
|
|
1261
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1262
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1263
|
+
<li>{}</li>
|
|
1264
|
+
</ul></dd>
|
|
1265
|
+
|
|
1238
1266
|
|
|
1239
1267
|
|
|
1240
1268
|
|
|
@@ -1421,7 +1449,7 @@
|
|
|
1421
1449
|
|
|
1422
1450
|
<span class="param-type">
|
|
1423
1451
|
|
|
1424
|
-
|
|
1452
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1425
1453
|
|
|
1426
1454
|
</span>
|
|
1427
1455
|
|
|
@@ -2034,7 +2062,7 @@
|
|
|
2034
2062
|
|
|
2035
2063
|
|
|
2036
2064
|
<div class="description">
|
|
2037
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2065
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2038
2066
|
</div>
|
|
2039
2067
|
|
|
2040
2068
|
|
|
@@ -2232,6 +2260,86 @@
|
|
|
2232
2260
|
|
|
2233
2261
|
|
|
2234
2262
|
|
|
2263
|
+
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
</dl>
|
|
2270
|
+
|
|
2271
|
+
|
|
2272
|
+
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
</div>
|
|
2276
|
+
|
|
2277
|
+
<div class="member">
|
|
2278
|
+
|
|
2279
|
+
<span class="method-parameter is-pulled-right">
|
|
2280
|
+
<label>类型:</label>
|
|
2281
|
+
|
|
2282
|
+
<span class="param-type">
|
|
2283
|
+
|
|
2284
|
+
String
|
|
2285
|
+
|
|
2286
|
+
</span>
|
|
2287
|
+
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
</span>
|
|
2291
|
+
|
|
2292
|
+
<h4 class="name" id="tokenAttachType">
|
|
2293
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
2294
|
+
|
|
2295
|
+
<span class="code-name">
|
|
2296
|
+
tokenAttachType
|
|
2297
|
+
</span>
|
|
2298
|
+
|
|
2299
|
+
</h4>
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
|
|
2304
|
+
<div class="description">
|
|
2305
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
2306
|
+
</div>
|
|
2307
|
+
|
|
2308
|
+
|
|
2309
|
+
|
|
2310
|
+
|
|
2311
|
+
|
|
2312
|
+
<dl class="details">
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
2320
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2321
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
2322
|
+
</li></ul></dd>
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
|
|
2327
|
+
|
|
2328
|
+
|
|
2329
|
+
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
|
|
2340
|
+
|
|
2341
|
+
|
|
2342
|
+
|
|
2235
2343
|
|
|
2236
2344
|
|
|
2237
2345
|
|