forked from MapComplete/MapComplete
Extract tree_nodes layer, add heritage tags & img
This commit is contained in:
parent
e333119a17
commit
b8075a6a55
7 changed files with 432 additions and 278 deletions
3
index.ts
3
index.ts
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue