English | 简体中文

DefaultProxy

new Cesium.DefaultProxy(proxy)

A simple proxy that appends the desired resource as the sole query parameter to the given proxy URL.
Name Type Description
proxy string The proxy URL that will be used to requests all resources.

Extends

Methods

getURL(resource)string

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.