-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
182 lines (150 loc) · 5.91 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="theme-color" content="#ffffff" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16" />
<link rel="manifest" href="/manifest.json" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="stylesheet" href="stylesheets/main.css">
<script>
(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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-75313828-2', 'auto');
ga('send', 'pageview');
</script>
<title>49MAPS</title>
</head>
<body>
<style>
.display {
background-image: url(images/bearlake12.jpg);
}
</style>
<style>
.main {
background-image: url(images/victoria_ls8.jpg);
}
</style>
<div class="display">
<div class="banner">
<div id="topname">
<span id="FORTYNINE">49</span><span id="MAPS">MAPS</span>
</div>
<p class="slogan">Location data development and analytics</p>
</div>
</div>
<div class="section main">
<div class="shade container">
<div class="copy">
<h3>Spatial is different</h3>
<p>Data is an asset, but using geospatial data effectively uses a
different set of skills and tools and other forms of data. Whether
working with vehicle travel patterns, planning future istrumentation or
measurement campaigns, or setting up automated remote monitoring with
satellite imagery, geospatial data has applications in business,
research, public policy and the non-profit sector.</p>
<p>49maps offers analysis, automation, and machine learning expertise,
software development, and technical resources to commercial,
non-profit, and government clients.<p>
<p>We help organizations build effective solutions for unique problems
by prototyping custom methodologies and implementing robust production
systems.<p>
<h3>Services we provide</h3>
<ul>
<li>Geospatial data consulting and tool development</li>
<li>Custom satellite image acquisition and monitoring</li>
<li>Aerial and satellite image registration and orthorectification</li>
<li>Data-driven application development and maintenance</li>
<li>Data pipeline architecture and implementation</li>
</ul>
</div> <!-- /copy -->
<div class="social">
<p><a href="https://twitter.com/fortyninemaps"><img src="TwitterLogo_white.png"></a></p>
<a href="https://twitter.com/fortyninemaps?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-show-count="false">Follow @fortyninemaps</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div> <!-- /social -->
<div style="clear: both;"></div>
</div> <!-- /container -->
</div> <!-- /section main -->
<div class="section footer">
<div class="container">
<div style="float: left; width: 50%">
<p>
Based in Vancouver, Canada</br>
<a href="mailto:contact@fortyninemaps.com">Contact</a><br>
</p>
<p><small>Banner imagery © DigitalGlobe — <a href="http://bit.ly/mapsapiview">Terms of Use</a></small></p>
</div>
<div style="float: right; width: 50%">
<p>
<a href="https://github.com/fortyninemaps">Open Source</a><br>
<a href="https://research.fortyninemaps.com">49MAPS Research</a>
</p>
</div>
<div style="float: right; width: 50%; text-align: right;">
</div>
<div style="clear: both;"></div>
</div>
</div>
<script>
const elementReferenceHeight = (el) => {
const bounds = el.getBoundingClientRect();
const v = (bounds.top < 0) ? bounds.bottom : bounds.top;
return Math.min(
Math.max(window.innerHeight - bounds.top, 0),
window.innerHeight
) / window.innerHeight;
};
// specs is an array of objects with shape {frac: Number, opacity: Number},
// ordered from bottom to top
const setElementOpacity = (className, specs) => {
const els = [...document.getElementsByClassName(className)];
els.forEach((el) => {
const h = elementReferenceHeight(el);
spec = specs.reduce((left, right) => right.frac <= h ? right : left);
el.style.opacity = spec.opacity;
});
};
const bannerSpecs = [
{frac: 0.0, opacity: 1.0},
{frac: 0.5, opacity: 1.0},
{frac: 0.8, opacity: 0.5},
{frac: 1.0, opacity: 0.0},
];
const shadeSpecs = [
{frac: 0.0, opacity: 0.0},
{frac: 0.2, opacity: 0.7},
{frac: 0.3, opacity: 0.9},
];
// initialize
setElementOpacity("banner", bannerSpecs);
setElementOpacity("shade", shadeSpecs);
window.addEventListener('scroll', () => {
setElementOpacity("banner", bannerSpecs);
setElementOpacity("shade", shadeSpecs);
});
// Lazy load fonts after content
function loadFont(url) {
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
var style = document.createElement('style');
style.innerHTML = xhr.responseText;
document.head.appendChild(style);
}
};
xhr.send();
}
document.body.onload = () => {
var url = "//brick.a.ssl.fastly.net/Lato:200,300/Raleway:400";
loadFont(url);
}
</script>
</body>
</html>