class
WebMapServiceImageryProvider extends Object with ImageryProvider
Instance Constructors
-
-
new
WebMapServiceImageryProvider()
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
var
defaultAlpha: Double
-
var
defaultBrightness: Double
-
var
defaultContrast: Double
-
var
defaultGamma: Double
-
var
defaultHue: Double
-
var
defaultSaturation: Double
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
var
errorEvent: Event
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getTileCredits(x: Double, y: Double, level: Double): Array[Credit]
-
var
hasAlphaChannel: Boolean
-
def
hasOwnProperty(v: String): Boolean
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
isPrototypeOf(v: Object): Boolean
-
var
layers: String
-
var
maximumLevel: Double
-
var
minimumLevel: Double
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
pickFeatures(x: Double, y: Double, level: Double, longitude: Double, latitude: Double): |[Promise[Array[ImageryLayerFeatureInfo]], Unit]
-
def
propertyIsEnumerable(v: String): Boolean
-
var
proxy: Proxy
-
var
ready: Boolean
-
var
readyPromise: Promise[Boolean]
-
-
def
requestImage(x: Double, y: Double, level: Double): |[Promise[|[HTMLImageElement, HTMLCanvasElement]], Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
var
tileHeight: Double
-
var
tileWidth: Double
-
-
def
toLocaleString(): String
-
def
toString(): String
-
var
url: String
-
def
valueOf(): Any
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Object
Inherited from Any
Inherited from AnyRef
Inherited from Any
Provides tiled imagery hosted by a Web Map Service (WMS) server.
alias WebMapServiceImageryProvider
- The options object takes the following properties - {String} options.url The URL of the WMS service. The URL supports the same keywords as the UrlTemplateImageryProvider - {String} options.layers The layers to include, separated by commas. - {Object} [options.parameters=WebMapServiceImageryProvider.DefaultParameters] Additional parameters to pass to the WMS server in the GetMap URL. - {Object} [options.getFeatureInfoParameters=WebMapServiceImageryProvider.GetFeatureInfoDefaultParameters] Additional parameters to pass to the WMS server in the GetFeatureInfo URL. - {Boolean} [options.enablePickFeatures=true] If true, WebMapServiceImageryProvider#pickFeatures will invoke the GetFeatureInfo operation on the WMS server and return the features included in the response. If false, WebMapServiceImageryProvider#pickFeatures will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you know your WMS server does not support GetFeatureInfo or if you don't want this provider's features to be pickable. Note that this can be dynamically overridden by modifying the WebMapServiceImageryProvider#enablePickFeatures property. - {GetFeatureInfoFormat[]} [options.getFeatureInfoFormats=WebMapServiceImageryProvider.DefaultGetFeatureInfoFormats] The formats in which to try WMS GetFeatureInfo requests. - {Rectangle} [options.rectangle=Rectangle.MAX_VALUE] The rectangle of the layer. - {TilingScheme} [options.tilingScheme=new GeographicTilingScheme()] The tiling scheme to use to divide the world into tiles. - {Ellipsoid} [options.ellipsoid] The ellipsoid. If the tilingScheme is specified, this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither parameter is specified, the WGS84 ellipsoid is used. - {Number} [options.tileWidth=256] The width of each tile in pixels. - {Number} [options.tileHeight=256] The height of each tile in pixels. - {Number} [options.minimumLevel=0] The minimum level-of-detail supported by the imagery provider. Take care when specifying this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely to result in rendering problems. - {Number} [options.maximumLevel] The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit. If not specified, there is no limit. - {Credit|String} [options.credit] A credit for the data source, which is displayed on the canvas. - {Object} [options.proxy] A proxy to use for requests. This object is expected to have a getURL function which returns the proxied URL, if needed. - {String|String[]} [options.subdomains='abc'] The subdomains to use for the
{s}
placeholder in the URL template. If this parameter is a single string, each character in the string is a subdomain. If it is an array, each element in the array is a subdomain.var provider = new Cesium.WebMapServiceImageryProvider({ url : 'https://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer', layers : '0', proxy: new Cesium.DefaultProxy('/proxy/') }); viewer.imageryLayers.addImageryProvider(provider);
Resource Sharing
Server REST API
UrlTemplateImageryProvider
WebMapTileServiceImageryProvider
createTileMapServiceImageryProvider
SingleTileImageryProvider
createOpenStreetMapImageryProvider
GoogleEarthImageryProvider
BingMapsImageryProvider
ArcGisMapServerImageryProvider