forked from openstreetmap/iD
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
77 lines (76 loc) · 3.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Open Heritage Map</title>
<link rel="stylesheet" href="dist/iD.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/fontawesome.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/solid.min.css"/>
<link rel="shortcut icon" type="image/icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
<script src="dist/iD.js"></script>
</head>
<body>
<div id="header-map">
<a
href="http://www.erfgoedzuidwest.be/"
target="_blank"
class="header_logo_erfgoed"
></a>
<a
href="http://www.erfgoedzuidwest.be/content/ik-xploreer-mee"
target="_blank"
class="header_title"
><h1 class="header_xploreer">Ik-xploreer mee!</h1></a
>
<div class="header_map_logo_europa_vlaanderen">
<a
href="https://www.onroerenderfgoed.be/nieuws/2018-europees-jaar-van-het-cultureel-erfgoed"
target="_blank"
class="header_logo_europa"
></a>
<a
href="https://www.vlaanderen.be/"
target="_blank"
class="header_logo_vlaanderen"
></a>
</div>
</div>
<div id="id-container"></div>
<script>
id = iD.coreContext().assetPath("dist/");
// disable boundaries (unless we have an explicit disable_features list)
var q = iD.utilStringQs(window.location.hash.substring(1));
if (!q.hasOwnProperty("disable_features")) {
id.features().disable("boundaries");
}
id.ui()(document.getElementById("id-container"), function() {
id.map().centerZoom([3.2680, 50.8270], 14.80);
id.container()
.select("#about-list")
.insert("li", ".user-list")
.attr("class", "source-switch")
.call(
iD.uiSourceSwitch(id).keys([
{
urlroot: "http://www.openhistoricalmap.org",
oauth_consumer_key:
"5A043yRSEugj4DJ5TljuapfnrflWDte8jTOcWLlT",
oauth_secret:
"aB3jKq1TRsCOUrfOIZ6oQMEDmv2ptV76PA54NGLL"
},
{
urlroot: "https://api06.dev.openstreetmap.org",
oauth_consumer_key:
"zwQZFivccHkLs3a8Rq5CoS412fE5aPCXDw9DZj7R",
oauth_secret:
"aMnOOCwExO2XYtRVWJ1bI9QOdqh1cay2UgpbhA6p"
}
])
);
});
</script>
</body>
</html>