new ServerInfo(type, options)
Usage
import { ServerInfo } from '@supermapgis/iclient-mapboxgl';
new ServerInfo(type, options);<script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script>
<script>
new mapboxgl.supermap.ServerInfo({paramsNames});
// 弃用的写法
new SuperMap.ServerInfo(type, options);
</script>
common/security/ServerInfo.js, line 7
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
服务器类型。 |
||||||||||||
options |
Object |
参数。
|
API Relations
As method parameter:
SecurityManager.registerServers.
Returned by:
SecurityManager.getServerInfo.
Members
-
keyServiceUrlstring
-
如:http://supermapiserver:8092/web/mycontent/keys/register.json。
-
serverstring
-
服务器地址。
-
tokenServiceUrlstring
-
如:http://supermapiserver:8090/iserver/services/security/tokens.json。
-
typeServerType
-
服务器类型。