-
Notifications
You must be signed in to change notification settings - Fork 10
/
index_dev.html
34 lines (33 loc) · 1.75 KB
/
index_dev.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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
a { text-decoration:none; }
#coordinates_3_ObenRechts { position: absolute; top:1em; right:1em; }
-->
</style>
<script type="text/javascript" src="min/jquery.min.js"></script>
<script>
function wmaMessageHub(e) {
e = e.originalEvent;
if( e.data == 'request' ) {
e.source.postMessage('{"coords":[{"lat":41.88333333333333,"lon":12.483333333333333,"title":"Rome_(stad)"},{"lat":42.05,"lon":12.616666666666667,"title":"Monterotondo"},{"lat":42.02388888888889,"lon":12.401388888888889,"title":"Veii"},{"lat":42.02388888888889,"lon":12.401388888888889,"title":"Veii"},{"lat":42.02388888888889,"lon":12.401388888888889,"title":"Veii"},{"lat":41.7111111111,"lon":12.3469444444,"title":"Laurentum"}]}','*');
}
if( e.data == 'kml' ) {
e.source.postMessage('1,1','*');
}
}
$(window).on('message',wmaMessageHub);
</script>
</head>
<body>
<h1>WikiMiniAtlas</h1>
<!--<iframe scrolling="no" frameborder="0" width="800" height="600" src="iframe_dev.html?40.7833_-73.966_800_600_en_13_en" style="width:800px; height:600px; border: 1px solid gray; padding: 0px; margin: 0px; resize: both">-->
<iframe scrolling="no" frameborder="0" width="800" height="600" src="iframe_dev.html?wma=41.881944_-87.627778_700_500_en_15_en&globe=Earth&lang=en&page=Chicago" style="width:800px; height:600px; border: 1px solid gray; padding: 0px; margin: 0px; resize: both">
You need a browser that supports iframes
</iframe>
<p>A quasi random selection of geocoded images from wikimedia commons...</p>
<p>...Featured pictures, Quality images, and former pictures of the day are displayed with a higher priority. Images below 1MP get smaller thumbnails</p>
</body>
</html>