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 this
Object This object.
Methods
-
addKernelDensityJob(params, callback, seconds, resultFormat)
ProcessingService.js, line 98 -
Get a job of kernel density analysis.
Name Type Default Description params
SuperMap.KernelDensityJobParameter Create a request parameter for spatial analysis.
callback
RequestCallback The callback of result data returned by the server side.
seconds
number 1000 optional After the creation begins, the time interval for creating a successful result is obtained.
resultFormat
SuperMap.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 params
SuperMap.SingleObjectQueryJobsParameter The SingleObjectQueryJobsParameter class.
callback
RequestCallback The callback of result data returned by the server side.
seconds
number 1000 optional Time interval for obtaining successful results after the creation.
resultFormat
SuperMap.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 params
SuperMap.SummaryMeshJobParameter The SummaryMeshJobParameter class.
callback
RequestCallback The callback of result data returned by the server side.
seconds
number 1000 optional Time interval for obtaining successful results after the creation.
resultFormat
SuperMap.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 params
SuperMap.SummaryRegionJobParameter The SummaryRegionJobParameter class.
callback
RequestCallback The callback of result data returned by the server side.
seconds
number 1000 optional Time interval for obtaining successful results after the creation.
resultFormat
SuperMap.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 params
SuperMap.VectorClipJobsParameter The VectorClipJobsParameter class.
callback
RequestCallback The callback of result data returned by the server side.
seconds
number 1000 optional Time interval for obtaining successful results after the creation.
resultFormat
SuperMap.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 id
string id of kernel density analysis.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.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 callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.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 id
string 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 id
string id of single object query analysis.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.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 callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.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 id
string 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 id
string id of summary mesh analysis.
callback
function The callback of result data returned by the server side.
resultFormat
SuperMap.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 callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.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 id
string 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 id
string id of summary region analysis.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.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 callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.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 id
string 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 id
string id of vector clip analysis.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.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 callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.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 id
number id of vector clip analysis.
Returns:
Type Description Object The state of vector clip analysis.