Click or drag to resize

Telogis.GeoBase.MapLayers.WMSTileLayer

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

MapLayers.WMSTileLayer inherits from MapLayers.TileLayer.

Creates a layer that is responsible for displaying displaying WMS overlay tiles from the tile server. This class can be used to display tiles generated from a single WMS source, or from two WMS sources composited together and served as a single set of tiles.

Constructor
NameDescription
MapLayers.WMSTileLayer(config)

Arguments

  • config (Object) - Configuration options for the MapLayers.WMSTileLayer.

    Properties
    NameTypeDescription
    primaryServerLayerString

    The name of the WMS source you wish to display, as defined in layers.config.

    Defaults to undefined.
    secondaryServerLayerString

    Optional. The name of a WMS source as defined in layers.config. The imagery from this source will be composited with the primary source on the GeoStream server, with the composite imagery sent as one set of tiles.

    Defaults to undefined.
Functions
NameDescription
setServerLayers (String primaryServerLayer, String secondaryServerLayer)

Sets the primary and secondary WMS sources to be rendered on this WMSTileLayer.

Arguments
  • primaryServerLayer (String) - The name of a WMS source, as defined in layers.config.

  • secondaryServerLayer (String) - Optional. The name of a WMS source, as defined in layers.config.