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

11 lines (8 loc) 229 B
import length from "./length"; var coordinates = [null, null], object = {type: "LineString", coordinates: coordinates}; export default function(a, b) { coordinates[0] = a; coordinates[1] = b; return length(object); }