new SuperMap.iManager(serviceUrl)
iManager.js, line 5
Name | Type | Description |
---|---|---|
serviceUrl |
string |
The iManager home page url. |
Methods
-
createIPortal(createParam){Promise}
iManager.js, line 37 -
Create iPortal.
Name Type Description createParam
SuperMap.iManagerCreateNodeParam The iManagerCreateNodeParam class.
Returns:
Type Description Promise The Promise object. -
createIServer(createParam){Promise}
iManager.js, line 27 -
Create iServer.
Name Type Description createParam
SuperMap.iManagerCreateNodeParam The iManagerCreateNodeParam class.
Returns:
Type Description Promise The Promise object. -
iPortalList(){Promise}
iManager.js, line 56 -
Get all the created iPortal.
Returns:
Type Description Promise The Promise object. -
iServerList(){Promise}
iManager.js, line 47 -
Get all the created iServer.
Returns:
Type Description Promise The Promise object. -
load(){Promise}
iManager.js, line 18 -
Get all the service interfaces to verify whether the authorization is logged in.
Returns:
Type Description Promise The Promise object. -
startNodes(ids){Promise}
iManager.js, line 65 -
Start the node.
Name Type Description ids
Array The ID array that needs to start the node. e.g:['1'].
Returns:
Type Description Promise The Promise object. -
stopNodes(ids){Promise}
iManager.js, line 75 -
Stop the node.
Name Type Description ids
Array The ID array that needs to stop the node. e.g:['1'].
Returns:
Type Description Promise The Promise object.