forked from marczoutendijk/openpoimap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
taglocator.html
117 lines (113 loc) · 5.62 KB
/
taglocator.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
<!-- OpenPoiMap aka Taglocator v1.29b - Marc Zoutendijk -->
<!-- (mz) Laatste versie: 6-8-2018-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta Access-Control-Allow-Origin: http://overpass.osm.rambler.ru/cgi/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" lang="en">
<meta name="keywords" content="openstreetmap, taglocator, openpoimap, marc zoutendijk" />
<title>OpenPoiMap - Taglocator</title>
<script src="api/jquery-1.11.2.min.js" type="text/javascript"></script>
<script src="api/OpenLayers.js" type="text/javascript"></script>
<script src="api/OpenStreetMap.js" type="text/javascript"></script>
<script src="http://maps.google.com/maps/api/js?v=3.2&sensor=false" type="text/javascript"></script>
<!--
<script src="js_source/opm-min.js" type="text/javascript"></script>
-->
<script src="js_source/opm.js" type="text/javascript"></script>
<!--
<script src="js_source/tagloc_init_icon-min.js" type="text/javascript"></script>
-->
<script src="js_source/tagloc_init_icon.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/style.css" type="text/css">
<link rel="stylesheet" href="css/mz_style.css" type="text/css">
<link rel="stylesheet" href="css/netzwolf.css" type="text/css">
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
<!--
ONDERSTAANDE REGEL ALLEEN VOOR DE NL VERSIE! taglocator.html
-->
<script src="js_source/searchbox.js" type="text/javascript" ></script>
<script src="js_source/nominatim_nl.js" type="text/javascript"></script>
</head>
<body>
<!--
Code to show edit/view button on top of screen
With this you can always edit, even if there is no poi selected
Thanks to code from Simon Poole
-->
<div style="position: absolute;left:500px; z-index:1999; width: 100%">
<ul id="sddm">
<li><a href="#"
onmouseover="mopen('m1')"
onmouseout="mclosetime()">View/Edit</a>
<div id="m1" style="z-index:2000"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime()">
<a href="#" onClick="openOSMI();">View in OSM Inspector <img src="css/img/windowopen.png"></a>
<a href="#" onClick="openJOSM();">Edit in JOSM <img src="css/img/windowopen.png"></a>
<a href="#" onClick="openP2();">Edit in Potlatch2 <img src="css/img/windowopen.png"></a>
<a href="#" onClick="openiD();">Edit in iD <img src="css/img/windowopen.png"></a>
</li>
</ul>
</div>
<iframe height=0 width=0 name="josm_frame" class="hidden"></iframe>
<div id='layerswitcher' class='olControlLayerSwitcher'></div>
<div id="map" style="width: 85%; height: 100%;"></div>
</div>
<div id="tagselector">
User POIs
<div>
<textarea id="tagselector_input" cols="30" rows="20">
Instructions:
•To find breweries use:
craft=brewery
•Where is grass?
landuse=grass
•To find all shops use:
shop
•all shops without phone:
shop][phone!~"."
•Also yes/no as value:
tourism=yes
•Any e-mail address (use quotes):
"contact:email"
•Anything IN name:
{name}amenity=school
•Something near to something else:
key1=val(distance)key2=val
•Press clear before you enter something!
</textarea>
<br/>
<button id="show_button">show</button>
<button id="clear_button">clear</button>
<button id="save_button">save</button>
<button id="load_button">load</button>
</div>
</div>
<div id="titel" class="titel">
<table width="100%" border="0" cellspacing="0" cellpadding="6" height="100%">
<tr>
<td class="hostedby" style="border-bottom:1px solid #000000;border-right:1px solid #000000;">Hosted by<br><a href="http://oxilion.nl" target="_blank">oxillion.nl</a></td>
<td colspan="3" class="kaartnaam" style="border-bottom:1px solid #000000;border-right:1px solid #000000;" align="center">OPM - Taglocator <a href='https://wiki.openstreetmap.org/wiki/Taglocator' target='_blank'><img src='img/help.gif'></a> 1.29b</td>
<td id="userpoilayer" class="dorment" style="border-bottom:1px solid #000000;" onclick="switchtab(this.id,tabtype.name);"align="center">User pois</td>
</tr>
<tr>
<td id="amenity" class="dorment" style="border-right:1px solid #000000;border-bottom:1px solid #000000;" onclick="switchtab(this.id,tabtype.name);"align="center">Amenity</td>
<td id="hotels" class="dorment" style="border-right:1px solid #000000;border-bottom:1px solid #000000;" onclick="switchtab(this.id,tabtype.name);"align="center">Hotels</td>
<td id="restaurants" class="dorment" style="border-right:1px solid #000000;border-bottom:1px solid #000000;" onclick="switchtab(this.id,tabtype.name);"align="center">Restaurants</td>
<td id="shop" class="dorment" style="border-right:1px solid #000000;border-bottom:1px solid #000000;" onclick="switchtab(this.id,tabtype.name);"align="center">Shop</td>
<td id="sport" class="dorment" style="border-bottom:1px solid #000000;" onclick="switchtab(this.id,tabtype.name);"align="center">Sport</td>
</tr>
<tr>
<td id="various" class="dorment" style="border-right:1px solid #000000;" onclick="switchtab(this.id,tabtype.name);"align="center">Various</td>
<td id="tourism" class="dorment" style="border-right:1px solid #000000;" onclick="switchtab(this.id,tabtype.name);"align="center">Tourism</td>
<td id="food" class="dorment" style="border-right:1px solid #000000;" onclick="switchtab(this.id,tabtype.name);"align="center">Food shops</td>
<td id="clearall" class="action" style="border-right:1px solid #000000;" onclick="tabtype.clearall();" align="center">clear all</td>
<td id="select" class="action" onclick="tabtype.selectall();" align="center">set all</td>
</tr>
</table>
</div>
<div id="statusline" class="statusline">
</div>
</body>
</html>