Class: SensorLayer

Core.ModelList.Layer SensorLayer

SensorLayer

new SensorLayer()

modules/core/modelList/layer/sensor.js, line 90
This layer type requests its data from the SensorThinsgAPI (STA). The layer reacts to changes of the own features triggered by the STA. The technology used therefore is WebSocketSecure (wss) and the MessageQueuingTelemetryTransport(MQTT)-Protocol. This makes it possible to update vector-data in the application without reloading the entire page. The newest observation data of each attribute is set as follows: name = If "datastream.properties.type" is not undefined, take this. Otherwise take the value in "datastream.unitOfMeasurment.name" The attribute key is "dataStream_[dataStreamId]_[name]". All available dataStreams, their ids, their latest observation and values are separately aggregated and stored (separated by " | ") in the following attributes: dataStreamId, dataStreamName, dataStreamValue, dataStreamPhenomenonTime The "name" and the "description" of each thing are also taken as "properties".
Properties:
Name Type Default Description
url String the url to initialiy call the SensorThings-API with
epsg String "EPSG:4326" EPSG-Code for incoming sensor geometries.
utc String "+1" UTC-Timezone to calulate correct time.
timezone String "Europe/Berlin" Sensors origin timezone name.
version String "1.0" Version the SensorThingsAPI is requested.
useProxy Boolean false Attribute to request the URL via a reverse proxy.
Fires:
Listens to Events:

Extends

Members

inner,constanturl

Deprecated
  • in the next major-release! useProxy getProxyUrl()

    Methods

    addDatastreamProperties(thingProperties, dataStreamProperties){void}

    modules/core/modelList/layer/sensor.js, line 615
    Adds data from datastream to thing with pipe separator.
    Name Type Description
    thingProperties Object The properties from thing.
    dataStreamProperties Object The properties from dataStream.

    aggregateDataStreamPhenomenonTime(feature){ol/feature}

    modules/core/modelList/layer/sensor.js, line 353
    Aggregates the phenomenonTimes and adds them as property "dataStreamPhenomenonTime".
    Name Type Description
    feature ol/feature OL-feature.
    Returns:
    Feature with new attribute "dataStreamPhenomenonTime".

    aggregateDataStreamValue(feature){ol/feature}

    modules/core/modelList/layer/sensor.js, line 327
    Aggregates the values and adds them as property "dataStreamValues".
    Name Type Description
    feature ol/feature OL-feature.
    Returns:
    Feature with new attribute "dataStreamValues".

    aggregateProperties(thingArray, keys){Object}

    modules/core/modelList/layer/sensor.js, line 828
    Aggregates the properties of the given keys and joins them by " | "
    Name Type Description
    thingArray Object Array of things to aggregate
    keys Array.<String> Keys to aggregate
    Returns:
    aggregatedProperties

    aggregatePropertiesOfThings(allThings){Array.<Object>}

    modules/core/modelList/layer/sensor.js, line 739
    Aggregates the properties of the things.
    Name Type Description
    allThings Array.<Object> all things
    Returns:
    aggregatedThings

    buildSensorThingsUrl(url, version, urlParams){String}

    modules/core/modelList/layer/sensor.js, line 659
    build SensorThings URL
    Name Type Description
    url String url to service
    version String version from service
    urlParams String url parameters
    Returns:
    to request sensorThings

    changedConditions(){void}

    modules/core/modelList/layer/sensor.js, line 122
    Start or stop subscription according to its conditions. Because of usage of serveral listeners it's necessary to create a "isSubscribed" flag to prevent multiple executions.

    changeSensordataRoot(sensordata, datastreamAttributes, thingAttributes){Array.<Object>}

    modules/core/modelList/layer/sensor.js, line 495
    Changes the root in the sensordata from datastream to thing.
    Name Type Description
    sensordata Array.<Object> the sensordata with datastream as root.
    datastreamAttributes Array.<String> The datastreamattributes.
    thingAttributes Array.<String> The thing attributes.
    Returns:
    sensordata with things as root.

    changeTimeZone(phenomenonTime, utcOffset){string}

    modules/core/modelList/layer/sensor.js, line 190
    Wandle ein Datum in eine andere Zeitzone um und liefere ein formatiertes Datum zurück.
    Name Type Description
    phenomenonTime string ISO-Zeitstempel (UTC).
    utcOffset string Zeitzonenoffset als String, z. B. "+1".
    Returns:
    Zeitstring oder leerer String.

    checkConditionsForSubscription(){void}

    modules/core/modelList/layer/sensor.js, line 157
    Check if layer is whithin range and selected to determine if all conditions are fullfilled.

    inherited checkForScale(options){void}

    modules/core/modelList/layer/model.js, line 125
    Prüft anhand der Scale ob der Layer sichtbar ist oder nicht
    Name Type Description
    options object -

    inherited checkIfDataLayer(dataLayerId, layerId){Boolean}

    modules/core/modelList/layer/model.js, line 112
    Checks if dataLayerId matches the given layer id.
    Name Type Description
    dataLayerId String Id of dataLayer whose features are requested.
    layerId String Id of current layer.
    Returns:
    flag if dataLayerId matches given layer id.

    clearLayerSource(){Void}

    modules/core/modelList/layer/sensor.js, line 1428
    clears all open layer features hold in the VectorSource

    createAssociationObject(array){Object}

    modules/core/modelList/layer/sensor.js, line 526
    Converts elments of an array to keys in an object with values to be true.
    Name Type Default Description
    array Array.<String> [] optional Array with values to be convert to an object.
    Returns:
    object with values of the given array as keys.

    createClusterLayerSource(){void}

    modules/core/modelList/layer/sensor.js, line 234
    Creates ClusterLayerSource.

    createFeatures(sensorData, epsg){Ol.Features}

    modules/core/modelList/layer/sensor.js, line 289
    draw points on the map
    Name Type Description
    sensorData array sensor with location and properties
    epsg Sting from Sensortype
    Returns:
    to draw

    createLayer(){void}

    modules/core/modelList/layer/sensor.js, line 207
    Creates the layer.
    Listens to Events:

    createLayerSource(){void}

    modules/core/modelList/layer/sensor.js, line 177
    Creates the vectorSource.

    createLegendURL(){void}

    modules/core/modelList/layer/sensor.js, line 1393
    Creates the legend
    Fires:

    createMqttConnectionToSensorThings(features){void}

    modules/core/modelList/layer/sensor.js, line 1108
    create connection to a given MQTT-Broker this must be passes this as a context to call the updateFromMqtt function
    Name Type Description
    features array features with DatastreamID

    inherited decTransparency(){void}

    modules/core/modelList/layer/model.js, line 400
    Decreases layer transparency by 10 percent

    enlargeExtent(extent, factor){ol/extent}

    modules/core/modelList/layer/sensor.js, line 1233
    enlarge given extent by factor
    Name Type Description
    extent ol/extent extent to enlarge
    factor float factor to enlarge extent

    excludeDataStreamKeys(keys, startsWithString){Array.<String>}

    modules/core/modelList/layer/sensor.js, line 810
    Excludes the keys starting with the given startsWithString
    Name Type Description
    keys Array.<String> keys
    startsWithString String startsWithString
    Returns:
    reducedKeys

    inherited featuresLoaded(features){void}

    modules/core/modelList/layer/model.js, line 140
    Triggers event if vector features are loaded
    Name Type Description
    features Array.<ol.Feature> Loaded vector features
    Fires:

    inherited featureUpdated(feature){void}

    modules/core/modelList/layer/model.js, line 245
    Triggers event if vector feature is loaded
    Name Type Description
    feature ol.Feature Updated vector feature
    Fires:

    flattenArray(array){*}

    modules/core/modelList/layer/sensor.js, line 800
    flattenArray creates a new array with all sub-array elements concatenated
    Name Type Description
    array * the array to flatten its sub-arrays or anything else
    Returns:
    flattened array if an array was given, the untouched input otherwise

    getDataStreamIds(features){Array.<String>}

    modules/core/modelList/layer/sensor.js, line 1348
    get DataStreamIds for this layer - using dataStreamId property with expected pipe delimitors
    Name Type Description
    features Array.<ol/Feature> features with datastream ids or features with features (see clustering) with datastreamids
    Returns:
    - contains all datastream ids from this layer

    getDataStreamIdsHelper(feature, dataStreamIdsArray){Void}

    modules/core/modelList/layer/sensor.js, line 1328
    helper function for getDataStreamIds: pushes the datastream ids into the given array
    Name Type Description
    feature ol/Feature the feature containing datastream ids
    dataStreamIdsArray Array.<String> the array to push the datastream ids into

    getFeatureByDataStreamId(features, id){array}

    modules/core/modelList/layer/sensor.js, line 1376
    get feature by a given id
    Name Type Description
    features array features to seacrh for
    id number the if from examined feature

    getFeaturesInExtent(){Array.<ol/featre>}

    modules/core/modelList/layer/sensor.js, line 1212
    Returns features in enlarged extent (enlarged by 5% to make sure moving features close to the extent can move into the mapview)

    getFirstPhenomenonTime(phenomenonTime){string}

    modules/core/modelList/layer/sensor.js, line 380
    Some sensor deliver an time interval like "2020-04-02T14:00:01.000Z/2020-04-02T14:15:00.000Z". Other sensors deliver a single time like "2020-04-02T14:00:01.000Z". This functions returns the first time given in string. Delimiter is always "/".
    Name Type Description
    phenomenonTime string phenomenonTime given by sensor
    Returns:
    phenomenonTime

    getJsonGeometry(thing, index){object|null}

    modules/core/modelList/layer/sensor.js, line 694
    Searches the thing for its geometry location. For some reason there are two different object pathes to check.
    Name Type Description
    thing object aggregated thing
    index integer index of location in array Locations
    Returns:
    object or null

    getLocalTimeFormat(phenomenonTime, timezone){String}

    modules/core/modelList/layer/sensor.js, line 398
    Returns Date and time in clients local aware format converting utc time to sensors origin timezone.
    Name Type Description
    phenomenonTime String phenomenonTime given by sensor
    timezone String name of the sensors origin timezone
    See:
    Returns:
    converted with UTC

    getNewestSensorData(allThings){Array.<Object>}

    modules/core/modelList/layer/sensor.js, line 633
    Iterates over things and creates attributes for each observed property.
    Name Type Description
    allThings Array.<Object> All things.
    Returns:
    All things with the newest observation for each dataStream.

    getNewestSensorDataOfDatastream(thing){void}

    modules/core/modelList/layer/sensor.js, line 568
    Iterates over the dataStreams and creates for each datastream the attributes: "dataStream_[dataStreamId]_[dataStreamName]" and "dataStream_[dataStreamId]_[dataStreamName]_phenomenonTime".
    Name Type Description
    thing Object thing.

    inherited getResolutions(){void}

    modules/core/modelList/layer/model.js, line 378
    Sets visible min and max resolution on layer.
    Fires:

    inherited incTransparency(){void}

    modules/core/modelList/layer/model.js, line 390
    Increases layer transparency by 10 percent

    initializeConnection(onsuccess){void}

    modules/core/modelList/layer/sensor.js, line 247
    Initial loading of sensor data function
    Name Type Description
    onsuccess function a function to call on success
    Fires:

    inherited intervalHandler(){void}

    modules/core/modelList/layer/model.js, line 368
    Callback for layer interval

    inherited isLayerSourceValid(){Boolean}

    modules/core/modelList/layer/model.js, line 592
    Checks if the layerSource has been setup and a layersource object exist

    inherited isLayerValid(){Boolean}

    modules/core/modelList/layer/model.js, line 584
    Checks if the layer has been setup and a layer object exist

    liveUpdate(feature, dataStreamId, result, phenomenonTime){void}

    modules/core/modelList/layer/sensor.js, line 1286
    performs the live update
    Name Type Description
    feature ol/feature feature to be updated
    dataStreamId String dataStreamId
    result String the new state
    phenomenonTime String the new phenomenonTime
    Fires:

    loadFeaturesInExtentAndUpdateSubscription(){void}

    modules/core/modelList/layer/sensor.js, line 1201
    Loading things only in the current extent and updating the subscriptions.

    loadSensorThings(url, version, urlParams, onsuccess){array}

    modules/core/modelList/layer/sensor.js, line 417
    load SensorThings by
    Name Type Description
    url String url to service
    version String version from service
    urlParams String url parameters
    onsuccess function a callback function (result) with the result to call on success and result: all things with attributes and location
    Returns:
    things with attributes and location

    mergeDatastreamsByThingId(allThings, uniqueIds){Array.<Object>}

    modules/core/modelList/layer/sensor.js, line 542
    Merge datastreams based on the id of the thing if the ids exist multiple times.
    Name Type Description
    allThings Array.<Object> The sensordata with things as root.
    uniqueIds Array.<Number> The unique ids from the sensordata things.
    Returns:
    sensordata with merged things as root.

    parseDatastreams(sensordata, datastreamAttributes, thingAttributes){Array.<Object>}

    modules/core/modelList/layer/sensor.js, line 476
    Parse the sensorThings-API data with datastreams as root. The datastreams are merged based on the Id of the thing if the Ids exist multiple times.
    Name Type Description
    sensordata Array.<Object> the sensordata with datastream as root.
    datastreamAttributes Array.<String> The datastreamattributes.
    thingAttributes Array.<String> The thing attributes.
    Returns:
    sensordata with merged things as root.

    parseJson(data){ol/Feature}

    modules/core/modelList/layer/sensor.js, line 714
    Tries to parse object to ol.format.GeoJson
    Name Type Description
    data object object to parse
    Throws:
    an error if the argument cannot be parsed.
    Returns:
    feature

    inherited prepareFeaturesFor3D(features){void}

    modules/core/modelList/layer/model.js, line 149
    Prepares the given features and sets or/and overwrites the coordinates based on the configuration of "altitude" and "altitudeOffset".
    Name Type Description
    features Array.<ol/Feature> The olFeatures.

    inherited prepareLayerObject(){void}

    modules/core/modelList/layer/model.js, line 253
    Process function. Calls smaller function to prepare and create layer object

    inherited registerInteractionMapViewListeners(){void}

    modules/core/modelList/layer/model.js, line 345
    Register interaction with map view.
    Listens to Events:

    inherited registerInteractionTreeListeners(channel){void}

    modules/core/modelList/layer/model.js, line 276
    Register interaction with layer tree.
    Name Type Description
    channel Radio.channel Radio channel of this module
    Listens to Events:

    inherited removeLayer(){void}

    modules/core/modelList/layer/model.js, line 767
    Removes the layer from the map and the collection

    replaceStreamProperties(feature, property, dataStreamId, result){String}

    modules/core/modelList/layer/sensor.js, line 1309
    Replaced a property of the feature in the place of the given datastreamId.
    Name Type Description
    feature ol/feature Feature with properties.
    property String Property to be updated.
    dataStreamId String The dataStreamId.
    result String The new value.
    Returns:
    The updated Property.

    inherited resetLayerOrder(){void}

    modules/core/modelList/layer/model.js, line 611
    Resets layerOrder property; 0 is defined as initial value and the layer will be acknowledged as newly added for the sake of initial positioning

    inherited setAltitudeOnGeometry(geometry, altitude, altitudeOffset){ol/geom}

    modules/core/modelList/layer/model.js, line 170
    Sets the altitude and AltitudeOffset as z coordinate.
    Name Type Description
    geometry ol/geom Geometry of feature.
    altitude Number Altitude. Overwrites the given z coord if available.
    altitudeOffset Number Altitude offset.
    Returns:
    The geometry with newly set coordinates.

    inherited setAltitudeOnMultiPoint(coords, altitude, altitudeOffset){Array.<Number>}

    modules/core/modelList/layer/model.js, line 198
    Sets the altitude on multipoint coordinates.
    Name Type Description
    coords Array.<Number> Coordinates.
    altitude Number Altitude. Overwrites the given z coord if available.
    altitudeOffset Number Altitude offset.
    Returns:
    newly set cooordinates.

    inherited setAltitudeOnPoint(coords, altitude, altitudeOffset){Array.<Number>}

    modules/core/modelList/layer/model.js, line 215
    Sets the altitude on point coordinates.
    Name Type Description
    coords Array.<Number> Coordinates.
    altitude Number Altitude. Overwrites the given z coord if available.
    altitudeOffset Number Altitude offset.
    Returns:
    newly set cooordinates.

    setClusterLayerSource(value){void}

    modules/core/modelList/layer/sensor.js, line 1446
    Setter for clusterLayerSource
    Name Type Description
    value ol/source/cluster clusterLayerSource

    inherited setGlyphicon(value){void}

    modules/core/modelList/item.js, line 69
    Setter for glyphicon
    Name Type Description
    value String Glyphicon

    setHttpSubFolder(value){Void}

    modules/core/modelList/layer/sensor.js, line 1491
    Setter for the HttpSubFolder
    Name Type Description
    value String the httpSubFolder as String

    inherited setId(value){void}

    modules/core/modelList/item.js, line 34
    Setter for id
    Name Type Description
    value String Id

    inherited setIsInThemen(value){void}

    modules/core/modelList/item.js, line 78
    Setter for isInThemen
    Name Type Description
    value Boolean Flag if item is in themen

    inherited setIsJustAdded(value){void}

    modules/core/modelList/layer/model.js, line 759
    Setter for isJustAdded (currently only used in uiStyle = table)
    Name Type Description
    value Boolean Flag if layer has just been added to the tree

    inherited setIsOutOfRange(value){void}

    modules/core/modelList/layer/model.js, line 684
    Setter for isOutOfRange
    Name Type Description
    value Boolean Flag if map Scale is out of defined layer minScale and maxScale

    inherited setIsRemovable(value){void}

    modules/core/modelList/layer/model.js, line 748
    Setter for isRemovable
    Name Type Description
    value Boolean Flag if layer is removable from the tree

    inherited setIsSelected(value){void}

    modules/core/modelList/layer/model.js, line 657
    Setter for isSelected
    Name Type Description
    value Boolean Flag if layer is selected

    inherited setIsSettingVisible(value){void}

    modules/core/modelList/layer/model.js, line 666
    Setter for isSettingVisible
    Name Type Description
    value Boolean Flag if layer settings are visible

    setIsSubscribed(value){void}

    modules/core/modelList/layer/sensor.js, line 1455
    Setter for isSubscribed
    Name Type Description
    value boolean isSubscribed

    inherited setIsVisibleInMap(value){void}

    modules/core/modelList/layer/model.js, line 647
    Setter for isVisibleInMap and setter for layer.setVisible
    Name Type Description
    value Boolean Flag if layer is visible in map

    inherited setIsVisibleInMenu(value){void}

    modules/core/modelList/item.js, line 105
    Setter for setIsVisibleInMenu
    Name Type Description
    value Boolean Flag if item is visible in menu

    inherited setIsVisibleInTree(value){void}

    modules/core/modelList/layer/model.js, line 729
    Setter for isVisibleInTree
    Name Type Description
    value Boolean Flag if layer is visible in tree

    inherited setLayer(value){void}

    modules/core/modelList/layer/model.js, line 638
    Setter for layer
    Name Type Description
    value ol/layer Layer

    inherited setLayerInfoChecked(value){void}

    modules/core/modelList/layer/model.js, line 620
    Setter for layerInfoChecked
    Name Type Description
    value Boolean Flag if layerInfo was checked

    inherited setLayerOrder(value){void}

    modules/core/modelList/layer/model.js, line 602
    Setter for layerOrder
    Name Type Description
    value String layerOrder

    inherited setLayerSource(value){void}

    modules/core/modelList/layer/model.js, line 629
    Setter for layerSource
    Name Type Description
    value ol/source LayerSource

    inherited setLegendURL(value){void}

    modules/core/modelList/layer/model.js, line 720
    Setter for legendURL
    Name Type Description
    value String legendURL

    inherited setLevel(value){void}

    modules/core/modelList/item.js, line 87
    Setter for level
    Name Type Description
    value String Level

    inherited setMaxResolution(value){void}

    modules/core/modelList/layer/model.js, line 693
    Setter for ol/layer.setMaxResolution
    Name Type Description
    value Number Maximum resolution of layer

    inherited setMinResolution(value){void}

    modules/core/modelList/layer/model.js, line 702
    Setter for ol/layer.setMinResolution
    Name Type Description
    value Number Minimum resolution of layer

    setMoveendListener(value){void}

    modules/core/modelList/layer/sensor.js, line 1473
    Setter for moveendListener
    Name Type Description
    value boolean moveendListener

    setMqttClient(value){void}

    modules/core/modelList/layer/sensor.js, line 1464
    Setter for mqttClient
    Name Type Description
    value boolean mqttClient

    inherited setName(value){void}

    modules/core/modelList/layer/model.js, line 711
    Setter for name
    Name Type Description
    value String Name of layer

    inherited setParentId(value){void}

    modules/core/modelList/item.js, line 43
    Setter for parentId
    Name Type Description
    value String ParentId

    inherited setSingleBaselayer(value){void}

    modules/core/modelList/layer/model.js, line 739
    Setter for the singleBaselayer
    Name Type Description
    value Boolean Flag if only a single baselayer should be selectable at once

    setStyle(value){void}

    modules/core/modelList/layer/sensor.js, line 1437
    Setter for style
    Name Type Description
    value function Stylefunction.

    setSubscriptionTopics(value){Void}

    modules/core/modelList/layer/sensor.js, line 1482
    Setter for SubscriptionTopics
    Name Type Description
    value Object the SubscriptionTopic as object

    inherited setTransparency(value){void}

    modules/core/modelList/layer/model.js, line 675
    Setter for transparency
    Name Type Description
    value Number Tranparency in percent

    inherited setType(value){void}

    modules/core/modelList/item.js, line 60
    Setter for type
    Name Type Description
    value String Type

    inherited setVisible(value){void}

    modules/core/modelList/layer/model.js, line 781
    Setter for the layer visibility
    Name Type Description
    value Boolean new visibility value

    inherited setWindowsInterval(func, autorefreshInterval){void}

    modules/core/modelList/layer/model.js, line 360
    Setter of window interval. Binds this to func.
    Name Type Description
    func function Function, to be executed in this
    autorefreshInterval integer Intervall in ms

    inherited showLayerInformation(){void}

    modules/core/modelList/layer/model.js, line 553
    Initiates the presentation of layer information.
    Fires:

    styling(){void}

    modules/core/modelList/layer/sensor.js, line 958
    create style, function triggers to style_v2.json
    Fires:

    subscribeToSensorThings(){Void}

    modules/core/modelList/layer/sensor.js, line 1140
    subscribes to the mqtt client with the features in the current extent

    inherited toggleAttributionsInterval(){void}

    modules/core/modelList/layer/model.js, line 514
    If attribution is defined as an object, then the attribution are requested in given intervals, as long as "isVisibleInMap" is true Is used for Verkehrslage auf den Autobahnen

    inherited toggleIsSelected(){void}

    modules/core/modelList/layer/model.js, line 412
    Toggles the attribute isSelected. If the layer is a baselayer, the other selected baselayers are deselected.

    inherited toggleIsSettingVisible(){void}

    modules/core/modelList/layer/model.js, line 472
    Toggles the attribute isSettingVisible

    inherited toggleIsVisibleInMap(){void}

    modules/core/modelList/layer/model.js, line 440
    Toggles the attribute isVisibleInMap

    inherited toggleLayerOnMap(){void}

    modules/core/modelList/layer/model.js, line 486
    Adds or removes layer from map, depending on attribute isSelected

    inherited toggleWindowsInterval(){void}

    modules/core/modelList/layer/model.js, line 455
    Toggles the layer interval based on attribute isVisibleInMap The autoRefresh interval has to be >500 , because of performance issues

    toRgba(val){string}

    modules/core/modelList/layer/sensor.js, line 929
    Wandelt verschiedene Farbdefinitionen in einen gültigen CSS-RGBA-String um. Unterstützte Eingaben: - Array: `[r, g, b, a]` (z. B. `[0,153,255,1]`) - CSV-String: `"r,g,b,a"` (z. B. `"0,153,255,1"`) - Bereits gültiger CSS-String (z. B. `"rgba(0,153,255,1)"` oder `"#0099ff"`) Bei ungültigen Eingaben wird ein roter Fallback `"rgba(219, 56, 56, 1)"` zurückgegeben.
    Name Type Description
    val Array.<number> | string Farbwert als Array, CSV-String oder CSS-String.
    Returns:
    gültiger CSS-RGBA-Farbstring.

    unsubscribeFromSensorThings(){Void}

    modules/core/modelList/layer/sensor.js, line 1161
    unsubscribes from the mqtt client with topics formerly subscribed

    updateFromMqtt(thing){void}

    modules/core/modelList/layer/sensor.js, line 1245
    update the phenomenontime and states of the Feature this function is triggerd from MQTT
    Name Type Description
    thing json thing contains a new observation and accompanying topic

    inherited updateLayerSource(){void}

    modules/core/modelList/layer/model.js, line 790
    refresh layerSource when updated e.g. needed because wmts source is created asynchronously

    inherited updateLayerTransparency(){void}

    modules/core/modelList/layer/model.js, line 539
    Transforms transparency into opacity and sets opacity on layer

    updateObservationForDatastreams(feature, dataStreamId, observation){Void}

    modules/core/modelList/layer/sensor.js, line 1265
    updates the Datastreams of the given feature with received time and result of the Observation
    Name Type Description
    feature ol/feature feature to be updated
    dataStreamId String dataStreamId
    observation Object the observation to update the old observation with

    updateSubscription(){void}

    modules/core/modelList/layer/sensor.js, line 1187
    Refresh all connections by ending all established connections and creating new ones

    Events

    inherited changeIsOutOfRange

    devtools/jsdoc/events.js, line 439
    Fired if attribute isOutOfRange has changed
    Name Type Description
    model Backbone.Model The model whose attribute hat changed.
    value Boolean The attribute value that has changed.

    inherited changeIsSelected

    devtools/jsdoc/events.js, line 404
    Fired if attribute isSelected has changed
    Name Type Description
    model Backbone.Model The model whose attribute hat changed.
    value Boolean The attribute value that has changed.

    inherited changeIsSettingVisible

    devtools/jsdoc/events.js, line 425
    Fired if attribute isSettingVisible has changed
    Name Type Description
    model Backbone.Model The model whose attribute hat changed.
    value Boolean The attribute value that has changed.

    inherited changeIsVisibleInMap

    devtools/jsdoc/events.js, line 411
    Fired if attribute isVisibleInMap has changed
    Name Type Description
    model Backbone.Model The model whose attribute hat changed.
    value Boolean The attribute value that has changed.

    inherited changeIsVisibleInTree

    devtools/jsdoc/events.js, line 432
    Fired if attribute isVisibleInTree has changed
    Name Type Description
    model Backbone.Model The model whose attribute hat changed.
    value Boolean The attribute value that has changed.

    inherited changeTransparency

    devtools/jsdoc/events.js, line 418
    Fired if attribute transparency has changed
    Name Type Description
    model Backbone.Model The model whose attribute hat changed.
    value Boolean The attribute value that has changed.

    inherited RadioRequestVectorLayerGetFeatures

    devtools/jsdoc/events.js, line 480
    Name Type Description
    id String Id of vector layer.
    Example
    Radio.request("VectorLayer", "getFeatures", id)

    inherited RadioTriggerLayerSetLayerInfoChecked

    devtools/jsdoc/events.js, line 452
    Name Type Description
    value Boolean Flag that signs that the layer informations has been checked.
    Example
    Radio.trigger("Layer", "setLayerInfoChecked", value)

    inherited RadioTriggerLayerUpdateLayerInfo

    devtools/jsdoc/events.js, line 446
    Name Type Description
    name String The name of the layer.
    Example
    Radio.trigger("Layer", "updateLayerInfo", name)

    inherited RadioTriggerVectorLayerFeaturesLoaded

    devtools/jsdoc/events.js, line 458
    Name Type Description
    id String Id of vector layer.
    features Array.<ol/Feature> Features that have been loaded.
    Example
    Radio.trigger("VectorLayer", "featuresLoaded", id, features)

    inherited RadioTriggerVectorLayerFeatureUpdated

    devtools/jsdoc/events.js, line 465
    Name Type Description
    id String Id of vector layer.
    features Array.<ol/Feature> Features that have been loaded.
    Example
    Radio.trigger("VectorLayer", "featureUpdated", id, features)

    inherited RadioTriggerVectorLayerResetFeatures

    devtools/jsdoc/events.js, line 472
    Triggers an event with the features that are shown. Used for updates in heatmap after filter.
    Name Type Description
    id String Id of vector layer.
    features Array.<ol/Feature> Features that are visible.
    Example
    Radio.trigger("VectorLayer", "resetFeatures", id, features)