UNPKG

node-red-contrib-tak-registration

Version:

A Node-RED node to register to TAK and to help wrap files as datapackages to send to TAK

22 lines (20 loc) 445 B
import Node from '../../geomgraph/Node' export default class RelateNode extends Node { constructor () { const coord = arguments[0] const edges = arguments[1] super(coord, edges) } updateIMFromEdges (im) { this._edges.updateIM(im) } computeIM (im) { im.setAtLeastIfValid(this._label.getLocation(0), this._label.getLocation(1), 0) } interfaces_ () { return [] } getClass () { return RelateNode } }