-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
85 lines (78 loc) · 4.21 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>Your ultimate guide to square meter prices in Amsterdam</title>
<meta name="description" content="We compare square meter prices in Amsterdam to bitterballs, stroopwafels, and tompouces, so you don't have to.">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/meta/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/meta/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/meta/favicon-16x16.png">
<link rel="manifest" href="/assets/img/meta/site.webmanifest">
<link rel="mask-icon" href="/assets/img/meta/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/assets/img/meta/favicon.ico">
<meta property="og:url" content="https://squaremeter.amsterdam" />
<meta property="og:title" content="Squaremeter.amsterdam - Your ultimate guide to square meter prices in Amsterdam" />
<meta property="og:description" content="We compare square meter prices in Amsterdam to bitterballs, stroopwafels, and tompouces, so you don't have to." />
<meta property="og:site_name" content="Squaremeter.amsterdam" />
<meta property="og:image" content="https://squaremeter.amsterdam/assets/img/meta/og_image.jpg" />
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://squaremeter.amsterdam/assets/img/meta/og_image.jpg" />
<link rel="preload" href="./assets/img/stroopwafel.png" as="image">
<link rel="preload" href="./assets/img/kroket.png" as="image">
<link rel="preload" href="./assets/img/tegel.png" as="image">
<link rel="preload" href="./assets/img/tompouce.png" as="image">
<link href="https://fonts.googleapis.com/css2?family=Dosis:wght@200;400;700&display=swap" rel="stylesheet">
<link href="./assets/css/styles.css" rel="stylesheet">
</head>
<body>
<div class="mapContainer">
<div id="map">
</div>
<select id='updateYear' class='yearSelect'>
<option value="2021">2021 data</option>
<option value="2020">2020 data</option>
<option value="2019">2019 data</option>
<option value="2018">2018 data</option>
</select>
<div class="priceMapInfo">
<div class="priceMax" id="priceMax"> 10000 </div>
<div class="priceMin" id="priceMin"> 10000 </div>
<div class="priceGradient" id='priceGradient'>
</div>
</div>
</div>
<div id="container">
<div id="info">
<h1>How many square meter does €100 get you in Amsterdam?
</h1>
<hr />
<h2 id="neighborhood">Move your cursor over the map to see square meter prices.
</h2>
<div id="price"></div>
<div id='hundredBuysYou'></div>
<div id='visualisation'></div>
</div>
<div id="popup">
<div id="popupContainer">
<ul>
<li><a target="_blank"href="https://claircitydata.cbs.nl/dataset/districts-and-neighbourhoods-amsterdam/resource/d02c5f12-1cfa-4d7c-91d3-41af8e4ed634">Neighborhood geo data</a></li>
<li><a target="_blank" href="https://maps.amsterdam.nl/open_geodata/?k=202">City Areas</a></li>
<li><a target="_blank" href="https://maps.amsterdam.nl/woningwaarde/?LANG=en">Square meter price data <em>(2021 data set)</em> </a> </li>
</ul>
<a href="#popup:target"><strong>Close</strong></a>
</div>
</div>
<footer>
<a href="#popup">Data sources</a>
<a target="_blank" href="https://github.com/SvanBoxel/squaremeter.amsterdam">Source code</a>
<a target="_blank" href="https://svboxel.com/">Contact</a>
</footer>
</div>
<script src="./assets/js/main.js">
</script>
<!-- API Key is only enabled for squaremeter.amsterdam and https://svanboxel.github.io/squaremeter.amsterdam/, get a new API key for local testing here: https://developers.google.com/maps/documentation/javascript/get-api-key -->
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAnf4GpD6boaCRJGAFkXZqrojWKyjtPetY&callback=initMap">
</script>
</body>
</html>