DefaultProxy

new Cesium.DefaultProxy(proxy)

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

Extends

Methods

getURL(resource)string

获取用于请求给定资源的最终 URL。
Name Type Description
resource string 要请求的资源。
Returns:
代理后的资源
需要帮助?获取答案的最快方式是在 Cesium 论坛 上向社区和团队提问。