diff --git a/src/public/index.html b/src/public/index.html
index d2f1f0d..3af5243 100644
--- a/src/public/index.html
+++ b/src/public/index.html
@@ -3224,7 +3224,7 @@
}
- function getTerrainProfileImage(node1, node2) {
+ function getTerrainProfileImage(url,node1, node2) {
// line colour between nodes
const lineColour = "0000FF"; // blue
@@ -3242,7 +3242,7 @@
const node2ElevationMSL = node2.altitude ?? "";
// generate terrain profile image url
- return "https://heywhatsthat.com/bin/profile-0904.cgi?" + new URLSearchParams({
+ return url + new URLSearchParams({
src: "meshtastic.liamcottle.net",
axes: 1, // include grid lines and a scale
metric: 1, // show metric units
@@ -3706,9 +3706,13 @@
}
// Add terrain profile image
- const terrainImageUrl = getTerrainProfileImage(nodeA, nodeB);
- tooltip += `
Terrain images from HeyWhatsThat.com`;
+ const terrainImageUrl = getTerrainProfileImage("https://heywhatsthat.com/bin/profile-0904.cgi?", nodeA, nodeB);
+ tooltip += `
Terrain image from HeyWhatsThat.com`;
tooltip += `
`;
+
+ const terrainImageUrl2 = getTerrainProfileImage("https://tjenavadärdetdär.se/?", nodeA, nodeB);
+ tooltip += `
Terrain image from TjenaVadÄrDetDär.se`;
+ tooltip += `
`;
return tooltip;
}