new mapboxgl.supermap.SpatialAnalystService(url, options)
mapboxgl/services/SpatialAnalystService.js, line 19
Name | Type | Description |
---|---|---|
url |
string |
服务的访问地址。 |
options |
Object |
交互服务时所需可选参数。 |
Example
new mapboxgl.supermap.SpatialAnalystService(url)
.bufferAnalysis(params,function(result){
//doSomething
})
Extends
- mapboxgl.supermap.ServiceBase
Methods
-
bufferAnalysis(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 58 -
缓冲区分析
Name Type Description params
SuperMap.DatasetBufferAnalystParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
densityAnalysis(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 79 -
点密度分析
Name Type Description params
SuperMap.DensityKernelAnalystParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
generateSpatialData(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 100 -
动态分段分析
Name Type Description params
SuperMap.GenerateSpatialDataParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
geoRelationAnalysis(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 121 -
空间关系分析
Name Type Description params
SuperMap.GeoRelationAnalystParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
getAreaSolarRadiationResult(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 37 -
地区太阳辐射
Name Type Description params
SuperMap.mapboxgl 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
interpolationAnalysis(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 142 -
插值分析
Name Type Description params
SuperMap.InterpolationRBFAnalystParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
mathExpressionAnalysis(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 163 -
栅格代数运算
Name Type Description params
SuperMap.MathExpressionAnalysisParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
overlayAnalysis(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 184 -
叠加分析
Name Type Description params
SuperMap.DatasetOverlayAnalystParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
routeCalculateMeasure(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 205 -
路由测量计算
Name Type Description params
SuperMap.RouteCalculateMeasureParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
routeLocate(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 226 -
路由定位
Name Type Description params
SuperMap.RouteLocatorParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
surfaceAnalysis(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 247 -
表面分析
Name Type Description params
SuperMap.DatasetSurfaceAnalystParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
terrainCurvatureCalculate(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 268 -
地形曲率计算
Name Type Description params
SuperMap.TerrainCurvatureCalculationParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型
-
thiessenAnalysis(params, callback, resultFormat)
mapboxgl/services/SpatialAnalystService.js, line 289 -
泰森多边形分析
Name Type Description params
SuperMap.DatasetThiessenAnalystParameters 查询相关参数类
callback
function 回调函数
resultFormat
SuperMap.DataFormat 返回结果类型