-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
61 lines (56 loc) · 2.52 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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Flickr4OSM</title>
<link rel='stylesheet' href='iD/iD.css'>
<link rel='stylesheet' href='css/main.css'>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src='js/lib/hashes.min.js'></script>
<script src='iD/iD.js'></script>
<script src='iD/imagery.js'></script>
<script src='iD/presets.js'></script>
<script src='js/flickr4osm/flickr4osm.js'></script>
<script src='js/flickr4osm/keys.js'></script>
<script src='js/flickr4osm/core/connection.js'></script>
<script src='js/flickr4osm/core/flickrAuth.js'></script>
<script src='js/flickr4osm/ui.js'></script>
<script src='js/flickr4osm/ui/photo_list.js'></script>
<script src='js/flickr4osm/ui/photo_editor.js'></script>
<script src='js/flickr4osm/modes/select.js'></script>
<script src='js/flickr4osm/modes/browse.js'></script>
<script src='js/flickr4osm/ui/sidebar.js'></script>
<script src='js/flickr4osm/util.js'></script>
</head>
<body>
<div id="sidebar" class="col4">
<a href="https://github.com/pgiraud/flickr4osm" target="_blank">Fork this project on github.</a><br />
<button id="flickr_connect" class="preset-list-button">
<h2>Click to connect to Flickr</h2>
<p>You'll then be able to see the list of your photos and link
them to entities on the OSM map.</p>
<p style="color:red">
Note: due to changes on the Flickr authentication API, the connection may not work. Sorry for the inconvenience.
</p>
</button>
</div>
<div id='id-container'></div>
<script>
var f4o = flickr4osm()
.presets(iD.data.presets)
.imagery(iD.data.imagery)
.taginfo(iD.taginfo())
.assetPath('iD/');
d3.select('#id-container')
.call(f4o.ui());
</script>
<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-44071549-1', 'pgiraud.github.io');
ga('send', 'pageview');
</script>
</body>
</html>