DefaultProxy

new Cesium.DefaultProxy(proxy)

一个简单的代理,将所需的资源作为唯一的查询参数附加到给定的代理 URL 上。
Name Type Description
proxy string 将用于请求所有资源的代理 URL。

Extends

Methods

getURL(resource)string

获取用于请求给定资源的最终 URL。
Name Type Description
resource string 要请求的资源。
Returns:
代理资源的 URL。
需要帮助?获得答案的最快方法是来自社区和团队 Cesium Forum.