-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (101 loc) · 3.61 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<link href='dist/bundle.css' rel='stylesheet' />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700;800&display=swap" rel="stylesheet" />
<title>geojson.io | powered by Mapbox</title>
<link rel="icon" type="image/x-icon" href="/img/favicon.png" />
<meta name="author" content="Mapbox" />
<meta name="description" content="A quick, simple tool for creating, viewing, and sharing spatial data." />
<meta property="og:site_name" content="geojson.io" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@mapbox" />
<meta name="twitter:creator" content="@mapbox" />
<meta property="og:url" content="https://geojson.io" />
<meta property="og:title" content="geojson.io | powered by Mapbox" />
<meta property="og:description" content="A quick, simple tool for creating, viewing, and sharing spatial data." />
<meta property="og:image" content="/img/twitter-card-image.png" />
<meta http-equiv="Content-Security-Policy" content="
default-src * data: blob: filesystem: about: ws: wss: 'unsafe-inline' 'unsafe-eval';
script-src * data: blob: 'unsafe-inline' 'unsafe-eval';
connect-src * data: blob: 'unsafe-inline';
img-src * data: blob: 'unsafe-inline';
frame-src * data: blob: ;
style-src * data: blob: 'unsafe-inline';
font-src * data: blob: 'unsafe-inline';" />
<script>
const importGeoJson = (msg) => {
if (msg.data.geoJson) {
console.log('Received GeoJSON import message', msg);
api.data.set({ map: msg.data.geoJson });
}
}
window.addEventListener('message', (msg) => {
if (window.ready) {
importGeoJson(msg);
} else {
window.addEventListener(
"ready",
(e) => {
importGeoJson(msg);
},
false,
);
}
});
</script>
</head>
<body id="geojsonio-body" class="h-full">
<div class="geojsonio flex flex-col h-full">
<div class="text-white bg-mb-gray-dark font-sans px-3 flex">
<div class="flex-grow flex justify-end">
</div>
</div>
</div>
<script>
if (self == top) {
document.getElementsByTagName("body")[0].style.display = "block";
} else {
///top.location = self.location;
}
</script>
<script src="dist/bundle.js"></script>
<script type="text/javascript">
var _gauges = _gauges || [];
(function (i, s, o, g, r, a, m) {
i["GoogleAnalyticsObject"] = r;
(i[r] =
i[r] ||
function () {
(i[r].q = i[r].q || []).push(arguments);
}),
(i[r].l = 1 * new Date());
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
})(
window,
document,
"script",
"https://www.google-analytics.com/analytics.js",
"ga"
);
ga("create", "UA-12158002-18", "auto");
ga("send", "pageview");
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3K6EEFGNP0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G - 3K6EEFGNP0');
</script>
</body>
</html>