", { class: "portalweblinks" }).append($("
").append($("", { text: "Portal", class: "title" }), this.createLink("Intel", WebLink.intel(portal)), this.createLink("Ingress", WebLink.scanner(portal)), this.createLink("Location", `${ll.lat}, ${ll.lng}`, "").on("click", () => this.copy(`${ll.lat}, ${ll.lng}`))), $("").append($("", { text: "Map", class: "title" }), this.createLink("Google Maps", WebLink.google(portal)), this.createLink("OSM", WebLink.osm(portal)), this.createLink("Bing Maps", WebLink.bing(portal)), $("", { id: "qrcode" })));
const mdia = window.dialog({
id: "portallink",
title: portal.options.data.title,
html,
position: { my: "right-30 top+20", at: "left top", of: "#sidebar" }
});
$("#qrcode", mdia).qrcode({ text: `GEO:${ll.lat},${ll.lng}` });
}
createLink(name, link, realLink) {
const sLink = link.replace(/^https:\/\//i, "");
return $("
", { class: "alink" }).append($("
", { text: name }), $("", { href: realLink || link, text: sLink, target: "blank" }), $("