-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (28 loc) · 1.63 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Side by Side viewer - OpenLayers viewer for comparing georeferenced historic map mosaics generated with MapTiler</title>
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.20.0/ol.css"></script>
<link type="text/css" rel="stylesheet" href="sidebysidecss.css" media="screen" />
<style>
.ol-mouse-position{position: absolute; right:8px;height:80px; font-size: 9pt;text-align: right;background: rgba(255, 255, 255, 0.5);line-height: 13pt; border-radius: 2px;}
</style>
</head>
<body>
<div id="header">
<div id="headertitle"> <h1>Side by Side / Split-screen viewer</h1>
<h2>Choose and compare different maps to each other</h2>
</div>
<div id="searchSideBar">
<form><select id="SelectLeft" onchange="changemapleft(this.selectedIndex)"></select></form>
<form><select id="SelectRight" onchange="changemapright(this.selectedIndex)"></select></form>
</div>
</div>
<div id="mapleft"></div>
<div id="mapright"><div id="scalebar"></div></div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.14/proj4.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.20.0/ol.js"></script>
<script type="text/javascript" src="sidebyside.js"></script>
</body>
</html>