Class: ServerInfo

ServerInfo

服务器信息(安全相关),包含服务器类型,服务地址,token服务地址等

new SuperMap.ServerInfo(type, options)

common/security/ServerInfo.js, line 3
Name Type Description
type string

服务器类型

options Object

服务器信息相关可选参数。如:
server - {string} 服务器地址,如:http://supermapiserver:8090/iserver
tokenServiceUrl - {string} 非必填,如:http://supermapiserver:8090/iserver/services/security/tokens.json
keyServiceUrl - {string} 非必填,如:http://supermapiserver:8092/web/mycontent/keys/register.json

Members

keyServiceUrlstring

非必填。如:http://supermapiserver:8092/web/mycontent/keys/register.json

serverstring

必填,服务器地址

tokenServiceUrlstring

非必填,如:http://supermapiserver:8090/iserver/services/security/tokens.json

typeServerType

服务器类型