Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
329 lines (323 loc) · 18.2 KB
/
Copy pathindex.html
File metadata and controls
329 lines (323 loc) · 18.2 KB
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="nl" xml:lang="nl">
<head>
<title>PDOK Kaartwizard</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" href="css/rijkshuisstijl/screen.css" type="text/css" media="screen" />
<!--[if IE 8]><link rel="stylesheet" href="css/rijkshuisstijl/ie/ie8.css" type="text/css" media="screen" /><![endif]-->
<!--[if lte IE 7]><link rel="stylesheet" href="css/rijkshuisstijl/ie/ie7.css" type="text/css" media="screen" /><![endif]-->
<!--[if lte IE 6]><link rel="stylesheet" href="css/rijkshuisstijl/ie/ie6.css" type="text/css" media="screen" /><![endif]-->
<link rel="stylesheet" href="css/rijkshuisstijl/print.css" type="text/css" media="print" />
<link rel="stylesheet" href="css/rijkshuisstijl/toevoeging.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/rijkshuisstijl/iconids.css" type="text/css" media="screen" />
<link rel="stylesheet" href="api/styles/default/style.css" type="text/css" />
<link rel="stylesheet" href="api/styles/api.css" type="text/css" />
<link rel="stylesheet" href="css/main.css" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="api/js/OpenLayers.js"></script>
<script type="text/javascript" src="api/js/proj4js-compressed.js"></script>
<script type="text/javascript" src="api/js/pdok-api.js"></script>
<script type="text/javascript" src="js/wizard.js"></script>
<script type="text/javascript" src="js/geozetlib.js"></script>
<!--<script type="text/javascript" src="js/Geozet.js"></script>
<script type="text/javascript" src="js/Geozet/Format/XLSLUS.js"></script>
<script type="text/javascript" src="js/Geozet/Format/XLSAddress.js"></script>
<script type="text/javascript" src="js/Geozet/Format/XLSLUS/v1.js"></script>
<script type="text/javascript" src="js/Geozet/Format/XLSLUS/v1_1_0.js"></script>-->
</head>
<body>
<div class="container equalize page orange default">
<div class="header">
<span></span>
<div class="branding">
<img alt="PDOK" src="img/PDOK-logo.png" />
<h1 class="invisible">PDOK Kaart Wizard</h1>
</div>
<div class="nav_bar">
<ul class="nav_main">
<li>
<a href="http://drupal.pdokloket.nl">Home</a>
</li>
<li class="sel">
<a class="active" href="#">PDOK Wizard</a>
</li>
<li>
<a href="help.html">Help</a>
</li>
<!-- Moet dit er nog in blijven? Voorlopig alleen uitgecommentarieerd -->
<!--<li>
<a href="./documentatie">Documentatie</a>
</li>
<li>
<a href="./examples">Voorbeelden</a>
</li> -->
</ul>
</div>
</div>
<div class="content_wrapper1">
<div class="content_wrapper2">
<div id="content">
<div id="map"> </div>
<div id="geocodeerresult" class="popInWindow">
<span id="closedrawlocation" class="closeWindow">
<a id="closedrawlocationhref" href="#" >
<img src="api/styles/default/img/close.gif" alt="Sluiten" title="Sluiten" />
</a></span>
Hier komen de resultaten van de geocodeerservice
</div>
<div id="search" class="stepwrapper">
<form action="#" id="searchForm" name="searchForm" onsubmit="searchLocationChanged();return false;">
Zoek een locatie:
<input id="searchLocation" type="text" value="" name="searchLocation" class="autopopulate default" title="adres, postcode of plaatsnaam" />
<button type="submit" id="searchlocbutton" class="filterbutton">
Zoek</button>
</form>
</div>
<!-- Step 1 - Your map -->
<div id="step1" class="stepwrapper active">
<h2>
<a id="goto1" >Stap 1: De kaart</a>
<span class="help">
<a href="help.html#help1" target="help">Help</a>
</span>
</h2>
<form action="#">
<div class="row">
<p>Selecteer een kaartgrootte:</p>
<div class="row">
<input type="radio" name="mapsize" id="mapsize1" value="small" />
<label for="mapsize1"> Klein (300x250 pixels)</label>
</div>
<div class="row">
<input type="radio" name="mapsize" id="mapsize2" value="medium" checked="checked" />
<label for="mapsize2"> Middel (400x350 pixels)</label>
</div>
<div class="row">
<input type="radio" name="mapsize" id="mapsize3" value="large" checked="checked" />
<label for="mapsize3"> Groot (550x440 pixels)</label>
</div>
<div class="row">
<input type="checkbox" name="maplayerswitcher" id="maplayerswitcher" checked="checked" />
<label for="maplayerswitcher"> Toon knop kaartlagen</label>
</div>
</div>
</form>
</div>
<!-- Step 2 - Add markers -->
<div id="step2" class="stepwrapper">
<h2>
<a id="goto2">Stap 2: Markers</a>
<span class="help">
<a href="help.html#help2" target="help">Help</a>
</span>
</h2>
<form action="#" name="editmarkers" id="editmarkers">
<div>
<!-- add markers via map -->
<div class="row">
<label>
<input type="radio" name="editmarkers" id="addfeatures" value="addfeatures" class="lefting" />
Voeg een marker toe
</label>
</div>
<div id="addviamap">
<div id="addviamap2" class="row">Selecteer een symbool uit de lijst en klik op de kaart</div>
<div id="edit2" class="row">
<!-- used for the style selector -->
</div>
<div id="edit2a" class="row">
<!-- used for editing of description and title -->
</div>
</div>
<!-- edit markers via map -->
<div id="edit3">
<label>
<input type="radio" name="editmarkers" id="editfeatures" value="editfeatures" class="lefting" />
Wijzig een marker
</label>
</div>
<div class="row" id="editviamap">Selecteer een marker op de kaart en wijzig de tekst, verplaats of verwijder de marker</div>
<!-- add markers via url or text string -->
<div id="edit4" class="row">
<label>
<input type="radio" name="editmarkers" id="externalfeatures" value="externalfeatures" class="lefting" />
Markers uit url, bestand of tekst
</label>
<br />
</div>
<div id="addviaurltxt">
<p><strong>Via URL</strong> Kies datatype, en geef de URL waar het bestand met markerdefinities zich bevindt klik dan "Haal op ":</p>
<label><input type="radio" checked="checked" name="urltype" value="kml" class="lefting" />KML</label>
<label><input type="radio" name="urltype" value="txt" class="lefting" />TXT</label>
<input type="text" id="urltext" class="autopopulate default" title="Voer een volledige url in (startend met http://)"/>
<button id="getfeaturesfromurl" class="filterbutton">Haal op</button>
<br />
<p><strong>Via Copy/Paste</strong> Kies datatype, kopieer de markers als tekst in het onderstaande tekstveld en kies voor "Opslaan":</p>
<label><input type="radio" name="txttype" value="kml" class="lefting" />KML</label>
<label><input type="radio" checked="checked" name="txttype" value="txt" class="lefting" />TXT</label>
<!--<textarea id="copypaste" class="autopopulate default" rows="10" cols="10" title="TXT voorbeeld:
# LET OP: eerst Y dan X (latlon!!)
point title description
517000,17960 naam en omschrijving"></textarea>-->
<textarea id="copypaste" class="autopopulate default" rows="10" cols="10" title=""></textarea>
<button id="getfeaturesfromtxt" class="filterbutton">Opslaan</button>
</div>
</div>
</form>
</div>
<!-- Step 4 optie -->
<div id="step3" class="stepwrapper">
<h2>
<a href="#" id="goto3">Optie: Extra kaartlaag toevoegen</a>
<span class="help">
<a href="help.html#help3" target="help">Help</a>
</span>
</h2>
<form action="#">
<h3>Voeg een standaard kaartlaag toe</h3><div id="divpdoklayerselector"> </div>
<button id="addpdoklayerbutton" class="filterbutton" >Voeg toe aan kaart</button><h3>Voeg een WMS kaartlaag toe</h3>
URL van de WMS:<br />
<input type="text" id="wmsUrl" class="autopopulate default" title="bijv: http://geodata.nationaalgeoregister.nl/bevolkingskernen2008/wms" size="30" /><br />
Lagen van de WMS:<br />
<input type="text" id="wmsLayer" class="autopopulate default" title="bijv: provgrens_generalisatie_2008" size="30" /><br />
<button id="addwmslayerbutton" class="filterbutton" >Voeg toe aan kaart</button>
<h3>Voeg een WMTS kaartlaag toe</h3>
URL van de WMTS:<br />
<input type="text" id="WmtsUrl" class="autopopulate default" title="bijv: http://geodata.nationaalgeoregister.nl/wmts/" size="30" /><br />
Laagnaam van de WMTS:<br />
<input type="text" id="WmtsLayer" class="autopopulate default" title="bijv: natura2000" size="30" /><br />
Matrixset van de WMTS:<br />
<input type="text" id="WmtsMatrix" class="autopopulate default" title="bijv: EPSG:28992" size="30" /><br />
<button id="addwmtslayerbutton" class="filterbutton" >Voeg toe aan kaart</button>
<button id="deletelayers" class="filterbutton" ><span>Verwijder alle lagen</span></button>
</form>
</div>
<!-- Step 5 optie -->
<div id="step4" class="stepwrapper">
<h2>
<a href="#" id="goto4">Optie: Kaartprikker functionaliteit toevoegen</a>
<span class="help">
<a href="help.html#help4" target="help">Help</a>
</span>
</h2>
<form id="locationtoolform" action="#">
<div class="row">
Selecteer een tekenobject en vul de veldnaam in waar de waarde ingezet moet worden
</div>
<div class="row">
<label><input type="radio" name="locationtoolstyle" id="none" value="mt0" class="lefting" checked="checked" />
geen
</label>
<br />
<label><input type="radio" name="locationtoolstyle" id="pointxy" value="mt0" class="lefting" />
punt (xy)
</label>
<label><input type="radio" name="locationtoolstyle" id="point" value="mt0" class="lefting" />
punt (wkt)
</label>
<label><input type="radio" name="locationtoolstyle" id="line" value="lt0" class="lefting" />
lijn (wkt)
</label>
<label><input type="radio" name="locationtoolstyle" id="polygon" value="pt0" class="lefting" />
vlak (wkt)
</label>
</div>
<div id="locationtoolfield" class="row">
<label id="wktfield" >Veldnaam (wkt): <input type="text" value="wkt" /></label>
<label id="xfield" >X-coordinaat: <input type="text" value="x" /></label>
<label id="yfield" >Y-coordinaat: <input type="text" value="y" /></label>
</div>
<div id="locationtoolzooms" >
<div class="row">
Geef aan vanaf en tot welk niveau de kaartprikker gebruikt mag worden
</div>
<div class="row">
<label>
Kaartprikker mogelijk vanaf zoom niveau:
<select id="zmin"><option value="0">0</option><option value="1">1</option><option value="2" selected="selected">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option></select>
</label>
</div>
<div class="row">
<label>
Kaartprikker mogelijk tot en met zoom niveau:
<select id="zmax"><option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14" selected="selected">14</option></select>
</label>
</div>
</div>
</form>
</div>
<!-- Step 6 - Save and download code -->
<div id="step5" class="stepwrapper">
<h2>
<a id="goto5" >Stap 3: Genereer
code</a>
<span class="help">
<a href="help.html#help5" target="help">Help</a>
</span>
</h2>
<form action="#" name="savecode" id="savecode">
<div class="row_right">
<p><strong>Als URL</strong></p>
<textarea id="generated_url_to_long_message" rows="4" cols="10"></textarea>
<div id="generated_url">
<a href="#" id="apilink1" target="_blank">Link</a> losse kaart:
<input type="text" value="" id="apilink2" />
<a href="#" id="apilink3"><img src="img/email.png" alt="Verstuur link per email" title="Verstuur link per email" /></a>
<br/>Embed HTML iframe:
<input type="text" value="" id="embedhtmliframe" />
<br/>Embed HTML Object tag:<br />
<input type="text" value="" id="embedhtmlobject" />
</div>
<div id="generated_html">
<p><strong>Als broncode</strong></p>
In de HTML Head-sectie plaatsen:
<textarea id="scriptcodeHead" rows="12" cols="10"></textarea>
<br/>In de HTML Body-sectie plaatsen:
<textarea id="scriptcodeBody" rows="4" cols="10"></textarea>
</div>
</div>
</form>
</div>
<!--<h3 id="importfile"><input type="file" id="files" name="files[]" /><output id="list"></output></h3>
<script>
function handleFileSelect(evt) {
var files = evt.target.files; // FileList object
// Loop through the FileList and render image files as thumbnails.
for (var i = 0, f; f = files[i]; i++) {
// Only process image files.
//if (!f.type.match('image.*')) {
// continue;
//}
var reader = new FileReader();
// Closure to capture the file information.
reader.onload = (function(theFile) {
return function(e) {
// Render thumbnail.
//var span = document.createElement('span');
//span.innerHTML = ['<img class="thumb" src="', e.target.result,
// '" title="', escape(theFile.name), '"/>'].join('');
//document.getElementById('list').insertBefore(span, null);
//alert(e.target.result);
ZetMarkersOpKaart(e.target.result);
};
})(f);
// Read in the image file as a data URL.
reader.readAsText(f);
}
}
document.getElementById('files').addEventListener('change', handleFileSelect, false);
</script> -->
<div class="stepwrapper">
<div class="row">
<button id="opties" class="filterbutton" value="Meer opties">
<span>Meer opties</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>