From: Shannon Sterz <s.sterz@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH widget-toolkit] utils: render location: add a marker for the exact coordinates
Date: Tue, 19 May 2026 15:15:52 +0200 [thread overview]
Message-ID: <20260519131552.236688-1-s.sterz@proxmox.com> (raw)
this should help visualizing the exact location of the coordinates
when opening the location on open street maps.
Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
src/Utils.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Utils.js b/src/Utils.js
index 6b12399..d78f08a 100644
--- a/src/Utils.js
+++ b/src/Utils.js
@@ -1577,7 +1577,7 @@ Ext.define('Proxmox.Utils', {
return Proxmox.Utils.NoneText;
}
let location = Proxmox.Utils.parsePropertyString(value);
- let link = `https://openstreetmap.org#map=20/${location.latitude}/${location.longitude}`;
+ let link = `https://openstreetmap.org?mlat=${location.latitude}&mlon=${location.longitude}#map=20/${location.latitude}/${location.longitude}`;
let degrees = `${location.latitude} °, ${location.longitude} °, <a href='${link}' target="_blank" rel="noreferrer">open on OpenStreetMap</a>`;
if (location.name) {
return `${location.name} (${degrees})`;
--
2.47.3
reply other threads:[~2026-05-19 13:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260519131552.236688-1-s.sterz@proxmox.com \
--to=s.sterz@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox