Options
All
  • Public
  • Public/Protected
  • All
Menu

Constructor options for URLTileSetModelConstructorOptions.

Hierarchy

Overview

Properties

baseURL

baseURL: string

The base URL for this tileset. See UrlTileSetModel.getTileURL for details on how this value is used.

bounds

bounds: Bounds

The spatial extent for this tileset. These Bounds.reference must be the same as reference.

Optional credentials

credentials: boolean

Whether credentials should be included with every HTTP request.

Optional dataType

dataType: RasterDataType

Configures the layer's RasterDataType.

The ELEVATION raster data type will only have an effect in a 3D map, and acts as a way of representing 3D terrain visually. The ELEVATION dataType will not be visualized as a colorized heightmap as it only affects the 3D height values of the surface of the earth.

The default is IMAGE.

Optional level0Columns

level0Columns: number

The number of tile columns at the coarsest level. The default value is 1.

Optional level0Rows

level0Rows: number

The number of tile rows at the coarsest level, the default value is 1.

Optional levelCount

levelCount: number

The number of levels contained in this tileset. The default value is 22.

reference

The spatial reference for this tileset.

When visualizing the model on a WebGL map, any reference is allowed. LuciadRIA will warp your source raster data to the map's reference.

When visualizing the model on a non-WebGL maps, this reference must be the same as the Map.reference because LuciadRIA cannot warp tiles to another projection.

However, if the map is visualized by means of an equidistant cylindrical projection, you can still use geodetic references or different equidistant cylindrical grid references. In such cases, the required warping is limited to the scaling of tiles, which is something a web browser can do efficiently.

Optional requestHeaders

requestHeaders: {} | null

An object literal that represents headers (as a key-value map) to send with each HTTP request. If set (and not empty), an XHR with the specified headers will be performed instead of creating an Image.

Optional requestParameters

requestParameters: {} | null

An object literal that represents URL parameters (as a key-value map) to send with each HTTP request. If set (and not empty), an XHR with the specified query parameters will be performed instead of creating an Image.

since

2021.0

Optional samplingMode

samplingMode: RasterSamplingMode

Configures the layer's RasterSamplingMode, corresponding to the setting representation of the underlying raster data.

For IMAGE dataType, the default sampling mode is AREA. For ELEVATION dataType, the default is POINT.

For elevation, samplingMode POINT is recommended for performance and accuracy.

Optional subdomains

subdomains: string[]

When specified, getTileURL will replace the {s} pattern in baseURL with values from subdomains. This will cause tile requests to be spread across different subdomains. Browsers limit the amount of connections to a single domain. Using subdomains avoids hitting this limit. By default, it's empty.

Optional tileHeight

tileHeight: number

The height of each individual tile in pixels, 256 will be used if it's not defined.

The tileWidth and tileHeight must be the same value.

Optional tileWidth

tileWidth: number

The width of each individual tile in pixels, 256 will be used if it's not defined.

The tileWidth and tileHeight must be the same value.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method