@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
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
|
|
209
209
|
<pre class="prettyprint"><code>//初始化SecurityServer服务对象
|
|
210
210
|
// ES5引入方式
|
|
211
|
-
const { SecurityServer } =
|
|
211
|
+
const { SecurityServer } = zondy.service
|
|
212
212
|
// ES6引入方式
|
|
213
213
|
import { SecurityServer } from "@mapgis/webclient-common
|
|
214
214
|
const securityServer = new SecurityServer({
|
|
@@ -613,7 +613,7 @@ const securityServer = new SecurityServer({
|
|
|
613
613
|
|
|
614
614
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
615
615
|
// ES5引入方式
|
|
616
|
-
const { BaseServer } =
|
|
616
|
+
const { BaseServer } = zondy.service
|
|
617
617
|
// ES6引入方式
|
|
618
618
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
619
619
|
let BaseServer = new BaseServer({
|
|
@@ -714,7 +714,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
714
714
|
|
|
715
715
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
716
716
|
// ES5引入方式
|
|
717
|
-
const { BaseServer } =
|
|
717
|
+
const { BaseServer } = zondy.service
|
|
718
718
|
// ES6引入方式
|
|
719
719
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
720
720
|
let BaseServer = new BaseServer({
|
|
@@ -816,7 +816,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
816
816
|
|
|
817
817
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
818
818
|
// ES5引入方式
|
|
819
|
-
const { BaseServer,RequestInterceptor } =
|
|
819
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
820
820
|
// ES6引入方式
|
|
821
821
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
822
822
|
let BaseServer = new BaseServer({
|
|
@@ -925,7 +925,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
925
925
|
<pre class="prettyprint"><code>//设置超时时间
|
|
926
926
|
//初始化AddressServer服务对象
|
|
927
927
|
// ES5引入方式
|
|
928
|
-
const { BaseServer } =
|
|
928
|
+
const { BaseServer } = zondy.service
|
|
929
929
|
// ES6引入方式
|
|
930
930
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
931
931
|
let BaseServer = new BaseServer({
|
|
@@ -1022,7 +1022,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1022
1022
|
|
|
1023
1023
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1024
1024
|
// ES5引入方式
|
|
1025
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1025
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1026
1026
|
// ES6引入方式
|
|
1027
1027
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1028
1028
|
let BaseServer = new BaseServer({
|
|
@@ -1132,8 +1132,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1132
1132
|
|
|
1133
1133
|
<pre class="prettyprint"><code>//设置token值
|
|
1134
1134
|
// ES5引入方式
|
|
1135
|
-
const { BaseServer } =
|
|
1136
|
-
const { TokenAttachType } =
|
|
1135
|
+
const { BaseServer } = zondy.service
|
|
1136
|
+
const { TokenAttachType } = zondy.enum
|
|
1137
1137
|
// ES6引入方式
|
|
1138
1138
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1139
1139
|
let BaseServer = new BaseServer({
|
|
@@ -1234,7 +1234,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1234
1234
|
|
|
1235
1235
|
<pre class="prettyprint"><code>//设置token名
|
|
1236
1236
|
// ES5引入方式
|
|
1237
|
-
const { BaseServer } =
|
|
1237
|
+
const { BaseServer } = zondy.service
|
|
1238
1238
|
// ES6引入方式
|
|
1239
1239
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1240
1240
|
let BaseServer = new BaseServer({
|
|
@@ -1331,7 +1331,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1331
1331
|
|
|
1332
1332
|
<pre class="prettyprint"><code>//设置token值
|
|
1333
1333
|
// ES5引入方式
|
|
1334
|
-
const { BaseServer } =
|
|
1334
|
+
const { BaseServer } = zondy.service
|
|
1335
1335
|
// ES6引入方式
|
|
1336
1336
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1337
1337
|
let BaseServer = new BaseServer({
|
|
@@ -1428,7 +1428,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1428
1428
|
|
|
1429
1429
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1430
1430
|
// ES5引入方式
|
|
1431
|
-
const { BaseServer } =
|
|
1431
|
+
const { BaseServer } = zondy.service
|
|
1432
1432
|
// ES6引入方式
|
|
1433
1433
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1434
1434
|
let BaseServer = new BaseServer({
|
|
@@ -1906,7 +1906,7 @@ BaseServer.url = '新URL';</code></pre>
|
|
|
1906
1906
|
userName:'admin',
|
|
1907
1907
|
password:'sa.mapgis',
|
|
1908
1908
|
expirationTime:2592000,
|
|
1909
|
-
method:
|
|
1909
|
+
method: zondy.enum.FetchMethod.post,
|
|
1910
1910
|
success:function(result){
|
|
1911
1911
|
console.log("请求成功:", result);
|
|
1912
1912
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>简单填充符号,参考示例:<a href='#new-SimpleFillSymbol'>[填充符号样式]</a>
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.symbol.SimpleFillSymbol() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { SimpleFillSymbol } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -292,8 +292,8 @@ import { SimpleFillSymbol } from "@mapgis/webclient-common" <br/>
|
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
295
|
-
const { SimpleFillSymbol } =
|
|
296
|
-
const { Color } =
|
|
295
|
+
const { SimpleFillSymbol } = zondy.symbol
|
|
296
|
+
const { Color } = zondy
|
|
297
297
|
// ES6引入方式
|
|
298
298
|
import { SimpleFillSymbol, Color } from "@mapgis/webclient-common"
|
|
299
299
|
const simpleFillSymbol = new SimpleFillSymbol({
|
|
@@ -394,6 +394,24 @@ const simpleFillSymbol = new SimpleFillSymbol({
|
|
|
394
394
|
<td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
|
|
395
395
|
</tr>
|
|
396
396
|
|
|
397
|
+
<tr class="deep-level-0">
|
|
398
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
399
|
+
<td class="name">
|
|
400
|
+
<code>
|
|
401
|
+
|
|
402
|
+
<span class="param-type">
|
|
403
|
+
|
|
404
|
+
String
|
|
405
|
+
|
|
406
|
+
</span>
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
</code>
|
|
411
|
+
</td>
|
|
412
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
413
|
+
</tr>
|
|
414
|
+
|
|
397
415
|
<tr class="deep-level-0">
|
|
398
416
|
<td class="name"><code><a href="#outline">outline</a></code></td>
|
|
399
417
|
<td class="name">
|
|
@@ -599,6 +617,95 @@ const simpleFillSymbol = new SimpleFillSymbol({
|
|
|
599
617
|
|
|
600
618
|
|
|
601
619
|
|
|
620
|
+
<dt class="tag-default">Default Value:</dt>
|
|
621
|
+
<dd class="tag-default"><ul class="dummy">
|
|
622
|
+
<li>{}</li>
|
|
623
|
+
</ul></dd>
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
</dl>
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
</div>
|
|
639
|
+
|
|
640
|
+
<div class="member">
|
|
641
|
+
|
|
642
|
+
<span class="method-parameter is-pulled-right">
|
|
643
|
+
<label>类型:</label>
|
|
644
|
+
|
|
645
|
+
<span class="param-type">
|
|
646
|
+
|
|
647
|
+
String
|
|
648
|
+
|
|
649
|
+
</span>
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
</span>
|
|
654
|
+
|
|
655
|
+
<h4 class="name" id="id">
|
|
656
|
+
<a class="href-link" href="#id">#</a>
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
<span class='tag'>readonly</span>
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
<span class="code-name">
|
|
663
|
+
id
|
|
664
|
+
</span>
|
|
665
|
+
|
|
666
|
+
</h4>
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
<div class="description">
|
|
672
|
+
<p>符号id</p>
|
|
673
|
+
</div>
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
<dl class="details">
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
687
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
688
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
689
|
+
</li></ul></dd>
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
602
709
|
|
|
603
710
|
|
|
604
711
|
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>简单线符号,支持线几何对象,参考示例:<a href='#new-SimpleLineSymbol'>[线符号样式]</a>
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.symbol.SimpleLineSymbol() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { SimpleLineSymbol } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -424,8 +424,8 @@ miter:线的拐角为直角,round:线的拐角为圆角,bevel:线的
|
|
|
424
424
|
|
|
425
425
|
|
|
426
426
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
427
|
-
const { SimpleLineSymbol } =
|
|
428
|
-
const { Color } =
|
|
427
|
+
const { SimpleLineSymbol } = zondy.symbol
|
|
428
|
+
const { Color } = zondy
|
|
429
429
|
// ES6引入方式
|
|
430
430
|
import { SimpleLineSymbol, Color } from "@mapgis/webclient-common"
|
|
431
431
|
const simpleLineSymbol = new SimpleLineSymbol({
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>简单Marker符号,支持点几何对象,参考示例:<a href='#new-SimpleMarkerSymbol'>[简单Marker样式]</a>
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.symbol.SimpleMarkerSymbol() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { SimpleMarkerSymbol } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -457,8 +457,8 @@ import { SimpleMarkerSymbol } from "@mapgis/webclient-common" <br/>
|
|
|
457
457
|
|
|
458
458
|
|
|
459
459
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
460
|
-
const { SimpleMarkerSymbol } =
|
|
461
|
-
const { Color } =
|
|
460
|
+
const { SimpleMarkerSymbol } = zondy.symbol
|
|
461
|
+
const { Color } = zondy
|
|
462
462
|
// ES6引入方式
|
|
463
463
|
import { SimpleMarkerSymbol, Color } from "@mapgis/webclient-common"
|
|
464
464
|
const simpleMarkerSymbol = new SimpleMarkerSymbol({
|
|
@@ -260,9 +260,9 @@
|
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
263
|
-
const { SimpleRenderer } =
|
|
264
|
-
const { SimpleMarkerSymbol, SimpleLineSymbol } =
|
|
265
|
-
const { Color } =
|
|
263
|
+
const { SimpleRenderer } = zondy.renderer
|
|
264
|
+
const { SimpleMarkerSymbol, SimpleLineSymbol } = zondy.symbol
|
|
265
|
+
const { Color } = zondy
|
|
266
266
|
// ES6引入方式
|
|
267
267
|
import { SimpleRenderer, SimpleMarkerSymbol, SimpleLineSymbol, Color } from "@mapgis/webclient-common"
|
|
268
268
|
// 初始化统一专题图样式对象
|
|
@@ -288,9 +288,9 @@ const simpleRenderer = new SimpleRenderer({
|
|
|
288
288
|
|
|
289
289
|
|
|
290
290
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
291
|
-
const { SimpleRenderer } =
|
|
292
|
-
const { SimpleLineSymbol } =
|
|
293
|
-
const { Color } =
|
|
291
|
+
const { SimpleRenderer } = zondy.renderer
|
|
292
|
+
const { SimpleLineSymbol } = zondy.symbol
|
|
293
|
+
const { Color } = zondy
|
|
294
294
|
// ES6引入方式
|
|
295
295
|
import { SimpleRenderer, SimpleLineSymbol, Color } from "@mapgis/webclient-common"
|
|
296
296
|
// 初始化统一专题图样式对象
|
|
@@ -309,9 +309,9 @@ const simpleRenderer = new SimpleRenderer({
|
|
|
309
309
|
|
|
310
310
|
|
|
311
311
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
312
|
-
const { SimpleRenderer } =
|
|
313
|
-
const { SimpleFillSymbol, SimpleLineSymbol } =
|
|
314
|
-
const { Color } =
|
|
312
|
+
const { SimpleRenderer } = zondy.renderer
|
|
313
|
+
const { SimpleFillSymbol, SimpleLineSymbol } = zondy.symbol
|
|
314
|
+
const { Color } = zondy
|
|
315
315
|
// ES6引入方式
|
|
316
316
|
import { SimpleRenderer, SimpleFillSymbol, SimpleLineSymbol, Color } from "@mapgis/webclient-common"
|
|
317
317
|
// 初始化统一专题图样式对象,更多样式详见:<a class="mapgis-link-name" title="SimpleFillSymbol" SimpleFillSymbol.html><code>《SimpleFillSymbol》</code></a>
|
|
@@ -396,6 +396,24 @@ const simpleRenderer = new SimpleRenderer({
|
|
|
396
396
|
<td class="name"><code><p>渲染器的描述信息</p></code></td>
|
|
397
397
|
</tr>
|
|
398
398
|
|
|
399
|
+
<tr class="deep-level-0">
|
|
400
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
401
|
+
<td class="name">
|
|
402
|
+
<code>
|
|
403
|
+
|
|
404
|
+
<span class="param-type">
|
|
405
|
+
|
|
406
|
+
String
|
|
407
|
+
|
|
408
|
+
</span>
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
</code>
|
|
413
|
+
</td>
|
|
414
|
+
<td class="name"><code><p>渲染器id</p></code></td>
|
|
415
|
+
</tr>
|
|
416
|
+
|
|
399
417
|
<tr class="deep-level-0">
|
|
400
418
|
<td class="name"><code><a href="#label">label</a></code></td>
|
|
401
419
|
<td class="name">
|
|
@@ -530,6 +548,90 @@ const simpleRenderer = new SimpleRenderer({
|
|
|
530
548
|
|
|
531
549
|
|
|
532
550
|
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
</dl>
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
</div>
|
|
569
|
+
|
|
570
|
+
<div class="member">
|
|
571
|
+
|
|
572
|
+
<span class="method-parameter is-pulled-right">
|
|
573
|
+
<label>类型:</label>
|
|
574
|
+
|
|
575
|
+
<span class="param-type">
|
|
576
|
+
|
|
577
|
+
String
|
|
578
|
+
|
|
579
|
+
</span>
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
</span>
|
|
584
|
+
|
|
585
|
+
<h4 class="name" id="id">
|
|
586
|
+
<a class="href-link" href="#id">#</a>
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
<span class='tag'>readonly</span>
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
<span class="code-name">
|
|
593
|
+
id
|
|
594
|
+
</span>
|
|
595
|
+
|
|
596
|
+
</h4>
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
<div class="description">
|
|
602
|
+
<p>渲染器id</p>
|
|
603
|
+
</div>
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
<dl class="details">
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
617
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
618
|
+
<a goto="id" link="BaseRenderer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseRenderer#id" BaseRenderer.html#id>BaseRenderer#id</a>
|
|
619
|
+
</li></ul></dd>
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
533
635
|
|
|
534
636
|
|
|
535
637
|
|
|
@@ -743,6 +845,11 @@ const simpleRenderer = new SimpleRenderer({
|
|
|
743
845
|
|
|
744
846
|
|
|
745
847
|
|
|
848
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
849
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
850
|
+
<a class="mapgis-link-name" title="BaseRenderer#type" BaseRenderer.html#type>BaseRenderer#type</a>
|
|
851
|
+
</li></ul></dd>
|
|
852
|
+
|
|
746
853
|
|
|
747
854
|
|
|
748
855
|
|
|
@@ -183,6 +183,33 @@
|
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
|
|
186
|
+
|
|
187
|
+
<tr class="deep-level-1">
|
|
188
|
+
|
|
189
|
+
<td class="name"><code>extendOptions</code></td>
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
<td class="type">
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
<span class="param-type">
|
|
196
|
+
|
|
197
|
+
Object
|
|
198
|
+
|
|
199
|
+
</span>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
</td>
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
<td class="description last"><p>草图编辑的扩展属性,可以通过该属性传入草图编辑额外需要的参数</p></td>
|
|
209
|
+
</tr>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
186
213
|
|
|
187
214
|
|
|
188
215
|
|
|
@@ -287,6 +314,24 @@
|
|
|
287
314
|
</thead>
|
|
288
315
|
<tbody>
|
|
289
316
|
|
|
317
|
+
<tr class="deep-level-0">
|
|
318
|
+
<td class="name"><code><a href="#arcType">arcType</a></code></td>
|
|
319
|
+
<td class="name">
|
|
320
|
+
<code>
|
|
321
|
+
|
|
322
|
+
<span class="param-type">
|
|
323
|
+
|
|
324
|
+
Number
|
|
325
|
+
|
|
326
|
+
</span>
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
</code>
|
|
331
|
+
</td>
|
|
332
|
+
<td class="name"><code><p>弧线类型</p></code></td>
|
|
333
|
+
</tr>
|
|
334
|
+
|
|
290
335
|
<tr class="deep-level-0">
|
|
291
336
|
<td class="name"><code><a href="#editOption">editOption</a></code></td>
|
|
292
337
|
<td class="name">
|
|
@@ -338,7 +383,7 @@
|
|
|
338
383
|
|
|
339
384
|
</code>
|
|
340
385
|
</td>
|
|
341
|
-
<td class="name"><code><p
|
|
386
|
+
<td class="name"><code><p>草图编辑的扩展属性,可以通过该属性传入草图编辑额外需要的参数</p></code></td>
|
|
342
387
|
</tr>
|
|
343
388
|
|
|
344
389
|
<tr class="deep-level-0">
|
|
@@ -467,6 +512,81 @@
|
|
|
467
512
|
<span class="method-parameter is-pulled-right">
|
|
468
513
|
<label>类型:</label>
|
|
469
514
|
|
|
515
|
+
<span class="param-type">
|
|
516
|
+
|
|
517
|
+
Number
|
|
518
|
+
|
|
519
|
+
</span>
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
</span>
|
|
524
|
+
|
|
525
|
+
<h4 class="name" id="arcType">
|
|
526
|
+
<a class="href-link" href="#arcType">#</a>
|
|
527
|
+
|
|
528
|
+
<span class="code-name">
|
|
529
|
+
arcType
|
|
530
|
+
</span>
|
|
531
|
+
|
|
532
|
+
</h4>
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
<div class="description">
|
|
538
|
+
<p>弧线类型</p>
|
|
539
|
+
</div>
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
<dl class="details">
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
</dl>
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
</div>
|
|
584
|
+
|
|
585
|
+
<div class="member">
|
|
586
|
+
|
|
587
|
+
<span class="method-parameter is-pulled-right">
|
|
588
|
+
<label>类型:</label>
|
|
589
|
+
|
|
470
590
|
<span class="param-type">
|
|
471
591
|
|
|
472
592
|
Object
|
|
@@ -640,7 +760,7 @@
|
|
|
640
760
|
|
|
641
761
|
|
|
642
762
|
<div class="description">
|
|
643
|
-
<p
|
|
763
|
+
<p>草图编辑的扩展属性,可以通过该属性传入草图编辑额外需要的参数</p>
|
|
644
764
|
</div>
|
|
645
765
|
|
|
646
766
|
|
|
@@ -2017,7 +2137,7 @@
|
|
|
2017
2137
|
|
|
2018
2138
|
<span class="code-name" id="getPanCoordinates" style="font-size:30px">
|
|
2019
2139
|
|
|
2020
|
-
getPanCoordinates<span class="signature">(coordinates, deltaX, deltaY)</span>
|
|
2140
|
+
getPanCoordinates<span class="signature">(coordinates, deltaX, deltaY, pointType, extent)</span>
|
|
2021
2141
|
|
|
2022
2142
|
</span>
|
|
2023
2143
|
</h4>
|
|
@@ -2144,6 +2264,64 @@
|
|
|
2144
2264
|
|
|
2145
2265
|
|
|
2146
2266
|
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
<tr class="deep-level-0">
|
|
2270
|
+
|
|
2271
|
+
<td class="name"><code>pointType</code></td>
|
|
2272
|
+
|
|
2273
|
+
|
|
2274
|
+
<td class="type">
|
|
2275
|
+
|
|
2276
|
+
|
|
2277
|
+
<span class="param-type">
|
|
2278
|
+
|
|
2279
|
+
Number
|
|
2280
|
+
|
|
2281
|
+
</span>
|
|
2282
|
+
|
|
2283
|
+
|
|
2284
|
+
|
|
2285
|
+
|
|
2286
|
+
</td>
|
|
2287
|
+
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
<td class="description last"><p>点属性类型</p></td>
|
|
2291
|
+
</tr>
|
|
2292
|
+
|
|
2293
|
+
|
|
2294
|
+
|
|
2295
|
+
|
|
2296
|
+
|
|
2297
|
+
|
|
2298
|
+
<tr class="deep-level-0">
|
|
2299
|
+
|
|
2300
|
+
<td class="name"><code>extent</code></td>
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
<td class="type">
|
|
2304
|
+
|
|
2305
|
+
|
|
2306
|
+
<span class="param-type">
|
|
2307
|
+
|
|
2308
|
+
Number
|
|
2309
|
+
|
|
2310
|
+
</span>
|
|
2311
|
+
|
|
2312
|
+
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
</td>
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
<td class="description last"><p>点所在范围</p></td>
|
|
2320
|
+
</tr>
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
|
|
2324
|
+
|
|
2147
2325
|
</tbody>
|
|
2148
2326
|
</table>
|
|
2149
2327
|
</div>
|