Home Reference Source Repository
import ItsLayerCollection from 'webmapsjs/src/collections/ItsLayerCollection.js'
public class | source

ItsLayerCollection

Constructor Summary

Public Constructor
public

constructor(theMap: ol.Map, exclude: Array)

Create a collection of all ITS layers

Member Summary

Public Members
public get

Return the array of layers in this collection

public

map: *

Public Constructors

public constructor(theMap: ol.Map, exclude: Array) source

Create a collection of all ITS layers

Params:

NameTypeAttributeDescription
theMap ol.Map

the openlayers map

exclude Array
  • optional
  • default: []

array of Its layer identifiers to exclude

BLUE Bluetooth Detector - Bluetooth Detector CABINET Cabinets - The cabinets CCTV Camera - Traffic Cameras HUT Communication Hut - Communication Hut VAULT Communication Vault - The communication vaults HAR Highway Advisory Radio - Advisory Radios LIGHT Lighting - Lighting LOOP Loop Detectors - Loop Detectors DMS Message Board - Message Boards and Signs MICROWAVE Microwave Detector - Microwave Detectors PULL Pull Box - A pull box RWIS RWIS - Road weather information system GATE Ramp Gate - The ramp Gates METER Ramp Meter - The ramp meters SIGNAL Signal - Traffic Signal TOWER Tower - The towers TRENCH

Public Members

public get layers: Array<LayerItsInventory>: * source

Return the array of layers in this collection

Return:

Array<LayerItsInventory>

an array of layers

public map: * source