@@ -3747,16 +3747,16 @@ var fetch_jsonp_default = /*#__PURE__*/__webpack_require__.n(fetch_jsonp);
37473747const FetchRequest_fetch = window . fetch ;
37483748/**
37493749 * @function SuperMap.setCORS
3750- * @description 设置是否支持跨域 。
3751- * @param {boolean } cors - 是否支持跨域 。
3750+ * @description 设置是否允许跨域请求,全局配置,优先级低于 service 下的 crossOring 参数 。
3751+ * @param {boolean } cors - 是否允许跨域请求 。
37523752 */
37533753var FetchRequest_setCORS = SuperMap . setCORS = function ( cors ) {
37543754 SuperMap . CORS = cors ;
37553755}
37563756/**
37573757 * @function SuperMap.isCORS
3758- * @description 是否支持跨域 。
3759- * @returns {boolean } 是否支持跨域 。
3758+ * @description 是是否允许跨域请求 。
3759+ * @returns {boolean } 是否允许跨域请求 。
37603760 */
37613761var FetchRequest_isCORS = SuperMap . isCORS = function ( ) {
37623762 if ( SuperMap . CORS != undefined ) {
@@ -3798,7 +3798,7 @@ var FetchRequest_FetchRequest = SuperMap.FetchRequest = {
37983798 } ,
37993799 supportDirectRequest : function ( url , options ) {
38003800 if ( Util_Util . isInTheSameDomain ( url ) ) {
3801- return Util_Util . isInTheSameDomain ( url )
3801+ return true ;
38023802 } if ( options . crossOrigin != undefined ) {
38033803 return options . crossOrigin ;
38043804 } else {
@@ -8450,7 +8450,7 @@ SuperMap.Format.JSON = JSON_JSONFormat;
84508450 * @param {string } [options.proxy] - 服务代理地址。
84518451 * @param {SuperMap.ServerType } [options.serverType=SuperMap.ServerType.ISERVER] - 服务器类型,iServer|iPortal|Online。
84528452 * @param {boolean } [options.withCredentials=false] - 请求是否携带 cookie。
8453- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
8453+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
84548454 */
84558455class CommonServiceBase_CommonServiceBase {
84568456
@@ -8568,7 +8568,7 @@ class CommonServiceBase_CommonServiceBase {
85688568 * @param {Object } [options.scope] - 如果回调函数是对象的一个公共方法,设定该对象的范围。
85698569 * @param {boolean } [options.isInTheSameDomain] - 请求是否在当前域中。
85708570 * @param {boolean } [options.withCredentials=false] - 请求是否携带 cookie。
8571- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
8571+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
85728572 *
85738573 */
85748574 request ( options ) {
@@ -8829,7 +8829,7 @@ SuperMap.CommonServiceBase = CommonServiceBase_CommonServiceBase;
88298829 * @classdesc 地址匹配服务,包括正向匹配和反向匹配。
88308830 * @param {string } url - 地址匹配服务地址。
88318831 * @param {Object } options - 参数。
8832- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
8832+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
88338833 */
88348834class AddressMatchService_AddressMatchService extends CommonServiceBase_CommonServiceBase {
88358835
@@ -8928,7 +8928,7 @@ SuperMap.AddressMatchService = AddressMatchService_AddressMatchService;
89288928 * @extends {SuperMap.CommonServiceBase }
89298929 * @param {string } url - 服务地址。
89308930 * @param {Object } options - 参数。
8931- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
8931+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
89328932 */
89338933class services_AddressMatchService_AddressMatchService extends CommonServiceBase_CommonServiceBase {
89348934
@@ -9005,7 +9005,7 @@ SuperMap_SuperMap.REST.AddressMatchService = services_AddressMatchService_Addres
90059005 * @param {number } options.length - 服务访问地址数组长度。
90069006 * @param {SuperMap.ServerType } [options.serverType=SuperMap.ServerType.ISERVER] - 服务器类型,iServer|iPortal|Online。
90079007 * @param {Object } [options.eventListeners] - 事件监听器对象。有 processCompleted 属性可传入处理完成后的回调函数。processFailed 属性传入处理失败后的回调函数。
9008- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9008+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
90099009 */
90109010class ProcessingServiceBase_ProcessingServiceBase extends CommonServiceBase_CommonServiceBase {
90119011
@@ -9166,7 +9166,7 @@ SuperMap.ProcessingServiceBase = ProcessingServiceBase_ProcessingServiceBase;
91669166 * @extends {SuperMap.ProcessingServiceBase }
91679167 * @param {string } url -核密度分析服务地址。
91689168 * @param {Object } options - 交互服务时所需可选参数。
9169- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9169+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
91709170 */
91719171class KernelDensityJobsService_KernelDensityJobsService extends ProcessingServiceBase_ProcessingServiceBase {
91729172
@@ -9229,7 +9229,7 @@ SuperMap.KernelDensityJobsService = KernelDensityJobsService_KernelDensityJobsSe
92299229 * @extends {SuperMap.ProcessingServiceBase }
92309230 * @param {string } url - 单对象空间查询分析服务地址。
92319231 * @param {Object } options - 参数。
9232- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9232+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
92339233 */
92349234class SingleObjectQueryJobsService_SingleObjectQueryJobsService extends ProcessingServiceBase_ProcessingServiceBase {
92359235
@@ -9295,7 +9295,7 @@ SuperMap.SingleObjectQueryJobsService = SingleObjectQueryJobsService_SingleObjec
92959295 * @param {Object } [options.eventListeners] - 事件监听器对象。有 processCompleted 属性可传入处理完成后的回调函数。processFailed 属性传入处理失败后的回调函数。
92969296 * @param {number } options.index - 服务访问地址在数组中的位置。<br>
92979297 * @param {number } options.length - 服务访问地址数组长度。
9298- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9298+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
92999299 */
93009300class SummaryMeshJobsService_SummaryMeshJobsService extends ProcessingServiceBase_ProcessingServiceBase {
93019301
@@ -9357,7 +9357,7 @@ SuperMap.SummaryMeshJobsService = SummaryMeshJobsService_SummaryMeshJobsService;
93579357 * @extends {SuperMap.ProcessingServiceBase }
93589358 * @param {string } url - 区域汇总分析服务地址。
93599359 * @param {Object } options - 参数。
9360- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9360+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
93619361 */
93629362class SummaryRegionJobsService_SummaryRegionJobsService extends ProcessingServiceBase_ProcessingServiceBase {
93639363
@@ -9536,7 +9536,7 @@ SuperMap.VectorClipJobsParameter = VectorClipJobsParameter_VectorClipJobsParamet
95369536 * @extends {SuperMap.ProcessingServiceBase }
95379537 * @param {string } url -矢量裁剪分析服务地址。
95389538 * @param {Object } options - 交互服务时所需可选参数。
9539- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9539+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
95409540 */
95419541class VectorClipJobsService_VectorClipJobsService extends ProcessingServiceBase_ProcessingServiceBase {
95429542
@@ -9602,7 +9602,7 @@ SuperMap.VectorClipJobsService = VectorClipJobsService_VectorClipJobsService;
96029602 * @param {Object } [options.eventListeners] - 事件监听器对象。有 processCompleted 属性可传入处理完成后的回调函数。processFailed 属性传入处理失败后的回调函数。
96039603 * @param {number } options.index - 服务访问地址在数组中的位置。
96049604 * @param {number } options.length - 服务访问地址数组长度。
9605- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9605+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
96069606 */
96079607class OverlayGeoJobsService_OverlayGeoJobsService extends ProcessingServiceBase_ProcessingServiceBase {
96089608
@@ -9663,7 +9663,7 @@ SuperMap.OverlayGeoJobsService = OverlayGeoJobsService_OverlayGeoJobsService;
96639663 * @extends {SuperMap.ProcessingServiceBase }
96649664 * @param {string } url - 服务地址。
96659665 * @param {Object } options - 参数。
9666- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9666+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
96679667 */
96689668class BuffersAnalystJobsService_BuffersAnalystJobsService extends ProcessingServiceBase_ProcessingServiceBase {
96699669 constructor ( url , options ) {
@@ -9723,7 +9723,7 @@ SuperMap.BuffersAnalystJobsService = BuffersAnalystJobsService_BuffersAnalystJob
97239723 * @extends {SuperMap.ProcessingServiceBase }
97249724 * @param {string } url - 拓扑检查分析服务地址。
97259725 * @param {Object } options - 参数。
9726- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9726+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
97279727 */
97289728class TopologyValidatorJobsService_TopologyValidatorJobsService extends ProcessingServiceBase_ProcessingServiceBase {
97299729
@@ -9785,7 +9785,7 @@ SuperMap.TopologyValidatorJobsService = TopologyValidatorJobsService_TopologyVal
97859785 * @extends {SuperMap.ProcessingServiceBase }
97869786 * @param {string } url - 汇总统计分析服务地址。
97879787 * @param {Object } options - 参数。
9788- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9788+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
97899789 */
97909790class SummaryAttributesJobsService_SummaryAttributesJobsService extends ProcessingServiceBase_ProcessingServiceBase {
97919791
@@ -9862,7 +9862,7 @@ SuperMap.SummaryAttributesJobsService = SummaryAttributesJobsService_SummaryAttr
98629862 * })
98639863 * @param {string } url - 分布式分析服务地址。
98649864 * @param {Object } options - 可选参数。
9865- * @param {boolean } [options.crossOrigin] - 请求是否跨域 。
9865+ * @param {boolean } [options.crossOrigin] - 是否允许跨域请求 。
98669866 */
98679867class ProcessingService_ProcessingService extends CommonServiceBase_CommonServiceBase {
98689868
0 commit comments