@@ -27,6 +27,7 @@ import {SummaryAttributesJobsService} from '@supermap/iclient-common/iServer/Sum
27
27
* })
28
28
* @param {string } url - 分布式分析服务地址。
29
29
* @param {Object } options - 可选参数。
30
+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求。
30
31
*/
31
32
export class ProcessingService extends CommonServiceBase {
32
33
@@ -55,6 +56,7 @@ export class ProcessingService extends CommonServiceBase {
55
56
var kernelDensityJobsService = new KernelDensityJobsService ( me . url , {
56
57
proxy : me . proxy ,
57
58
withCredentials : me . withCredentials ,
59
+ crossOrigin :me . crossOrigin ,
58
60
serverType : me . serverType ,
59
61
eventListeners : {
60
62
scope : me ,
@@ -79,6 +81,7 @@ export class ProcessingService extends CommonServiceBase {
79
81
var kernelDensityJobsService = new KernelDensityJobsService ( me . url , {
80
82
proxy : me . proxy ,
81
83
withCredentials : me . withCredentials ,
84
+ crossOrigin :me . crossOrigin ,
82
85
serverType : me . serverType ,
83
86
eventListeners : {
84
87
scope : me ,
@@ -103,6 +106,7 @@ export class ProcessingService extends CommonServiceBase {
103
106
var kernelDensityJobsService = new KernelDensityJobsService ( me . url , {
104
107
proxy : me . proxy ,
105
108
withCredentials : me . withCredentials ,
109
+ crossOrigin :me . crossOrigin ,
106
110
eventListeners : {
107
111
scope : me ,
108
112
processCompleted : callback ,
@@ -138,6 +142,7 @@ export class ProcessingService extends CommonServiceBase {
138
142
var summaryMeshJobsService = new SummaryMeshJobsService ( me . url , {
139
143
proxy : me . proxy ,
140
144
withCredentials : me . withCredentials ,
145
+ crossOrigin :me . crossOrigin ,
141
146
serverType : me . serverType ,
142
147
eventListeners : {
143
148
scope : me ,
@@ -162,6 +167,7 @@ export class ProcessingService extends CommonServiceBase {
162
167
var summaryMeshJobsService = new SummaryMeshJobsService ( me . url , {
163
168
proxy : me . proxy ,
164
169
withCredentials : me . withCredentials ,
170
+ crossOrigin :me . crossOrigin ,
165
171
serverType : me . serverType ,
166
172
eventListeners : {
167
173
scope : me ,
@@ -186,6 +192,7 @@ export class ProcessingService extends CommonServiceBase {
186
192
var summaryMeshJobsService = new SummaryMeshJobsService ( me . url , {
187
193
proxy : me . proxy ,
188
194
withCredentials : me . withCredentials ,
195
+ crossOrigin :me . crossOrigin ,
189
196
eventListeners : {
190
197
scope : me ,
191
198
processCompleted : callback ,
@@ -221,6 +228,7 @@ export class ProcessingService extends CommonServiceBase {
221
228
var singleObjectQueryJobsService = new SingleObjectQueryJobsService ( me . url , {
222
229
proxy : me . proxy ,
223
230
withCredentials : me . withCredentials ,
231
+ crossOrigin :me . crossOrigin ,
224
232
serverType : me . serverType ,
225
233
eventListeners : {
226
234
scope : me ,
@@ -245,6 +253,7 @@ export class ProcessingService extends CommonServiceBase {
245
253
var singleObjectQueryJobsService = new SingleObjectQueryJobsService ( me . url , {
246
254
proxy : me . proxy ,
247
255
withCredentials : me . withCredentials ,
256
+ crossOrigin :me . crossOrigin ,
248
257
serverType : me . serverType ,
249
258
eventListeners : {
250
259
scope : me ,
@@ -271,6 +280,7 @@ export class ProcessingService extends CommonServiceBase {
271
280
var singleObjectQueryJobsService = new SingleObjectQueryJobsService ( me . url , {
272
281
proxy : me . proxy ,
273
282
withCredentials : me . withCredentials ,
283
+ crossOrigin :me . crossOrigin ,
274
284
eventListeners : {
275
285
scope : me ,
276
286
processCompleted : callback ,
@@ -306,6 +316,7 @@ export class ProcessingService extends CommonServiceBase {
306
316
var summaryRegionJobsService = new SummaryRegionJobsService ( me . url , {
307
317
proxy : me . proxy ,
308
318
withCredentials : me . withCredentials ,
319
+ crossOrigin :me . crossOrigin ,
309
320
serverType : me . serverType ,
310
321
eventListeners : {
311
322
scope : me ,
@@ -330,6 +341,7 @@ export class ProcessingService extends CommonServiceBase {
330
341
var summaryRegionJobsService = new SummaryRegionJobsService ( me . url , {
331
342
proxy : me . proxy ,
332
343
withCredentials : me . withCredentials ,
344
+ crossOrigin :me . crossOrigin ,
333
345
serverType : me . serverType ,
334
346
eventListeners : {
335
347
scope : me ,
@@ -354,6 +366,7 @@ export class ProcessingService extends CommonServiceBase {
354
366
var summaryRegionJobsService = new SummaryRegionJobsService ( me . url , {
355
367
proxy : me . proxy ,
356
368
withCredentials : me . withCredentials ,
369
+ crossOrigin :me . crossOrigin ,
357
370
eventListeners : {
358
371
scope : me ,
359
372
processCompleted : callback ,
@@ -389,6 +402,7 @@ export class ProcessingService extends CommonServiceBase {
389
402
var vectorClipJobsService = new VectorClipJobsService ( me . url , {
390
403
proxy : me . proxy ,
391
404
withCredentials : me . withCredentials ,
405
+ crossOrigin :me . crossOrigin ,
392
406
serverType : me . serverType ,
393
407
eventListeners : {
394
408
scope : me ,
@@ -413,6 +427,7 @@ export class ProcessingService extends CommonServiceBase {
413
427
var vectorClipJobsService = new VectorClipJobsService ( me . url , {
414
428
proxy : me . proxy ,
415
429
withCredentials : me . withCredentials ,
430
+ crossOrigin :me . crossOrigin ,
416
431
serverType : me . serverType ,
417
432
eventListeners : {
418
433
scope : me ,
@@ -439,6 +454,7 @@ export class ProcessingService extends CommonServiceBase {
439
454
var vectorClipJobsService = new VectorClipJobsService ( me . url , {
440
455
proxy : me . proxy ,
441
456
withCredentials : me . withCredentials ,
457
+ crossOrigin :me . crossOrigin ,
442
458
serverType : me . serverType ,
443
459
eventListeners : {
444
460
scope : me ,
@@ -475,6 +491,7 @@ export class ProcessingService extends CommonServiceBase {
475
491
var overlayGeoJobsService = new OverlayGeoJobsService ( me . url , {
476
492
proxy : me . proxy ,
477
493
withCredentials : me . withCredentials ,
494
+ crossOrigin :me . crossOrigin ,
478
495
serverType : me . serverType ,
479
496
eventListeners : {
480
497
scope : me ,
@@ -499,6 +516,7 @@ export class ProcessingService extends CommonServiceBase {
499
516
var overlayGeoJobsService = new OverlayGeoJobsService ( me . url , {
500
517
proxy : me . proxy ,
501
518
withCredentials : me . withCredentials ,
519
+ crossOrigin :me . crossOrigin ,
502
520
serverType : me . serverType ,
503
521
eventListeners : {
504
522
scope : me ,
@@ -524,6 +542,7 @@ export class ProcessingService extends CommonServiceBase {
524
542
var overlayGeoJobsService = new OverlayGeoJobsService ( me . url , {
525
543
proxy : me . proxy ,
526
544
withCredentials : me . withCredentials ,
545
+ crossOrigin :me . crossOrigin ,
527
546
serverType : me . serverType ,
528
547
eventListeners : {
529
548
scope : me ,
@@ -560,6 +579,7 @@ export class ProcessingService extends CommonServiceBase {
560
579
var buffersAnalystJobsService = new BuffersAnalystJobsService ( me . url , {
561
580
proxy : me . proxy ,
562
581
withCredentials : me . withCredentials ,
582
+ crossOrigin :me . crossOrigin ,
563
583
serverType : me . serverType ,
564
584
eventListeners : {
565
585
scope : me ,
@@ -584,6 +604,7 @@ export class ProcessingService extends CommonServiceBase {
584
604
var buffersAnalystJobsService = new BuffersAnalystJobsService ( me . url , {
585
605
proxy : me . proxy ,
586
606
withCredentials : me . withCredentials ,
607
+ crossOrigin :me . crossOrigin ,
587
608
serverType : me . serverType ,
588
609
eventListeners : {
589
610
scope : me ,
@@ -609,6 +630,7 @@ export class ProcessingService extends CommonServiceBase {
609
630
var buffersAnalystJobsService = new BuffersAnalystJobsService ( me . url , {
610
631
proxy : me . proxy ,
611
632
withCredentials : me . withCredentials ,
633
+ crossOrigin :me . crossOrigin ,
612
634
serverType : me . serverType ,
613
635
eventListeners : {
614
636
scope : me ,
@@ -645,6 +667,7 @@ export class ProcessingService extends CommonServiceBase {
645
667
var topologyValidatorJobsService = new TopologyValidatorJobsService ( me . url , {
646
668
proxy : me . proxy ,
647
669
withCredentials : me . withCredentials ,
670
+ crossOrigin :me . crossOrigin ,
648
671
serverType : me . serverType ,
649
672
eventListeners : {
650
673
scope : me ,
@@ -669,6 +692,7 @@ export class ProcessingService extends CommonServiceBase {
669
692
var topologyValidatorJobsService = new TopologyValidatorJobsService ( me . url , {
670
693
proxy : me . proxy ,
671
694
withCredentials : me . withCredentials ,
695
+ crossOrigin :me . crossOrigin ,
672
696
serverType : me . serverType ,
673
697
eventListeners : {
674
698
scope : me ,
@@ -694,6 +718,7 @@ export class ProcessingService extends CommonServiceBase {
694
718
var topologyValidatorJobsService = new TopologyValidatorJobsService ( me . url , {
695
719
proxy : me . proxy ,
696
720
withCredentials : me . withCredentials ,
721
+ crossOrigin :me . crossOrigin ,
697
722
serverType : me . serverType ,
698
723
eventListeners : {
699
724
scope : me ,
@@ -730,6 +755,7 @@ export class ProcessingService extends CommonServiceBase {
730
755
var summaryAttributesJobsService = new SummaryAttributesJobsService ( me . url , {
731
756
proxy : me . proxy ,
732
757
withCredentials : me . withCredentials ,
758
+ crossOrigin :me . crossOrigin ,
733
759
serverType : me . serverType ,
734
760
eventListeners : {
735
761
scope : me ,
@@ -754,6 +780,7 @@ export class ProcessingService extends CommonServiceBase {
754
780
var summaryAttributesJobsService = new SummaryAttributesJobsService ( me . url , {
755
781
proxy : me . proxy ,
756
782
withCredentials : me . withCredentials ,
783
+ crossOrigin :me . crossOrigin ,
757
784
serverType : me . serverType ,
758
785
eventListeners : {
759
786
scope : me ,
@@ -779,6 +806,7 @@ export class ProcessingService extends CommonServiceBase {
779
806
var summaryAttributesJobsService = new SummaryAttributesJobsService ( me . url , {
780
807
proxy : me . proxy ,
781
808
withCredentials : me . withCredentials ,
809
+ crossOrigin :me . crossOrigin ,
782
810
serverType : me . serverType ,
783
811
eventListeners : {
784
812
scope : me ,
0 commit comments