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。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.