About webmap
The webmap provides insights of user presence and CoT's shared with everyone. Also in his NodeRed version can create certain types of CoT.
There are 2 versions of the webmap:
- webMap NodeRed Flow version
- webMap Compiled version
webMap NodeRed Flow version
the webmap Flow works with all systems that supports Nodered. Advanced users should use this version.
Installation
get the webmap.json the last release:
https://github.com/FreeTAKTeam/FreeTAKHub-Webmap/releases
import the flow into node red
in the FTS UI edit the file config.py
changing the lines:
# webmap IP
WEBMAPIP = "[YOURIP]"
# webmap port
WEBMAPPORT = *1880*
manage palette
install/update the required nodes
Compiled version
The compiled version of the webmap work only with AMD64 CPU.
Can be installed with the ZeroTouch
installer
or manually following the instructions below.
## NOTICE the webmap is not a background app; so, it needs to remain open to receive information and will not persist it; so, to test ensure that you have connected users and do not switch to other tabs.
Installation
get the link of the last release:
https://github.com/FreeTAKTeam/FreeTAKHub/releases/download/v0.2.5/FTH-webmap-linux-0.2.5.zip
login to your server and go to the opt folder
cd /opt
the console type
wget https://github.com/FreeTAKTeam/FreeTAKHub/releases/download/v0.2.5/FTH-webmap-linux-0.2.5.zip
install Unzip
sudo apt install unzip
unzip the package
unzip FTH-webmap-linux-0.2.5.zip
make the file an executable
sudo chmod +x FTH-webmap-linux-0.2.5
"FTH_FTS_URL": "[YOUR_FTS_IP]"
"FTH_FTS_TCP_Port": [YOUR_FTS_PORT]
in the console type:
./[package_name]/[PATHTOCONFIGURATIONFILE]/webMAP_config.json
e.g. if your configuration file is under opt
./FTH-webmap-linux-0.2.5 /opt/webMAP_config.json
- navigate to your IP:8000/tak-map
- e.g. http://10.0.2.15:8000/tak-map
now connect a TAK client to see if that displays
configure to start as a service
Systemd is the service manager used by Ubuntu, Debian and many other Linux distributions,
and allows to launch mediamtx
on boot.
move the executable
sudo mv FTH-webmap-linux-0.2.5 /usr/local/bin/
and configuration in the system:
sudo mv webMAP_config.json /usr/local/etc/
Create the service.
Copy this complete text and paste into /etc/systemd/system/webmap.service
:
[Unit]
After=network.target
[Service]
ExecStart=/usr/local/bin/FTH-webmap-linux-0.2.5 /usr/local/etc/webMAP_config.json
[Install]
WantedBy=multi-user.target
Enable the service:
sudo systemctl enable webMap.service
start the service
sudo systemctl start webMap.service