English中文

DefaultProxy

new Cesium.DefaultProxy(proxy)

一个简单的代理,它将所需的资源作为唯一的查询参数附加到给定的代理 URL。 A simple proxy that appends the desired resource as the sole query parameter to the given proxy URL.
名称 Name 类型 Type 说明 Description
proxy string 将用于请求所有资源的代理 URL。 The proxy URL that will be used to requests all resources.

继承 Extends

方法 Methods

getURL(resource)string

获取用于请求给定资源的最终 URL。 Get the final URL to use to request a given resource.
名称 Name 类型 Type 说明 Description
resource string 要请求的资源。 The resource to request.
返回: Returns:
代理资源 proxied resource
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.