Class: exports

exports(mainMapInstance)

Class for manage the load/display selected layers as a single OpenLayers ImageWMS layer

Constructor

new exports(mainMapInstance)

Initialize the ImageWMS layer
Parameters:
Name Type Description
mainMapInstance map the main map instance
Source:

Members

_WMSRatio :number

the WMS Ratio.
Type:
  • number
Source:

_baseLayers :Array.<String>

list of base layers names
Type:
  • Array.<String>
Source:

_filterTokens :Array.<String>

list of filter token parameter on the current single layer displayed on map
Type:
  • Array.<String>
Source:

_format :string

the image format
Type:
  • string
Source:
To Do:
  • could the format be readed from project config too?

(nullable) _layer :ImageLayer.<ImageWMS>

the single WMS layer instance
Type:
  • ImageLayer.<ImageWMS>
Source:

_layerStyles :Array.<String>

list of layers styles on the current single layer displayed on map
Type:
  • Array.<String>
Source:

_layersName :Array.<String>

list of layers names on the current single layer displayed on map
Type:
  • Array.<String>
Source:

_layersWmsName :Array.<String>

list of layers wms names on the current single layer displayed on map
Type:
  • Array.<String>
Source:

_legendOff :Array.<String>

list of legendOff parameter on the current single layer displayed on map
Type:
  • Array.<String>
Source:

_legendOn :Array.<String>

list of legendOn parameter on the current single layer displayed on map
Type:
  • Array.<String>
Source:

_mainMapInstance :map

the map instance
Type:
  • map
Source:

_mapLayers :Array.<String>

list of all map layers names
Type:
  • Array.<String>
Source:

_maxScale :number

maximum map scale
Type:
  • number
Source:

_metersPerUnit :number

meters per units
Type:
  • number
Source:

_minScale :number

minimun map scale
Type:
  • number
Source:

_orderedLayers :Array.<String>

ordered layers
Type:
  • Array.<String>
Source:

_selectionTokens :Array.<String>

list of selection token parameter on the current single layer displayed on map
Type:
  • Array.<String>
Source:

_singleWMSLayerList :Map.<string, (MapLayerState|BaseLayerState)>

all the layers that should be inluded in the single ImageWMS. Contains layers names with their states sorted by layerOrder (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)
Type:
  • Map.<string, (MapLayerState|BaseLayerState)>
Source:

(nullable) _timeout :function

timeout function to manage the image layer reload
Type:
  • function
Source: