all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH widget-toolkit] utils: render location: add a marker for the exact coordinates
@ 2026-05-19 13:15 Shannon Sterz
  2026-05-19 18:32 ` applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Shannon Sterz @ 2026-05-19 13:15 UTC (permalink / raw)
  To: pve-devel

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} &deg;, ${location.longitude} &deg;, <a href='${link}' target="_blank" rel="noreferrer">open on OpenStreetMap</a>`;
             if (location.name) {
                 return `${location.name} (${degrees})`;
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-19 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 13:15 [PATCH widget-toolkit] utils: render location: add a marker for the exact coordinates Shannon Sterz
2026-05-19 18:32 ` applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal