DefaultProxy

new Cesium.DefaultProxy(proxy)

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

Extends

Methods

getURL(resource)string

获取用于请求给定资源的最终 URL。
Name Type Description
resource string 要请求的资源。
Returns:
代理资源
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.