<< Click to Display Table of Contents >>
new sg.tasks.QueryTask(url, layer)
Description
create a new QueryTask object.
Position
Symbol.js
Parameters
Parameter |
Type |
Description |
url |
String |
URL of SuperGIS Server |
layer |
String |
layer name |
Properties
Properties |
Type |
Description |
url |
String |
URL of SuperGIS Server |
layer |
String |
layer name |
Methods
Methods |
Type |
Description |
||||||||||||
execute(parameters, callback, errBack) |
paramters:sg.tasks.Query callback:sg.tasks.QueryTask~queryCallback errBack:sg.tasks.QueryTask~errorCallback |
perform query task
|
Type Definitions
Type Definition |
Type |
Description |
errorCallback(error) |
Error |
error information |
queryCallback(featureSet) |
sg.tasks.FeatureSet |
query result |
Events
Event |
Description |
complete |
triggered when query completely |
error |
triggered when query failed |
Example
|
©2015 Supergeo Technologies Inc.