Class: KeyServiceParameter

ol.supermap.KeyServiceParameter

Key application parameters.

new ol.supermap.KeyServiceParameter(options)

KeyServiceParameter.js, line 5
Name Type Description
options Object

The optional parameters. 。

Name Type Default Description
name string

Apply for the name of the service.

serviceIds number

ID of the service.

clientType ol.supermap.ClientType ol.supermap.ClientType.SERVER optional

The type of the client.

limitation number

Term of validity.

Methods

toJSON(){Object}

KeyServiceParameter.js, line 26

Converting to JSON objects.

Returns:
Type Description
Object The JSON object of the parameter.