@mapgis/webclient-common 17.6.18 → 17.6.21
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 +23 -0
- package/dist/es5/webclient-common.min.js +10 -10
- package/dist/webclient-common-es6.min.js +10 -10
- package/documention/BaseView.html +345 -0
- package/documention/HTMLMarkerSymbol.html +2 -2
- package/documention/LayerDef.html +2 -2
- package/documention/MapView.html +350 -0
- package/documention/OutStatisticType.html +2 -2
- package/documention/QueryFeaturesData.html +2 -2
- package/documention/QueryFeaturesInLayersData.html +4 -4
- package/documention/QueryFeaturesInLayersOptions.html +2 -2
- package/documention/QueryFeaturesResult.html +2 -2
- package/documention/QueryFeauresOptions.html +2 -2
- package/documention/RendererCollection.html +7332 -0
- package/documention/SceneView.html +350 -0
- package/documention/SketchCircleDrawTool.html +5 -164
- package/documention/SketchEditor.html +405 -4
- package/documention/SketchEditor3D.html +77 -0
- package/documention/SketchExtentDrawTool.html +5 -164
- package/documention/SketchFreehandPolygonDrawTool.html +5 -0
- package/documention/SketchFreehandPolylineDrawTool.html +5 -164
- package/documention/SketchPointDrawTool.html +10 -0
- package/documention/SketchPolygonDrawTool.html +10 -0
- package/documention/SketchPolylineDrawTool.html +10 -328
- package/documention/SketchStyle.html +92 -0
- package/documention/TileDisplayMode.html +805 -0
- package/documention/ViewEventType.html +81 -0
- package/documention/WorkFlowServer600371.html +4216 -0
- package/documention/WorkFlowServer600372.html +4213 -0
- package/documention/global.html +190 -0
- package/package.json +1 -1
|
@@ -4886,6 +4886,356 @@ console.log("图层比例尺显示隐藏状态更新事件:", event)
|
|
|
4886
4886
|
|
|
4887
4887
|
|
|
4888
4888
|
|
|
4889
|
+
<h4 class="name" id="event:%E5%BC%95%E6%93%8E%E8%A7%86%E5%9B%BE%E5%88%9B%E5%BB%BA%E5%AE%8C%E6%AF%95%E4%BA%8B%E4%BB%B6">
|
|
4890
|
+
<a class="href-link" href="#event:%E5%BC%95%E6%93%8E%E8%A7%86%E5%9B%BE%E5%88%9B%E5%BB%BA%E5%AE%8C%E6%AF%95%E4%BA%8B%E4%BB%B6">#</a>
|
|
4891
|
+
|
|
4892
|
+
<span class="code-name" style="font-size:30px">
|
|
4893
|
+
|
|
4894
|
+
引擎视图创建完毕事件
|
|
4895
|
+
|
|
4896
|
+
</span>
|
|
4897
|
+
</h4>
|
|
4898
|
+
|
|
4899
|
+
|
|
4900
|
+
|
|
4901
|
+
|
|
4902
|
+
|
|
4903
|
+
|
|
4904
|
+
|
|
4905
|
+
|
|
4906
|
+
|
|
4907
|
+
|
|
4908
|
+
|
|
4909
|
+
|
|
4910
|
+
|
|
4911
|
+
|
|
4912
|
+
|
|
4913
|
+
|
|
4914
|
+
<h5 class="subsection-title">属性:</h5>
|
|
4915
|
+
|
|
4916
|
+
|
|
4917
|
+
<div class="table-container">
|
|
4918
|
+
<table class="props table">
|
|
4919
|
+
<thead>
|
|
4920
|
+
<tr>
|
|
4921
|
+
|
|
4922
|
+
<th>Name</th>
|
|
4923
|
+
|
|
4924
|
+
|
|
4925
|
+
<th>Type</th>
|
|
4926
|
+
|
|
4927
|
+
|
|
4928
|
+
<th>Attributes</th>
|
|
4929
|
+
|
|
4930
|
+
|
|
4931
|
+
|
|
4932
|
+
<th>Default</th>
|
|
4933
|
+
|
|
4934
|
+
|
|
4935
|
+
<th class="last">Description</th>
|
|
4936
|
+
</tr>
|
|
4937
|
+
</thead>
|
|
4938
|
+
|
|
4939
|
+
<tbody>
|
|
4940
|
+
|
|
4941
|
+
|
|
4942
|
+
<tr class="deep-level-0">
|
|
4943
|
+
|
|
4944
|
+
<td class="name"><code>event</code></td>
|
|
4945
|
+
|
|
4946
|
+
|
|
4947
|
+
<td class="type">
|
|
4948
|
+
|
|
4949
|
+
|
|
4950
|
+
<span class="param-type">Object</span>
|
|
4951
|
+
|
|
4952
|
+
|
|
4953
|
+
|
|
4954
|
+
</td>
|
|
4955
|
+
|
|
4956
|
+
|
|
4957
|
+
<td class="attributes">
|
|
4958
|
+
|
|
4959
|
+
|
|
4960
|
+
|
|
4961
|
+
</td>
|
|
4962
|
+
|
|
4963
|
+
|
|
4964
|
+
|
|
4965
|
+
<td class="default">
|
|
4966
|
+
|
|
4967
|
+
</td>
|
|
4968
|
+
|
|
4969
|
+
|
|
4970
|
+
<td class="description last"><p>事件对象</p></td>
|
|
4971
|
+
</tr>
|
|
4972
|
+
|
|
4973
|
+
|
|
4974
|
+
|
|
4975
|
+
<tr class="deep-level-1">
|
|
4976
|
+
|
|
4977
|
+
<td class="name"><code>type</code></td>
|
|
4978
|
+
|
|
4979
|
+
|
|
4980
|
+
<td class="type">
|
|
4981
|
+
|
|
4982
|
+
|
|
4983
|
+
<span class="param-type"><a href="ViewEventType.html">ViewEventType</a></span>
|
|
4984
|
+
|
|
4985
|
+
|
|
4986
|
+
|
|
4987
|
+
</td>
|
|
4988
|
+
|
|
4989
|
+
|
|
4990
|
+
<td class="attributes">
|
|
4991
|
+
|
|
4992
|
+
<optional><br>
|
|
4993
|
+
|
|
4994
|
+
|
|
4995
|
+
|
|
4996
|
+
</td>
|
|
4997
|
+
|
|
4998
|
+
|
|
4999
|
+
|
|
5000
|
+
<td class="default">
|
|
5001
|
+
|
|
5002
|
+
'innerView-created'
|
|
5003
|
+
|
|
5004
|
+
</td>
|
|
5005
|
+
|
|
5006
|
+
|
|
5007
|
+
<td class="description last"><p>事件类型</p></td>
|
|
5008
|
+
</tr>
|
|
5009
|
+
|
|
5010
|
+
|
|
5011
|
+
|
|
5012
|
+
<tr class="deep-level-1">
|
|
5013
|
+
|
|
5014
|
+
<td class="name"><code>innerView</code></td>
|
|
5015
|
+
|
|
5016
|
+
|
|
5017
|
+
<td class="type">
|
|
5018
|
+
|
|
5019
|
+
|
|
5020
|
+
<span class="param-type">Object</span>
|
|
5021
|
+
|
|
5022
|
+
|
|
5023
|
+
|
|
5024
|
+
</td>
|
|
5025
|
+
|
|
5026
|
+
|
|
5027
|
+
<td class="attributes">
|
|
5028
|
+
|
|
5029
|
+
<optional><br>
|
|
5030
|
+
|
|
5031
|
+
|
|
5032
|
+
|
|
5033
|
+
</td>
|
|
5034
|
+
|
|
5035
|
+
|
|
5036
|
+
|
|
5037
|
+
<td class="default">
|
|
5038
|
+
|
|
5039
|
+
</td>
|
|
5040
|
+
|
|
5041
|
+
|
|
5042
|
+
<td class="description last"><p>引擎地图对象</p></td>
|
|
5043
|
+
</tr>
|
|
5044
|
+
|
|
5045
|
+
|
|
5046
|
+
|
|
5047
|
+
<tr class="deep-level-1">
|
|
5048
|
+
|
|
5049
|
+
<td class="name"><code>sourceTarget</code></td>
|
|
5050
|
+
|
|
5051
|
+
|
|
5052
|
+
<td class="type">
|
|
5053
|
+
|
|
5054
|
+
|
|
5055
|
+
<span class="param-type"><a href="BaseView.html">BaseView</a></span>
|
|
5056
|
+
|
|
5057
|
+
|
|
5058
|
+
|
|
5059
|
+
</td>
|
|
5060
|
+
|
|
5061
|
+
|
|
5062
|
+
<td class="attributes">
|
|
5063
|
+
|
|
5064
|
+
<optional><br>
|
|
5065
|
+
|
|
5066
|
+
|
|
5067
|
+
|
|
5068
|
+
</td>
|
|
5069
|
+
|
|
5070
|
+
|
|
5071
|
+
|
|
5072
|
+
<td class="default">
|
|
5073
|
+
|
|
5074
|
+
</td>
|
|
5075
|
+
|
|
5076
|
+
|
|
5077
|
+
<td class="description last"><p>事件发起对象</p></td>
|
|
5078
|
+
</tr>
|
|
5079
|
+
|
|
5080
|
+
|
|
5081
|
+
|
|
5082
|
+
<tr class="deep-level-1">
|
|
5083
|
+
|
|
5084
|
+
<td class="name"><code>target</code></td>
|
|
5085
|
+
|
|
5086
|
+
|
|
5087
|
+
<td class="type">
|
|
5088
|
+
|
|
5089
|
+
|
|
5090
|
+
<span class="param-type"><a href="Map.html">Map</a></span>
|
|
5091
|
+
|
|
5092
|
+
|
|
5093
|
+
|
|
5094
|
+
</td>
|
|
5095
|
+
|
|
5096
|
+
|
|
5097
|
+
<td class="attributes">
|
|
5098
|
+
|
|
5099
|
+
<optional><br>
|
|
5100
|
+
|
|
5101
|
+
|
|
5102
|
+
|
|
5103
|
+
</td>
|
|
5104
|
+
|
|
5105
|
+
|
|
5106
|
+
|
|
5107
|
+
<td class="default">
|
|
5108
|
+
|
|
5109
|
+
</td>
|
|
5110
|
+
|
|
5111
|
+
|
|
5112
|
+
<td class="description last"><p>事件接收对象</p></td>
|
|
5113
|
+
</tr>
|
|
5114
|
+
|
|
5115
|
+
|
|
5116
|
+
|
|
5117
|
+
<tr class="deep-level-1">
|
|
5118
|
+
|
|
5119
|
+
<td class="name"><code>event</code></td>
|
|
5120
|
+
|
|
5121
|
+
|
|
5122
|
+
<td class="type">
|
|
5123
|
+
|
|
5124
|
+
|
|
5125
|
+
<span class="param-type">Object</span>
|
|
5126
|
+
|
|
5127
|
+
|
|
5128
|
+
|
|
5129
|
+
</td>
|
|
5130
|
+
|
|
5131
|
+
|
|
5132
|
+
<td class="attributes">
|
|
5133
|
+
|
|
5134
|
+
<optional><br>
|
|
5135
|
+
|
|
5136
|
+
|
|
5137
|
+
|
|
5138
|
+
</td>
|
|
5139
|
+
|
|
5140
|
+
|
|
5141
|
+
|
|
5142
|
+
<td class="default">
|
|
5143
|
+
|
|
5144
|
+
</td>
|
|
5145
|
+
|
|
5146
|
+
|
|
5147
|
+
<td class="description last"><p>事件对象</p></td>
|
|
5148
|
+
</tr>
|
|
5149
|
+
|
|
5150
|
+
|
|
5151
|
+
|
|
5152
|
+
|
|
5153
|
+
</tbody>
|
|
5154
|
+
</table>
|
|
5155
|
+
</div>
|
|
5156
|
+
|
|
5157
|
+
|
|
5158
|
+
|
|
5159
|
+
<dl class="details">
|
|
5160
|
+
|
|
5161
|
+
|
|
5162
|
+
|
|
5163
|
+
|
|
5164
|
+
|
|
5165
|
+
|
|
5166
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
5167
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
5168
|
+
<a href="BaseView.html#event:%25E5%25BC%2595%25E6%2593%258E%25E8%25A7%2586%25E5%259B%25BE%25E5%2588%259B%25E5%25BB%25BA%25E5%25AE%258C%25E6%25AF%2595%25E4%25BA%258B%25E4%25BB%25B6">BaseView#event:引擎视图创建完毕事件</a>
|
|
5169
|
+
</li></ul></dd>
|
|
5170
|
+
|
|
5171
|
+
|
|
5172
|
+
|
|
5173
|
+
|
|
5174
|
+
|
|
5175
|
+
|
|
5176
|
+
|
|
5177
|
+
|
|
5178
|
+
|
|
5179
|
+
|
|
5180
|
+
|
|
5181
|
+
|
|
5182
|
+
|
|
5183
|
+
|
|
5184
|
+
|
|
5185
|
+
|
|
5186
|
+
|
|
5187
|
+
|
|
5188
|
+
|
|
5189
|
+
|
|
5190
|
+
|
|
5191
|
+
|
|
5192
|
+
|
|
5193
|
+
|
|
5194
|
+
|
|
5195
|
+
|
|
5196
|
+
</dl>
|
|
5197
|
+
|
|
5198
|
+
|
|
5199
|
+
|
|
5200
|
+
|
|
5201
|
+
|
|
5202
|
+
|
|
5203
|
+
|
|
5204
|
+
|
|
5205
|
+
|
|
5206
|
+
|
|
5207
|
+
|
|
5208
|
+
|
|
5209
|
+
|
|
5210
|
+
|
|
5211
|
+
|
|
5212
|
+
|
|
5213
|
+
|
|
5214
|
+
|
|
5215
|
+
|
|
5216
|
+
|
|
5217
|
+
|
|
5218
|
+
|
|
5219
|
+
|
|
5220
|
+
<h5>示例</h5>
|
|
5221
|
+
|
|
5222
|
+
<p class="code-caption"><h7>引擎视图创建完毕事件</h7></p>
|
|
5223
|
+
|
|
5224
|
+
|
|
5225
|
+
<pre class="prettyprint"><code>view.on('innerView-created', (event) => {
|
|
5226
|
+
console.log("引擎视图创建完毕事件:", event)
|
|
5227
|
+
})</code></pre>
|
|
5228
|
+
|
|
5229
|
+
|
|
5230
|
+
|
|
5231
|
+
|
|
5232
|
+
</div>
|
|
5233
|
+
|
|
5234
|
+
<div class="member">
|
|
5235
|
+
|
|
5236
|
+
|
|
5237
|
+
|
|
5238
|
+
|
|
4889
5239
|
<h4 class="name" id="event:%E8%A7%86%E5%9B%BE%E5%9B%BE%E5%B1%82%E5%88%9B%E5%BB%BA%E4%BA%8B%E4%BB%B6">
|
|
4890
5240
|
<a class="href-link" href="#event:%E8%A7%86%E5%9B%BE%E5%9B%BE%E5%B1%82%E5%88%9B%E5%BB%BA%E4%BA%8B%E4%BB%B6">#</a>
|
|
4891
5241
|
|
|
@@ -2944,170 +2944,6 @@ import { FeatureSet } from "@mapgis/webclient-common" <br/>
|
|
|
2944
2944
|
|
|
2945
2945
|
|
|
2946
2946
|
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
</div>
|
|
2951
|
-
|
|
2952
|
-
<div class="member">
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
<h4 class="name" id="hitTestFeature">
|
|
2957
|
-
<a class="href-link" href="#hitTestFeature">#</a>
|
|
2958
|
-
|
|
2959
|
-
<span class="code-name" style="font-size:30px">
|
|
2960
|
-
|
|
2961
|
-
hitTestFeature<span class="signature">(feature, event)</span>
|
|
2962
|
-
|
|
2963
|
-
</span>
|
|
2964
|
-
</h4>
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
<div class="description">
|
|
2969
|
-
<p>捕获草图</p>
|
|
2970
|
-
</div>
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
<h4>参数:</h4>
|
|
2982
|
-
|
|
2983
|
-
<div class="table-container">
|
|
2984
|
-
<table class="params table">
|
|
2985
|
-
<thead>
|
|
2986
|
-
<tr>
|
|
2987
|
-
|
|
2988
|
-
<th>名称</th>
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
<th>类型</th>
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
<th class="last">描述</th>
|
|
2996
|
-
</tr>
|
|
2997
|
-
</thead>
|
|
2998
|
-
|
|
2999
|
-
<tbody>
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
<tr class="deep-level-0">
|
|
3004
|
-
|
|
3005
|
-
<td class="name"><code>feature</code></td>
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
<td class="type">
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
<span class="param-type"><a href="Feature.html">Feature</a></span>
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
</td>
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
<td class="description last"><p>被选中feature对象</p></td>
|
|
3020
|
-
</tr>
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
<tr class="deep-level-0">
|
|
3028
|
-
|
|
3029
|
-
<td class="name"><code>event</code></td>
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
<td class="type">
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
<span class="param-type">Object</span>
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
</td>
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
<td class="description last"><p>选中事件参数</p></td>
|
|
3044
|
-
</tr>
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
</tbody>
|
|
3050
|
-
</table>
|
|
3051
|
-
</div>
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
<dl class="details">
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
</dl>
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
2947
|
|
|
3112
2948
|
|
|
3113
2949
|
|
|
@@ -3445,6 +3281,11 @@ import { FeatureSet } from "@mapgis/webclient-common" <br/>
|
|
|
3445
3281
|
|
|
3446
3282
|
|
|
3447
3283
|
|
|
3284
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
3285
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
3286
|
+
SketchBaseDrawTool#selectFeature
|
|
3287
|
+
</li></ul></dd>
|
|
3288
|
+
|
|
3448
3289
|
|
|
3449
3290
|
|
|
3450
3291
|
|