new mapboxgl.supermap.ProcessingService(url, options)
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Example
new mapboxgl.supermap.ProcessingService(url,options)
.getKernelDensityJobs(function(result){
//doSomething
})
Extends
Events
-
inherited initialized
ServiceBase.js, line 23 -
Triggered after the constructor construct succeeds.
Properties:
Name Type Description thisObject This object.
Methods
-
addKernelDensityJob(params, callback, seconds, resultFormat)
ProcessingService.js, line 98 -
Get a job of kernel density analysis.
Name Type Default Description paramsSuperMap.KernelDensityJobParameter Create a request parameter for spatial analysis.
callbackRequestCallback The callback of result data returned by the server side.
secondsnumber 1000 optional After the creation begins, the time interval for creating a successful result is obtained.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
addQueryJob(params, callback, seconds, resultFormat)
ProcessingService.js, line 268 -
Add a job of single object query analysis.
Name Type Default Description paramsSuperMap.SingleObjectQueryJobsParameter The SingleObjectQueryJobsParameter class.
callbackRequestCallback The callback of result data returned by the server side.
secondsnumber 1000 optional Time interval for obtaining successful results after the creation.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
addSummaryMeshJob(params, callback, seconds, resultFormat)
ProcessingService.js, line 183 -
Add a job of summary mesh analysis.
Name Type Default Description paramsSuperMap.SummaryMeshJobParameter The SummaryMeshJobParameter class.
callbackRequestCallback The callback of result data returned by the server side.
secondsnumber 1000 optional Time interval for obtaining successful results after the creation.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
addSummaryRegionJob(params, callback, seconds, resultFormat)
ProcessingService.js, line 353 -
Add a job of summary region analysis.
Name Type Default Description paramsSuperMap.SummaryRegionJobParameter The SummaryRegionJobParameter class.
callbackRequestCallback The callback of result data returned by the server side.
secondsnumber 1000 optional Time interval for obtaining successful results after the creation.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
addVectorClipJob(params, callback, seconds, resultFormat)
ProcessingService.js, line 438 -
Add a job of vector clip analysis.
Name Type Default Description paramsSuperMap.VectorClipJobsParameter The VectorClipJobsParameter class.
callbackRequestCallback The callback of result data returned by the server side.
secondsnumber 1000 optional Time interval for obtaining successful results after the creation.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getKernelDensityJob(id, callback, resultFormat)
ProcessingService.js, line 74 -
Get a job of kernel density analysis.
Name Type Default Description idstring id of kernel density analysis.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getKernelDensityJobs(callback, resultFormat)
ProcessingService.js, line 51 -
Get jobs of kernel density analysis.
Name Type Default Description callbackRequestCallback The callback of result data returned by the server side.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getKernelDensityJobState(id){Object}
ProcessingService.js, line 126 -
Get a job of kernel density analysis.
Name Type Description idstring id of kernel density analysis.
Returns:
Type Description Object The state of density analysis. -
getQueryJob(id, callback, resultFormat)
ProcessingService.js, line 244 -
Get a job of single object query analysis.
Name Type Default Description idstring id of single object query analysis.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getQueryJobs(callback, resultFormat)
ProcessingService.js, line 221 -
Get jobs of single object query analysis.
Name Type Default Description callbackRequestCallback The callback of result data returned by the server side.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getQueryJobState(id){Object}
ProcessingService.js, line 296 -
Get the state of single object query analysis.
Name Type Description idstring id of single object query analysis.
Returns:
Type Description Object The state of single object query analysis. -
getSummaryMeshJob(id, callback, resultFormat)
ProcessingService.js, line 159 -
Get a job of summary mesh analysis.
Name Type Default Description idstring id of summary mesh analysis.
callbackfunction The callback of result data returned by the server side.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getSummaryMeshJobs(callback, resultFormat)
ProcessingService.js, line 136 -
Get jobs of summary mesh analysis.
Name Type Default Description callbackRequestCallback The callback of result data returned by the server side.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getSummaryMeshJobState(id){Object}
ProcessingService.js, line 211 -
Get the state of summary mesh analysis.
Name Type Description idstring id of summary mesh analysis.
Returns:
Type Description Object The state of summary mesh analysis. -
getSummaryRegionJob(id, callback, resultFormat)
ProcessingService.js, line 329 -
Get a job of summary region analysis.
Name Type Default Description idstring id of summary region analysis.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getSummaryRegionJobs(callback, resultFormat)
ProcessingService.js, line 306 -
Get jobs of summary region analysis.
Name Type Default Description callbackRequestCallback The callback of result data returned by the server side.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getSummaryRegionJobState(id){Object}
ProcessingService.js, line 381 -
Get the state of summary region analysis.
Name Type Description idstring id of summary region analysis.
Returns:
Type Description Object The state of summary region analysis. -
getVectorClipJob(id, callback, resultFormat)
ProcessingService.js, line 414 -
Get a job of vector clip analysis.
Name Type Default Description idstring id of vector clip analysis.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getVectorClipJobs(callback, resultFormat)
ProcessingService.js, line 391 -
Get jobs of vector clip analysis.
Name Type Default Description callbackRequestCallback The callback of result data returned by the server side.
resultFormatSuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getVectorClipJobState(id){Object}
ProcessingService.js, line 467 -
Get the state of vector clip analysis.
Name Type Description idnumber id of vector clip analysis.
Returns:
Type Description Object The state of vector clip analysis.