Class: iManagerServiceBase

SuperMap.iManagerServiceBase

The iManagerServiceBase class(Classes with privileges need to be implemented).

new SuperMap.iManagerServiceBase(url, options)

iManagerServiceBase.js, line 5
Name Type Description
url string

IManager home page address, such as:http://localhost:8390/imanager.

options Object

Service options.

Name Type Description
crossOrigin boolean optional

Whether to allow cross-domain requests.

headers Object optional

Request header.

Methods

request(url, method, requestOptions, param){Promise}

iManagerServiceBase.js, line 24

send request.

Name Type Default Description
url string

The url.

method string 'GET' optional

method of the requests.

requestOptions Object optional

The options of the requests.

param Object

The parameter of the requests.

Returns:
Type Description
Promise The promise object.