Parameter Description of Plot Service Provider |
The REST plot service provider encapsulates the plotting service function obtained from the remote SuperMap iServer dynamic plotting REST service. The parameters to be set by the user and their descriptions are shown in the following table.
Table 1 REST plot service Provider Parameters
Parameter name | Description | ||
Common info | Provider name | 【required parameter】 Uniquely identifies the service providers. The default name prefix is "plotProvider-". |
|
Basic setting | REST service root URL | 【required parameter】 The remote SuperMap iServer dynamically plots the root address of the REST service, such as the http://localhost:8090/iserver/services/plot-JY/rest. |
|
Advanced setting | Token or API-Key | When security mechanisms are enabled, accessing protected REST resources requires providing a Token or API-Key. | |
Enable caching | enable caching. The default is true. After the cache is enabled, the REST request for the resource will be cached locally, and the same request will be read directly in the cache next time, without sending it to the server. | ||
Cache policy | maximum disk capacity | maximum disk capacity. The unit is MB, and the default size is 2048 MB. | |
survival time | Set the upper limit of cache survival time, and the cache will be cleared automatically after timeout. It is calculated from the creation of the record, and the unit is second. The default is 0, which means that the cache is permanently alive. | ||
idle time | Set the upper limit of the idle time of the cache, and the cache will be cleared automatically after timeout. Calculated from the last time it was accessed, in seconds. The default is 0, which means the cache is permanently alive. |