-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
82 lines (80 loc) · 3.12 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Interactive SVG Maps of the World</title>
<meta
name="description"
content="Administrative SVG maps of the world. Download SVG map by country or get the whole package. Open source interactive SVG maps."
/>
<meta name="theme-color" content="#2c3e50" />
<link rel="stylesheet" href="styles.css" type="text/css" />
</head>
<body>
<main>
<section class="sidebar">
<h1 class="title">Interactive SVG Maps of the World</h1>
<p class="info">
This package includes interactive SVG maps of 164 UN member countries. Remaining countries will be included as
soon as possible. You can download individual SVG maps or the whole package.
</p>
<label>Select a country:</label>
<select id="mapChange" onchange="changeMap()"></select>
<button class="random" onclick="randomMap()">Random Map</button>
<h2 id="country-name">The Republic of Turkey</h2>
<a class="download" href="/maps/TR.svg" target="_blank" download>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
<polyline points="7 10 12 15 17 10"></polyline>
<line x1="12" y1="15" x2="12" y2="3"></line>
</svg>
Download SVG</a
>
<footer>
<p class="warning">
WARNING: Precise geodata is not guaranteed. The source of the public domain geodata is
<a href="https://github.com/ahuseyn/" target="_blank">naturalearthdata.com</a>.
</p>
<a
class="github-button"
href="https://github.com/ahuseyn/interactive-svg-maps"
data-color-scheme="no-preference: dark; light: dark; dark: dark;"
data-size="large"
aria-label="Star ahuseyn/interactive-svg-maps on GitHub"
>Star</a
>
<a
class="github-button"
href="https://github.com/ahuseyn/interactive-svg-maps/archive/master.zip"
data-color-scheme="no-preference: dark; light: dark; dark: dark;"
data-size="large"
aria-label="Download ahuseyn/interactive-svg-maps on GitHub"
>Download</a
>
<p class="credits">
2020 - Crafted by <a href="https://github.com/ahuseyn/" target="_blank">ahuseyn</a> - MIT license
</p>
</footer>
</section>
<section class="content">
<div class="map-wrapper">
<div id="toolTip"></div>
<object id="map" data="maps/TR.svg" type="image/svg+xml"></object>
</div>
</section>
</main>
<script src="script.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>