Extract tree_nodes layer, add heritage tags & img

This commit is contained in:
Midgard 2020-12-27 14:23:45 +01:00
parent e333119a17
commit b8075a6a55
Signed by untrusted user: midgard
GPG key ID: 511C112F1331BBB4
7 changed files with 432 additions and 278 deletions

View file

@ -73,7 +73,8 @@ if (layoutFromBase64.startsWith("wiki:")) {
new FixedUiElement(`Downloading ${themeName} from the wiki...`)
.AttachTo("centermessage");
const cleanUrl = `https://wiki.openstreetmap.org/wiki/${themeName}`;
const url = `https://cors-anywhere.herokuapp.com/` + cleanUrl; // VERY SAFE AND HACKER-PROOF!
//const url = `https://cors-anywhere.herokuapp.com/` + cleanUrl; // ~NOT~ VERY SAFE AND HACKER-PROOF!
const url = cleanUrl; // MUCH SAFER!
$.ajax({
url: url,