@@ -2604,7 +2604,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
2604
2604
* eventListeners - {Object} 事件监听器对象。有processCompleted属性可传入处理完成后的回调函数。processFailed属性传入处理失败后的回调函数。<br>
2605
2605
* proxy - {string} 服务代理地址<br>
2606
2606
* serverType - {SuperMap.ServerType} 服务器类型,iServer|iPortal|Online。<br>
2607
- * withCredentials - {boolean} 请求是否携带cookie,默认为true 。<br>
2607
+ * withCredentials - {boolean} 请求是否携带cookie,默认为false 。<br>
2608
2608
* format -{SuperMap.DataFormat} 查询结果返回格式,目前支持iServerJSON 和GeoJSON两种格式。参数格式为"ISERVER","GEOJSON"。
2609
2609
*/
2610
2610
var CommonServiceBase = exports . CommonServiceBase = function ( ) {
@@ -2643,7 +2643,7 @@ var CommonServiceBase = exports.CommonServiceBase = function () {
2643
2643
2644
2644
this . isInTheSameDomain = null ;
2645
2645
2646
- this . withCredentials = true ;
2646
+ this . withCredentials = false ;
2647
2647
2648
2648
if ( _Util . Util . isArray ( url ) ) {
2649
2649
me . urls = url ;
@@ -7668,6 +7668,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7668
7668
format = me . _processFormat ( resultFormat ) ;
7669
7669
var kernelDensityJobsService = new _KernelDensityJobsService . KernelDensityJobsService ( me . url , {
7670
7670
proxy : me . proxy ,
7671
+ withCredentials : me . withCredentials ,
7671
7672
serverType : me . serverType ,
7672
7673
eventListeners : {
7673
7674
scope : me ,
@@ -7694,6 +7695,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7694
7695
format = me . _processFormat ( resultFormat ) ;
7695
7696
var kernelDensityJobsService = new _KernelDensityJobsService . KernelDensityJobsService ( me . url , {
7696
7697
proxy : me . proxy ,
7698
+ withCredentials : me . withCredentials ,
7697
7699
serverType : me . serverType ,
7698
7700
eventListeners : {
7699
7701
scope : me ,
@@ -7721,6 +7723,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7721
7723
format = me . _processFormat ( resultFormat ) ;
7722
7724
var kernelDensityJobsService = new _KernelDensityJobsService . KernelDensityJobsService ( me . url , {
7723
7725
proxy : me . proxy ,
7726
+ withCredentials : me . withCredentials ,
7724
7727
eventListeners : {
7725
7728
scope : me ,
7726
7729
processCompleted : callback ,
@@ -7761,6 +7764,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7761
7764
format = me . _processFormat ( resultFormat ) ;
7762
7765
var summaryMeshJobsService = new _SummaryMeshJobsService . SummaryMeshJobsService ( me . url , {
7763
7766
proxy : me . proxy ,
7767
+ withCredentials : me . withCredentials ,
7764
7768
serverType : me . serverType ,
7765
7769
eventListeners : {
7766
7770
scope : me ,
@@ -7787,6 +7791,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7787
7791
format = me . _processFormat ( resultFormat ) ;
7788
7792
var summaryMeshJobsService = new _SummaryMeshJobsService . SummaryMeshJobsService ( me . url , {
7789
7793
proxy : me . proxy ,
7794
+ withCredentials : me . withCredentials ,
7790
7795
serverType : me . serverType ,
7791
7796
eventListeners : {
7792
7797
scope : me ,
@@ -7814,6 +7819,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7814
7819
format = me . _processFormat ( resultFormat ) ;
7815
7820
var summaryMeshJobsService = new _SummaryMeshJobsService . SummaryMeshJobsService ( me . url , {
7816
7821
proxy : me . proxy ,
7822
+ withCredentials : me . withCredentials ,
7817
7823
eventListeners : {
7818
7824
scope : me ,
7819
7825
processCompleted : callback ,
@@ -7854,6 +7860,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7854
7860
format = me . _processFormat ( resultFormat ) ;
7855
7861
var singleObjectQueryJobsService = new _SingleObjectQueryJobsService . SingleObjectQueryJobsService ( me . url , {
7856
7862
proxy : me . proxy ,
7863
+ withCredentials : me . withCredentials ,
7857
7864
serverType : me . serverType ,
7858
7865
eventListeners : {
7859
7866
scope : me ,
@@ -7880,6 +7887,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7880
7887
format = me . _processFormat ( resultFormat ) ;
7881
7888
var singleObjectQueryJobsService = new _SingleObjectQueryJobsService . SingleObjectQueryJobsService ( me . url , {
7882
7889
proxy : me . proxy ,
7890
+ withCredentials : me . withCredentials ,
7883
7891
serverType : me . serverType ,
7884
7892
eventListeners : {
7885
7893
scope : me ,
@@ -7908,6 +7916,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7908
7916
format = me . _processFormat ( resultFormat ) ;
7909
7917
var singleObjectQueryJobsService = new _SingleObjectQueryJobsService . SingleObjectQueryJobsService ( me . url , {
7910
7918
proxy : me . proxy ,
7919
+ withCredentials : me . withCredentials ,
7911
7920
eventListeners : {
7912
7921
scope : me ,
7913
7922
processCompleted : callback ,
@@ -7948,6 +7957,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7948
7957
format = me . _processFormat ( resultFormat ) ;
7949
7958
var summaryRegionJobsService = new _SummaryRegionJobsService . SummaryRegionJobsService ( me . url , {
7950
7959
proxy : me . proxy ,
7960
+ withCredentials : me . withCredentials ,
7951
7961
serverType : me . serverType ,
7952
7962
eventListeners : {
7953
7963
scope : me ,
@@ -7974,6 +7984,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
7974
7984
format = me . _processFormat ( resultFormat ) ;
7975
7985
var summaryRegionJobsService = new _SummaryRegionJobsService . SummaryRegionJobsService ( me . url , {
7976
7986
proxy : me . proxy ,
7987
+ withCredentials : me . withCredentials ,
7977
7988
serverType : me . serverType ,
7978
7989
eventListeners : {
7979
7990
scope : me ,
@@ -8001,6 +8012,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8001
8012
format = me . _processFormat ( resultFormat ) ;
8002
8013
var summaryRegionJobsService = new _SummaryRegionJobsService . SummaryRegionJobsService ( me . url , {
8003
8014
proxy : me . proxy ,
8015
+ withCredentials : me . withCredentials ,
8004
8016
eventListeners : {
8005
8017
scope : me ,
8006
8018
processCompleted : callback ,
@@ -8041,6 +8053,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8041
8053
format = me . _processFormat ( resultFormat ) ;
8042
8054
var vectorClipJobsService = new _VectorClipJobsService . VectorClipJobsService ( me . url , {
8043
8055
proxy : me . proxy ,
8056
+ withCredentials : me . withCredentials ,
8044
8057
serverType : me . serverType ,
8045
8058
eventListeners : {
8046
8059
scope : me ,
@@ -8067,6 +8080,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8067
8080
format = me . _processFormat ( resultFormat ) ;
8068
8081
var vectorClipJobsService = new _VectorClipJobsService . VectorClipJobsService ( me . url , {
8069
8082
proxy : me . proxy ,
8083
+ withCredentials : me . withCredentials ,
8070
8084
serverType : me . serverType ,
8071
8085
eventListeners : {
8072
8086
scope : me ,
@@ -8095,6 +8109,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8095
8109
format = me . _processFormat ( resultFormat ) ;
8096
8110
var vectorClipJobsService = new _VectorClipJobsService . VectorClipJobsService ( me . url , {
8097
8111
proxy : me . proxy ,
8112
+ withCredentials : me . withCredentials ,
8098
8113
serverType : me . serverType ,
8099
8114
eventListeners : {
8100
8115
scope : me ,
@@ -8136,6 +8151,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8136
8151
format = me . _processFormat ( resultFormat ) ;
8137
8152
var overlayGeoJobsService = new _OverlayGeoJobsService . OverlayGeoJobsService ( me . url , {
8138
8153
proxy : me . proxy ,
8154
+ withCredentials : me . withCredentials ,
8139
8155
serverType : me . serverType ,
8140
8156
eventListeners : {
8141
8157
scope : me ,
@@ -8162,6 +8178,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8162
8178
format = me . _processFormat ( resultFormat ) ;
8163
8179
var overlayGeoJobsService = new _OverlayGeoJobsService . OverlayGeoJobsService ( me . url , {
8164
8180
proxy : me . proxy ,
8181
+ withCredentials : me . withCredentials ,
8165
8182
serverType : me . serverType ,
8166
8183
eventListeners : {
8167
8184
scope : me ,
@@ -8189,6 +8206,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8189
8206
format = me . _processFormat ( resultFormat ) ;
8190
8207
var overlayGeoJobsService = new _OverlayGeoJobsService . OverlayGeoJobsService ( me . url , {
8191
8208
proxy : me . proxy ,
8209
+ withCredentials : me . withCredentials ,
8192
8210
serverType : me . serverType ,
8193
8211
eventListeners : {
8194
8212
scope : me ,
@@ -8230,6 +8248,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8230
8248
format = me . _processFormat ( resultFormat ) ;
8231
8249
var buffersAnalystJobsService = new _BuffersAnalystJobsService . BuffersAnalystJobsService ( me . url , {
8232
8250
proxy : me . proxy ,
8251
+ withCredentials : me . withCredentials ,
8233
8252
serverType : me . serverType ,
8234
8253
eventListeners : {
8235
8254
scope : me ,
@@ -8256,6 +8275,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8256
8275
format = me . _processFormat ( resultFormat ) ;
8257
8276
var buffersAnalystJobsService = new _BuffersAnalystJobsService . BuffersAnalystJobsService ( me . url , {
8258
8277
proxy : me . proxy ,
8278
+ withCredentials : me . withCredentials ,
8259
8279
serverType : me . serverType ,
8260
8280
eventListeners : {
8261
8281
scope : me ,
@@ -8283,6 +8303,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8283
8303
format = me . _processFormat ( resultFormat ) ;
8284
8304
var buffersAnalystJobsService = new _BuffersAnalystJobsService . BuffersAnalystJobsService ( me . url , {
8285
8305
proxy : me . proxy ,
8306
+ withCredentials : me . withCredentials ,
8286
8307
serverType : me . serverType ,
8287
8308
eventListeners : {
8288
8309
scope : me ,
@@ -8324,6 +8345,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8324
8345
format = me . _processFormat ( resultFormat ) ;
8325
8346
var topologyValidatorJobsService = new _TopologyValidatorJobsService . TopologyValidatorJobsService ( me . url , {
8326
8347
proxy : me . proxy ,
8348
+ withCredentials : me . withCredentials ,
8327
8349
serverType : me . serverType ,
8328
8350
eventListeners : {
8329
8351
scope : me ,
@@ -8350,6 +8372,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8350
8372
format = me . _processFormat ( resultFormat ) ;
8351
8373
var topologyValidatorJobsService = new _TopologyValidatorJobsService . TopologyValidatorJobsService ( me . url , {
8352
8374
proxy : me . proxy ,
8375
+ withCredentials : me . withCredentials ,
8353
8376
serverType : me . serverType ,
8354
8377
eventListeners : {
8355
8378
scope : me ,
@@ -8377,6 +8400,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8377
8400
format = me . _processFormat ( resultFormat ) ;
8378
8401
var topologyValidatorJobsService = new _TopologyValidatorJobsService . TopologyValidatorJobsService ( me . url , {
8379
8402
proxy : me . proxy ,
8403
+ withCredentials : me . withCredentials ,
8380
8404
serverType : me . serverType ,
8381
8405
eventListeners : {
8382
8406
scope : me ,
@@ -8418,6 +8442,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8418
8442
format = me . _processFormat ( resultFormat ) ;
8419
8443
var summaryAttributesJobsService = new _SummaryAttributesJobsService . SummaryAttributesJobsService ( me . url , {
8420
8444
proxy : me . proxy ,
8445
+ withCredentials : me . withCredentials ,
8421
8446
serverType : me . serverType ,
8422
8447
eventListeners : {
8423
8448
scope : me ,
@@ -8444,6 +8469,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8444
8469
format = me . _processFormat ( resultFormat ) ;
8445
8470
var summaryAttributesJobsService = new _SummaryAttributesJobsService . SummaryAttributesJobsService ( me . url , {
8446
8471
proxy : me . proxy ,
8472
+ withCredentials : me . withCredentials ,
8447
8473
serverType : me . serverType ,
8448
8474
eventListeners : {
8449
8475
scope : me ,
@@ -8471,6 +8497,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
8471
8497
format = me . _processFormat ( resultFormat ) ;
8472
8498
var summaryAttributesJobsService = new _SummaryAttributesJobsService . SummaryAttributesJobsService ( me . url , {
8473
8499
proxy : me . proxy ,
8500
+ withCredentials : me . withCredentials ,
8474
8501
serverType : me . serverType ,
8475
8502
eventListeners : {
8476
8503
scope : me ,
@@ -9290,6 +9317,7 @@ var AddressMatchService = exports.AddressMatchService = function (_CommonService
9290
9317
var me = this ;
9291
9318
var addressMatchService = new _AddressMatchService . AddressMatchService ( me . url , {
9292
9319
proxy : me . proxy ,
9320
+ withCredentials : me . withCredentials ,
9293
9321
serverType : me . serverType ,
9294
9322
eventListeners : {
9295
9323
scope : me ,
@@ -9313,6 +9341,7 @@ var AddressMatchService = exports.AddressMatchService = function (_CommonService
9313
9341
var me = this ;
9314
9342
var addressMatchService = new _AddressMatchService . AddressMatchService ( me . url , {
9315
9343
proxy : me . proxy ,
9344
+ withCredentials : me . withCredentials ,
9316
9345
serverType : me . serverType ,
9317
9346
eventListeners : {
9318
9347
scope : me ,
0 commit comments