ConstructorOptions
Initialization options for the UrlTemplateImageryProvider constructor
See also
Properties
Allow to replace custom keywords in the URL template. The object must have strings as keys and functions as values.
If true, UrlTemplateImageryProvider.pickFeatures will request the pickFeaturesUrl
and attempt to interpret the features included in the response. If false, UrlTemplateImageryProvider.pickFeatures will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you know your data source does not support picking features or if you don't want this provider's features to be pickable. Note that this can be dynamically overridden by modifying the UriTemplateImageryProvider.enablePickFeatures property. Default value - true
The formats in which to get feature information at a specific location when UrlTemplateImageryProvider.pickFeatures is invoked. If this parameter is not specified, feature picking is disabled.
true if the images provided by this imagery provider include an alpha channel; otherwise, false. If this property is false, an alpha channel, if present, will be ignored. If this property is true, any images without an alpha channel will be treated as if their alpha is 1.0 everywhere. When this property is false, memory usage and texture upload time are potentially reduced. Default value - true
The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit.
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. Default value - 0
The URL template to use to pick features. If this property is not specified, UrlTemplateImageryProvider.pickFeatures will immediately returned undefined, indicating no features picked. The URL template supports all of the keywords supported by the url
parameter, plus the following:
The rectangle, in radians, covered by the image. Default value - Rectangle.MAX_VALUE
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. Default value - 'abc'
A policy for discarding tile images according to some criteria
Pixel height of image tiles. Default value - 256
The tiling scheme specifying how the ellipsoidal surface is broken into tiles. If this parameter is not provided, a WebMercatorTilingScheme is used. Default value - WebMercatorTilingScheme
Gets the URL scheme zero padding for each tile coordinate. The format is '000' where each coordinate will be padded on the left with zeros to match the width of the passed string of zeros. e.g. Setting: urlSchemeZeroPadding : { '{x}' : '0000'} will cause an 'x' value of 12 to return the string '0012' for {x} in the generated URL. It the passed object has the following keywords: