new SuperMap.Online()
Online.js, line 6
Example
var online=new SuperMap.Online();
var services = online.queryDatas(param);
service.then(function(services){
var service= services[0];
service.updateDataInfo();
})
Methods
-
load(){Promise}
Online.js, line 32 -
Load online to verify that online is available.
Returns:
Type Description Promise Returns the Promise object that contains the result of the web request. -
login()
Online.js, line 43 -
Load online.
-
queryDatas(parameter){Promise}
Online.js, line 51 -
Query Online "My Data" "My Data" service (login status required), and return to the operational client
Name Type Description parameter
SuperMap.OnlineQueryDatasParameter myDatas service resource query parameter.
Returns:
Type Description Promise Returns a Promise object that contains all the data service information.