Project

General

Profile

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<TITLE>
6
GLOBALS
7
</TITLE>
8
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
9
</HEAD>
10
<SCRIPT>
11
function asd()
12
{
13
parent.document.title="GLOBALS";
14
}
15
</SCRIPT>
16
<BODY BGCOLOR="white" onload="asd();">
17

    
18
<!-- ========== START OF NAVBAR ========== -->
19
<A NAME="navbar_bottom"><!-- --></A>
20
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
21
<TR>
22
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
23
<A NAME="navbar_bottom_firstrow"><!-- --></A>
24
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
25
  <TR ALIGN="center" VALIGN="top">
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
27
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">File</FONT>&nbsp;</TD>
28
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
29
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
30
  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
31
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
32
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
33
  </TR>
34
</TABLE>
35
</TD>
36
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
37
<B><a href='http://mapbuilder.sourceforge.net'>Community Map Builder</a> 27 Apr 2008</B>
38
</EM>
39
</TD
40
</TR>
41

    
42
<TR>
43
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
44
&nbsp;<A HREF="GetFeatureInfoWSR.html"><B>PREV CLASS</B></A><!-- 
45
   NEXT CLASS 
46
-->
47
&nbsp;<A HREF="GmlRendererBase.html"><B>NEXT CLASS</B></A></FONT></TD>
48
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
49
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
50
&nbsp;<A HREF="GLOBALS.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
51
&nbsp;
52
<SCRIPT>
53
  <!--
54
  if(window==top) {
55
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
56
  }
57
  //-->
58
</SCRIPT>
59
<NOSCRIPT>
60
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
61
</NOSCRIPT>
62
</FONT></TD>
63
</TR>
64
<TR>
65
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
66
  SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
67
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
68
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
69
</TR>
70
</TABLE>
71
<!-- =========== END OF NAVBAR =========== -->
72
<HR>
73

    
74
<!-- ======== START OF CLASS DATA ======== -->
75
<H2>Class GLOBALS</H2>
76
<PRE>Object
77
   |
78
   +--<b>GLOBALS</b>
79
</PRE>
80

    
81

    
82
<HR>
83
<DL>
84
   <!-- Class definition -->
85
   <DT>class 
86
   <B>GLOBALS</B>
87
   
88

    
89
</DL>
90
   
91
   <HR>
92

    
93
<!-- ======== NESTED CLASS SUMMARY ======== -->
94

    
95
<!-- ======== END NESTED CLASS SUMMARY ======== -->
96

    
97

    
98
<!-- =========== FIELD SUMMARY =========== -->
99

    
100

    
101
   
102

    
103
<!-- =========== END FIELD SUMMARY =========== -->
104

    
105

    
106
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
107

    
108
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
109

    
110
&nbsp;
111

    
112
<!-- ========== METHOD SUMMARY =========== -->
113

    
114
<A NAME="method_summary"><!-- --></A>
115
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
116
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117
<TD COLSPAN=2><FONT SIZE="+2">
118
<B>Method Summary</B></FONT></TD>
119
</TR>
120

    
121

    
122
   <TR BGCOLOR="white" CLASS="TableRowColor">
123
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
124
	 <FONT SIZE="-1">
125
	    <CODE>&lt;static&gt;&nbsp;void</CODE>
126
	 </FONT>
127
      </TD>
128
      <TD>
129
	 <CODE>
130
	    <B>
131
	       <A HREF="#addEvent">addEvent</A></B>(elementObject, eventName, functionObject)
132
	 </CODE>
133
	 <BR>
134
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
135
	 attach an event to an element.
136
      </TD>
137
   </TR>
138

    
139
   <TR BGCOLOR="white" CLASS="TableRowColor">
140
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
141
	 <FONT SIZE="-1">
142
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
143
	 </FONT>
144
      </TD>
145
      <TD>
146
	 <CODE>
147
	    <B>
148
	       <A HREF="#AsciiToNum">AsciiToNum</A></B>( ascii )
149
	 </CODE>
150
	 <BR>
151
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
152
	 
153
      </TD>
154
   </TR>
155

    
156
   <TR BGCOLOR="white" CLASS="TableRowColor">
157
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
158
	 <FONT SIZE="-1">
159
	    <CODE>&lt;static&gt;&nbsp;void</CODE>
160
	 </FONT>
161
      </TD>
162
      <TD>
163
	 <CODE>
164
	    <B>
165
	       <A HREF="#checkIESecurity">checkIESecurity</A></B>()
166
	 </CODE>
167
	 <BR>
168
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
169
	 copied from sarissa, a function to check browser security setting in IE, 
170
 opens a help page if ActiveX objects are disabled.
171
      </TD>
172
   </TR>
173

    
174
   <TR BGCOLOR="white" CLASS="TableRowColor">
175
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
176
	 <FONT SIZE="-1">
177
	    <CODE>&lt;static&gt;&nbsp;void</CODE>
178
	 </FONT>
179
      </TD>
180
      <TD>
181
	 <CODE>
182
	    <B>
183
	       <A HREF="#debug">debug</A></B>(output)
184
	 </CODE>
185
	 <BR>
186
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
187
	 write debugging info to a textbox onscreen.
188
      </TD>
189
   </TR>
190

    
191
   <TR BGCOLOR="white" CLASS="TableRowColor">
192
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
193
	 <FONT SIZE="-1">
194
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
195
	 </FONT>
196
      </TD>
197
      <TD>
198
	 <CODE>
199
	    <B>
200
	       <A HREF="#degToRad">degToRad</A></B>(deg)
201
	 </CODE>
202
	 <BR>
203
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
204
	 
205
      </TD>
206
   </TR>
207

    
208
   <TR BGCOLOR="white" CLASS="TableRowColor">
209
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
210
	 <FONT SIZE="-1">
211
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
212
	 </FONT>
213
      </TD>
214
      <TD>
215
	 <CODE>
216
	    <B>
217
	       <A HREF="#formatMGRS">formatMGRS</A></B>()
218
	 </CODE>
219
	 <BR>
220
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
221
	 
222
      </TD>
223
   </TR>
224

    
225
   <TR BGCOLOR="white" CLASS="TableRowColor">
226
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
227
	 <FONT SIZE="-1">
228
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
229
	 </FONT>
230
      </TD>
231
      <TD>
232
	 <CODE>
233
	    <B>
234
	       <A HREF="#formatNumber">formatNumber</A></B>(aNumber, numDecimals)
235
	 </CODE>
236
	 <BR>
237
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
238
	 
239
      </TD>
240
   </TR>
241

    
242
   <TR BGCOLOR="white" CLASS="TableRowColor">
243
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
244
	 <FONT SIZE="-1">
245
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
246
	 </FONT>
247
      </TD>
248
      <TD>
249
	 <CODE>
250
	    <B>
251
	       <A HREF="#get100kID">get100kID</A></B>( easting, northing, zone_number)
252
	 </CODE>
253
	 <BR>
254
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255
	 Get the two letter 100k designator for a given UTM easting,
256
 northing and zone number value.
257
      </TD>
258
   </TR>
259

    
260
   <TR BGCOLOR="white" CLASS="TableRowColor">
261
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
262
	 <FONT SIZE="-1">
263
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
264
	 </FONT>
265
      </TD>
266
      <TD>
267
	 <CODE>
268
	    <B>
269
	       <A HREF="#get100kSetForZone">get100kSetForZone</A></B>(i)
270
	 </CODE>
271
	 <BR>
272
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
273
	 Given a UTM zone number, figure out the MGRS 100K set it is in.
274
      </TD>
275
   </TR>
276

    
277
   <TR BGCOLOR="white" CLASS="TableRowColor">
278
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
279
	 <FONT SIZE="-1">
280
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
281
	 </FONT>
282
      </TD>
283
      <TD>
284
	 <CODE>
285
	    <B>
286
	       <A HREF="#getAbsPos">getAbsPos</A></B>(elt,which)
287
	 </CODE>
288
	 <BR>
289
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
290
	 TBD: Comment me.
291
      </TD>
292
   </TR>
293

    
294
   <TR BGCOLOR="white" CLASS="TableRowColor">
295
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
296
	 <FONT SIZE="-1">
297
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
298
	 </FONT>
299
      </TD>
300
      <TD>
301
	 <CODE>
302
	    <B>
303
	       <A HREF="#getAbsX">getAbsX</A></B>(elt)
304
	 </CODE>
305
	 <BR>
306
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
307
	 
308
      </TD>
309
   </TR>
310

    
311
   <TR BGCOLOR="white" CLASS="TableRowColor">
312
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
313
	 <FONT SIZE="-1">
314
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
315
	 </FONT>
316
      </TD>
317
      <TD>
318
	 <CODE>
319
	    <B>
320
	       <A HREF="#getAbsY">getAbsY</A></B>(elt)
321
	 </CODE>
322
	 <BR>
323
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
324
	 get the absolute position of HTML element NS4, IE4/5 & NS6, even if it's in a table.
325
      </TD>
326
   </TR>
327

    
328
   <TR BGCOLOR="white" CLASS="TableRowColor">
329
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
330
	 <FONT SIZE="-1">
331
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
332
	 </FONT>
333
      </TD>
334
      <TD>
335
	 <CODE>
336
	    <B>
337
	       <A HREF="#getArgs">getArgs</A></B>()
338
	 </CODE>
339
	 <BR>
340
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
341
	 parse comma-separated name=value argument pairs from the query string of the URL; the function stores name=value pairs in properties of an object and returns that object.
342
      </TD>
343
   </TR>
344

    
345
   <TR BGCOLOR="white" CLASS="TableRowColor">
346
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
347
	 <FONT SIZE="-1">
348
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
349
	 </FONT>
350
      </TD>
351
      <TD>
352
	 <CODE>
353
	    <B>
354
	       <A HREF="#getGeoCoordX">getGeoCoordX</A></B>(context, xCooord)
355
	 </CODE>
356
	 <BR>
357
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
358
	 convert screen x coordinate to geographic coordinate.
359
      </TD>
360
   </TR>
361

    
362
   <TR BGCOLOR="white" CLASS="TableRowColor">
363
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
364
	 <FONT SIZE="-1">
365
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
366
	 </FONT>
367
      </TD>
368
      <TD>
369
	 <CODE>
370
	    <B>
371
	       <A HREF="#getGeoCoordY">getGeoCoordY</A></B>(yCoord)
372
	 </CODE>
373
	 <BR>
374
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
375
	 convert screen coordinate to screen coordinate.
376
      </TD>
377
   </TR>
378

    
379
   <TR BGCOLOR="white" CLASS="TableRowColor">
380
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
381
	 <FONT SIZE="-1">
382
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
383
	 </FONT>
384
      </TD>
385
      <TD>
386
	 <CODE>
387
	    <B>
388
	       <A HREF="#getLetter100kID">getLetter100kID</A></B>( column, row, parm)
389
	 </CODE>
390
	 <BR>
391
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
392
	 Get the two-letter MGRS 100k designator given information
393
 translated from the UTM northing, easting and zone number.
394
      </TD>
395
   </TR>
396

    
397
   <TR BGCOLOR="white" CLASS="TableRowColor">
398
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
399
	 <FONT SIZE="-1">
400
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
401
	 </FONT>
402
      </TD>
403
      <TD>
404
	 <CODE>
405
	    <B>
406
	       <A HREF="#getLetterDesignator">getLetterDesignator</A></B>(lat)
407
	 </CODE>
408
	 <BR>
409
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
410
	 
411
      </TD>
412
   </TR>
413

    
414
   <TR BGCOLOR="white" CLASS="TableRowColor">
415
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
416
	 <FONT SIZE="-1">
417
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
418
	 </FONT>
419
      </TD>
420
      <TD>
421
	 <CODE>
422
	    <B>
423
	       <A HREF="#getNodeValue">getNodeValue</A></B>(sResult)
424
	 </CODE>
425
	 <BR>
426
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
427
	 getNodevalue return value of node
428
 it as OpenLayers style
429
      </TD>
430
   </TR>
431

    
432
   <TR BGCOLOR="white" CLASS="TableRowColor">
433
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
434
	 <FONT SIZE="-1">
435
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
436
	 </FONT>
437
      </TD>
438
      <TD>
439
	 <CODE>
440
	    <B>
441
	       <A HREF="#getPageX">getPageX</A></B>(e)
442
	 </CODE>
443
	 <BR>
444
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
445
	 get the absolute position of a user event (e.g., a mousedown).
446
      </TD>
447
   </TR>
448

    
449
   <TR BGCOLOR="white" CLASS="TableRowColor">
450
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
451
	 <FONT SIZE="-1">
452
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
453
	 </FONT>
454
      </TD>
455
      <TD>
456
	 <CODE>
457
	    <B>
458
	       <A HREF="#getPageY">getPageY</A></B>(e)
459
	 </CODE>
460
	 <BR>
461
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
462
	 get the absolute position of a user event (e.g., a mousedown).
463
      </TD>
464
   </TR>
465

    
466
   <TR BGCOLOR="white" CLASS="TableRowColor">
467
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
468
	 <FONT SIZE="-1">
469
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
470
	 </FONT>
471
      </TD>
472
      <TD>
473
	 <CODE>
474
	    <B>
475
	       <A HREF="#getProxyPlusUrl">getProxyPlusUrl</A></B>(url)
476
	 </CODE>
477
	 <BR>
478
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
479
	 If URL is local, then return URL unchanged,
480
 else return URL of http://proxy?url=URL , or null if proxy not defined.
481
      </TD>
482
   </TR>
483

    
484
   <TR BGCOLOR="white" CLASS="TableRowColor">
485
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
486
	 <FONT SIZE="-1">
487
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
488
	 </FONT>
489
      </TD>
490
      <TD>
491
	 <CODE>
492
	    <B>
493
	       <A HREF="#getScreenX">getScreenX</A></B>(context, xCoord)
494
	 </CODE>
495
	 <BR>
496
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
497
	 convert geographic x coordinate to screen coordinate.
498
      </TD>
499
   </TR>
500

    
501
   <TR BGCOLOR="white" CLASS="TableRowColor">
502
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
503
	 <FONT SIZE="-1">
504
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
505
	 </FONT>
506
      </TD>
507
      <TD>
508
	 <CODE>
509
	    <B>
510
	       <A HREF="#getScreenY">getScreenY</A></B>(context, yCoord)
511
	 </CODE>
512
	 <BR>
513
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
514
	 convert geographic y coordinate to screen coordinate.
515
      </TD>
516
   </TR>
517

    
518
   <TR BGCOLOR="white" CLASS="TableRowColor">
519
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
520
	 <FONT SIZE="-1">
521
	    <CODE>&lt;static&gt;&nbsp;void</CODE>
522
	 </FONT>
523
      </TD>
524
      <TD>
525
	 <CODE>
526
	    <B>
527
	       <A HREF="#handleEventWithObject">handleEventWithObject</A></B>(evt)
528
	 </CODE>
529
	 <BR>
530
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
531
	 handle event attached to an object.
532
      </TD>
533
   </TR>
534

    
535
   <TR BGCOLOR="white" CLASS="TableRowColor">
536
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
537
	 <FONT SIZE="-1">
538
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
539
	 </FONT>
540
      </TD>
541
      <TD>
542
	 <CODE>
543
	    <B>
544
	       <A HREF="#imageLoaded">imageLoaded</A></B>()
545
	 </CODE>
546
	 <BR>
547
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
548
	 
549
      </TD>
550
   </TR>
551

    
552
   <TR BGCOLOR="white" CLASS="TableRowColor">
553
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
554
	 <FONT SIZE="-1">
555
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
556
	 </FONT>
557
      </TD>
558
      <TD>
559
	 <CODE>
560
	    <B>
561
	       <A HREF="#LLtoUTM">LLtoUTM</A></B>()
562
	 </CODE>
563
	 <BR>
564
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
565
	 Converts a set of Longitude and Latitude co-ordinates to UTM
566
 given an ellipsoid
567
      </TD>
568
   </TR>
569

    
570
   <TR BGCOLOR="white" CLASS="TableRowColor">
571
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
572
	 <FONT SIZE="-1">
573
	    <CODE>&lt;static&gt;&nbsp;void</CODE>
574
	 </FONT>
575
      </TD>
576
      <TD>
577
	 <CODE>
578
	    <B>
579
	       <A HREF="#loadCss">loadCss</A></B>(cssFileName)
580
	 </CODE>
581
	 <BR>
582
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
583
	 Dynamically loads a stylesheet into the html page.
584
      </TD>
585
   </TR>
586

    
587
   <TR BGCOLOR="white" CLASS="TableRowColor">
588
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
589
	 <FONT SIZE="-1">
590
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
591
	 </FONT>
592
      </TD>
593
      <TD>
594
	 <CODE>
595
	    <B>
596
	       <A HREF="#makeElt">makeElt</A></B>(type)
597
	 </CODE>
598
	 <BR>
599
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
600
	 create an element and append it to the document body element.
601
      </TD>
602
   </TR>
603

    
604
   <TR BGCOLOR="white" CLASS="TableRowColor">
605
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
606
	 <FONT SIZE="-1">
607
	    <CODE>&lt;static&gt;&nbsp;void</CODE>
608
	 </FONT>
609
      </TD>
610
      <TD>
611
	 <CODE>
612
	    <B>
613
	       <A HREF="#mapbuilderInit">mapbuilderInit</A></B>()
614
	 </CODE>
615
	 <BR>
616
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
617
	 Initialise Mapbuilder if script has been loaded, else wait to be called
618
 again.
619
      </TD>
620
   </TR>
621

    
622
   <TR BGCOLOR="white" CLASS="TableRowColor">
623
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
624
	 <FONT SIZE="-1">
625
	    <CODE>&lt;static&gt;&nbsp;void</CODE>
626
	 </FONT>
627
      </TD>
628
      <TD>
629
	 <CODE>
630
	    <B>
631
	       <A HREF="#mbDebugMessage">mbDebugMessage</A></B>(object, message)
632
	 </CODE>
633
	 <BR>
634
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
635
	 Show a message if the debug property of the object has been set.
636
      </TD>
637
   </TR>
638

    
639
   <TR BGCOLOR="white" CLASS="TableRowColor">
640
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
641
	 <FONT SIZE="-1">
642
	    <CODE>&lt;static&gt;&nbsp;void</CODE>
643
	 </FONT>
644
      </TD>
645
      <TD>
646
	 <CODE>
647
	    <B>
648
	       <A HREF="#mbDoLoad">mbDoLoad</A></B>(initFunction)
649
	 </CODE>
650
	 <BR>
651
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
652
	 Mapbuilder's main initialisation script.
653
      </TD>
654
   </TR>
655

    
656
   <TR BGCOLOR="white" CLASS="TableRowColor">
657
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
658
	 <FONT SIZE="-1">
659
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
660
	 </FONT>
661
      </TD>
662
      <TD>
663
	 <CODE>
664
	    <B>
665
	       <A HREF="#mbFormatMessage">mbFormatMessage</A></B>(messageFormat)
666
	 </CODE>
667
	 <BR>
668
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
669
	 Format a message with the extra arguments.
670
      </TD>
671
   </TR>
672

    
673
   <TR BGCOLOR="white" CLASS="TableRowColor">
674
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
675
	 <FONT SIZE="-1">
676
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
677
	 </FONT>
678
      </TD>
679
      <TD>
680
	 <CODE>
681
	    <B>
682
	       <A HREF="#mbGetMessage">mbGetMessage</A></B>(messageKey)
683
	 </CODE>
684
	 <BR>
685
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
686
	 Get a message from the <code>widgetText</code> file and format it if extra
687
 arguments are passed.
688
      </TD>
689
   </TR>
690

    
691
   <TR BGCOLOR="white" CLASS="TableRowColor">
692
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
693
	 <FONT SIZE="-1">
694
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
695
	 </FONT>
696
      </TD>
697
      <TD>
698
	 <CODE>
699
	    <B>
700
	       <A HREF="#MGRS">MGRS</A></B>()
701
	 </CODE>
702
	 <BR>
703
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
704
	 
705
      </TD>
706
   </TR>
707

    
708
   <TR BGCOLOR="white" CLASS="TableRowColor">
709
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
710
	 <FONT SIZE="-1">
711
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
712
	 </FONT>
713
      </TD>
714
      <TD>
715
	 <CODE>
716
	    <B>
717
	       <A HREF="#NumToAscii">NumToAscii</A></B>( num )
718
	 </CODE>
719
	 <BR>
720
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
721
	 
722
      </TD>
723
   </TR>
724

    
725
   <TR BGCOLOR="white" CLASS="TableRowColor">
726
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
727
	 <FONT SIZE="-1">
728
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
729
	 </FONT>
730
      </TD>
731
      <TD>
732
	 <CODE>
733
	    <B>
734
	       <A HREF="#openPopup">openPopup</A></B>(url, width, height)
735
	 </CODE>
736
	 <BR>
737
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
738
	 open a popup window, adapted from http://www.quirksmode.org/js/croswin.html
739
      </TD>
740
   </TR>
741

    
742
   <TR BGCOLOR="white" CLASS="TableRowColor">
743
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
744
	 <FONT SIZE="-1">
745
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
746
	 </FONT>
747
      </TD>
748
      <TD>
749
	 <CODE>
750
	    <B>
751
	       <A HREF="#postGetLoad">postGetLoad</A></B>(sUri, docToSend, contentType , dir, fileName)
752
	 </CODE>
753
	 <BR>
754
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
755
	 A more flexible interface for loading docs that allows POST et GET param for save model
756
      </TD>
757
   </TR>
758

    
759
   <TR BGCOLOR="white" CLASS="TableRowColor">
760
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
761
	 <FONT SIZE="-1">
762
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
763
	 </FONT>
764
      </TD>
765
      <TD>
766
	 <CODE>
767
	    <B>
768
	       <A HREF="#postLoad">postLoad</A></B>(sUri, docToSend, contentType )
769
	 </CODE>
770
	 <BR>
771
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
772
	 A more flexible interface for loading docs that allows POST and async loading
773
      </TD>
774
   </TR>
775

    
776
   <TR BGCOLOR="white" CLASS="TableRowColor">
777
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
778
	 <FONT SIZE="-1">
779
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
780
	 </FONT>
781
      </TD>
782
      <TD>
783
	 <CODE>
784
	    <B>
785
	       <A HREF="#returnTarget">returnTarget</A></B>(evt)
786
	 </CODE>
787
	 <BR>
788
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
789
	 determine and return the target element of an event.
790
      </TD>
791
   </TR>
792

    
793
   <TR BGCOLOR="white" CLASS="TableRowColor">
794
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
795
	 <FONT SIZE="-1">
796
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
797
	 </FONT>
798
      </TD>
799
      <TD>
800
	 <CODE>
801
	    <B>
802
	       <A HREF="#sld2OlStyle">sld2OlStyle</A></B>(node)
803
	 </CODE>
804
	 <BR>
805
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
806
	 extract a style from a SLD node of an XML doc and return
807
 it as OpenLayers style
808
      </TD>
809
   </TR>
810

    
811
   <TR BGCOLOR="white" CLASS="TableRowColor">
812
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
813
	 <FONT SIZE="-1">
814
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
815
	 </FONT>
816
      </TD>
817
      <TD>
818
	 <CODE>
819
	    <B>
820
	       <A HREF="#sld2UrlParam">sld2UrlParam</A></B>(node)
821
	 </CODE>
822
	 <BR>
823
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
824
	 extract a style from a SLD node of an XML doc and return
825
 it as url parameter for a WMS request
826
      </TD>
827
   </TR>
828

    
829
   <TR BGCOLOR="white" CLASS="TableRowColor">
830
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
831
	 <FONT SIZE="-1">
832
	    <CODE>&lt;static&gt;&nbsp;Object</CODE>
833
	 </FONT>
834
      </TD>
835
      <TD>
836
	 <CODE>
837
	    <B>
838
	       <A HREF="#styleValue">styleValue</A></B>(aSelector, styleKey)
839
	 </CODE>
840
	 <BR>
841
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
842
	 
843
      </TD>
844
   </TR>
845

    
846

    
847
</TABLE>
848

    
849

    
850

    
851
<P>
852
<!-- ========== END METHOD SUMMARY =========== -->
853

    
854

    
855
<!-- ============ FIELD DETAIL START =========== -->
856

    
857

    
858
<!-- ============ FIELD DETAIL END =========== -->
859

    
860
    <!-- ========= CONSTRUCTOR DETAIL START ======== -->
861

    
862

    
863
<!-- Constructor return value(s) -->
864

    
865
<!-- End constructor return value(s) -->
866

    
867
<!-- ADDITIONAL ATTRIBUTES -->
868

    
869
<HR/>
870
<!-- END ADDITIONAL ATTRIBUTES  -->
871

    
872
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
873

    
874

    
875
<!-- ============ METHOD DETAIL START ========== -->
876

    
877
<A NAME="method_detail"><!-- --></A>
878
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
879
   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
880
      <TD COLSPAN=1><FONT SIZE="+2">
881
         <B>Method Detail</B></FONT>
882
      </TD>
883
   </TR>
884
</TABLE>
885

    
886
<!-- One single method detail entry -->
887

    
888
   <A NAME="addEvent"><!-- --></A>
889
   <H3>addEvent</H3>
890
   <PRE>&lt;static&gt; void <B>addEvent</B>(elementObject, eventName, functionObject)</PRE>
891
   
892
      <UL>attach an event to an element.</UL>
893
   
894

    
895
   <!-- METHOD PARAMETERS START -->
896
   
897
   <UL>
898
   <B>Parameters:</B>
899
   
900
     <UL><CODE>elementObject</CODE> -  The object.  
901
      </UL> 
902
   
903
     <UL><CODE>eventName</CODE> -  The name of the event.  
904
      </UL> 
905
   
906
     <UL><CODE>functionObject</CODE> -  The function to be called.    
907
      </UL> 
908
   
909
   </UL>
910
   
911
   <!-- METHOD PARAMETERS END -->
912

    
913
   
914

    
915
   <!-- ADDITIONAL ATTRIBUTES START -->
916
   
917
   <!-- ADDITIONAL ATTRIBUTES  END -->
918
<HR>
919

    
920
   <A NAME="AsciiToNum"><!-- --></A>
921
   <H3>AsciiToNum</H3>
922
   <PRE>&lt;static&gt; Object <B>AsciiToNum</B>( ascii )</PRE>
923
   
924

    
925
   <!-- METHOD PARAMETERS START -->
926
   
927
   <!-- METHOD PARAMETERS END -->
928

    
929
   
930

    
931
   <!-- ADDITIONAL ATTRIBUTES START -->
932
   
933
   <!-- ADDITIONAL ATTRIBUTES  END -->
934
<HR>
935

    
936
   <A NAME="checkIESecurity"><!-- --></A>
937
   <H3>checkIESecurity</H3>
938
   <PRE>&lt;static&gt; void <B>checkIESecurity</B>()</PRE>
939
   
940
      <UL>copied from sarissa, a function to check browser security setting in IE, 
941
 opens a help page if ActiveX objects are disabled.</UL>
942
   
943

    
944
   <!-- METHOD PARAMETERS START -->
945
   
946
   <!-- METHOD PARAMETERS END -->
947

    
948
   
949

    
950
   <!-- ADDITIONAL ATTRIBUTES START -->
951
   
952
   <!-- ADDITIONAL ATTRIBUTES  END -->
953
<HR>
954

    
955
   <A NAME="debug"><!-- --></A>
956
   <H3>debug</H3>
957
   <PRE>&lt;static&gt; void <B>debug</B>(output)</PRE>
958
   
959
      <UL>write debugging info to a textbox onscreen.</UL>
960
   
961

    
962
   <!-- METHOD PARAMETERS START -->
963
   
964
   <UL>
965
   <B>Parameters:</B>
966
   
967
     <UL><CODE>output</CODE> -  String to be output.    
968
      </UL> 
969
   
970
   </UL>
971
   
972
   <!-- METHOD PARAMETERS END -->
973

    
974
   
975

    
976
   <!-- ADDITIONAL ATTRIBUTES START -->
977
   
978
   <!-- ADDITIONAL ATTRIBUTES  END -->
979
<HR>
980

    
981
   <A NAME="degToRad"><!-- --></A>
982
   <H3>degToRad</H3>
983
   <PRE>&lt;static&gt; Object <B>degToRad</B>(deg)</PRE>
984
   
985

    
986
   <!-- METHOD PARAMETERS START -->
987
   
988
   <!-- METHOD PARAMETERS END -->
989

    
990
   
991

    
992
   <!-- ADDITIONAL ATTRIBUTES START -->
993
   
994
   <!-- ADDITIONAL ATTRIBUTES  END -->
995
<HR>
996

    
997
   <A NAME="formatMGRS"><!-- --></A>
998
   <H3>formatMGRS</H3>
999
   <PRE>&lt;static&gt; Object <B>formatMGRS</B>()</PRE>
1000
   
1001

    
1002
   <!-- METHOD PARAMETERS START -->
1003
   
1004
   <!-- METHOD PARAMETERS END -->
1005

    
1006
   
1007

    
1008
   <!-- ADDITIONAL ATTRIBUTES START -->
1009
   
1010
   <!-- ADDITIONAL ATTRIBUTES  END -->
1011
<HR>
1012

    
1013
   <A NAME="formatNumber"><!-- --></A>
1014
   <H3>formatNumber</H3>
1015
   <PRE>&lt;static&gt; Object <B>formatNumber</B>(aNumber, numDecimals)</PRE>
1016
   
1017

    
1018
   <!-- METHOD PARAMETERS START -->
1019
   
1020
   <!-- METHOD PARAMETERS END -->
1021

    
1022
   
1023

    
1024
   <!-- ADDITIONAL ATTRIBUTES START -->
1025
   
1026
   <!-- ADDITIONAL ATTRIBUTES  END -->
1027
<HR>
1028

    
1029
   <A NAME="get100kID"><!-- --></A>
1030
   <H3>get100kID</H3>
1031
   <PRE>&lt;static&gt; Object <B>get100kID</B>( easting, northing, zone_number)</PRE>
1032
   
1033
      <UL>Get the two letter 100k designator for a given UTM easting,
1034
 northing and zone number value.</UL>
1035
   
1036

    
1037
   <!-- METHOD PARAMETERS START -->
1038
   
1039
   <!-- METHOD PARAMETERS END -->
1040

    
1041
   
1042

    
1043
   <!-- ADDITIONAL ATTRIBUTES START -->
1044
   
1045
   <!-- ADDITIONAL ATTRIBUTES  END -->
1046
<HR>
1047

    
1048
   <A NAME="get100kSetForZone"><!-- --></A>
1049
   <H3>get100kSetForZone</H3>
1050
   <PRE>&lt;static&gt; Object <B>get100kSetForZone</B>(i)</PRE>
1051
   
1052
      <UL>Given a UTM zone number, figure out the MGRS 100K set it is in.</UL>
1053
   
1054

    
1055
   <!-- METHOD PARAMETERS START -->
1056
   
1057
   <!-- METHOD PARAMETERS END -->
1058

    
1059
   
1060

    
1061
   <!-- ADDITIONAL ATTRIBUTES START -->
1062
   
1063
   <!-- ADDITIONAL ATTRIBUTES  END -->
1064
<HR>
1065

    
1066
   <A NAME="getAbsPos"><!-- --></A>
1067
   <H3>getAbsPos</H3>
1068
   <PRE>&lt;static&gt; Object <B>getAbsPos</B>(elt,which)</PRE>
1069
   
1070
      <UL>TBD: Comment me.</UL>
1071
   
1072

    
1073
   <!-- METHOD PARAMETERS START -->
1074
   
1075
   <UL>
1076
   <B>Parameters:</B>
1077
   
1078
     <UL><CODE>elt</CODE> -  TBD  
1079
      </UL> 
1080
   
1081
     <UL><CODE>which</CODE> -  TBD
1082
      </UL> 
1083
   
1084
   </UL>
1085
   
1086
   <!-- METHOD PARAMETERS END -->
1087

    
1088
   
1089

    
1090
   <!-- ADDITIONAL ATTRIBUTES START -->
1091
   
1092
   <!-- ADDITIONAL ATTRIBUTES  END -->
1093
<HR>
1094

    
1095
   <A NAME="getAbsX"><!-- --></A>
1096
   <H3>getAbsX</H3>
1097
   <PRE>&lt;static&gt; Object <B>getAbsX</B>(elt)</PRE>
1098
   
1099

    
1100
   <!-- METHOD PARAMETERS START -->
1101
   
1102
   <!-- METHOD PARAMETERS END -->
1103

    
1104
   
1105

    
1106
   <!-- ADDITIONAL ATTRIBUTES START -->
1107
   
1108
   <!-- ADDITIONAL ATTRIBUTES  END -->
1109
<HR>
1110

    
1111
   <A NAME="getAbsY"><!-- --></A>
1112
   <H3>getAbsY</H3>
1113
   <PRE>&lt;static&gt; Object <B>getAbsY</B>(elt)</PRE>
1114
   
1115
      <UL>get the absolute position of HTML element NS4, IE4/5 & NS6, even if it's in a table.</UL>
1116
   
1117

    
1118
   <!-- METHOD PARAMETERS START -->
1119
   
1120
   <UL>
1121
   <B>Parameters:</B>
1122
   
1123
     <UL><CODE>element</CODE> -  The HTML element.  
1124
      </UL> 
1125
   
1126
   </UL>
1127
   
1128
   <!-- METHOD PARAMETERS END -->
1129

    
1130
   
1131
   <UL>
1132
   <B>Returns:</B>
1133
        <UL>
1134
        Top left Y position. 
1135
        </UL>
1136
   </UL>
1137
   
1138

    
1139
   <!-- ADDITIONAL ATTRIBUTES START -->
1140
   
1141
   <!-- ADDITIONAL ATTRIBUTES  END -->
1142
<HR>
1143

    
1144
   <A NAME="getArgs"><!-- --></A>
1145
   <H3>getArgs</H3>
1146
   <PRE>&lt;static&gt; Object <B>getArgs</B>()</PRE>
1147
   
1148
      <UL>parse comma-separated name=value argument pairs from the query string of the URL; the function stores name=value pairs in properties of an object and returns that object.</UL>
1149
   
1150

    
1151
   <!-- METHOD PARAMETERS START -->
1152
   
1153
   <!-- METHOD PARAMETERS END -->
1154

    
1155
   
1156
   <UL>
1157
   <B>Returns:</B>
1158
        <UL>
1159
        args Array of arguments passed to page, in form args[argname] = value. 
1160
        </UL>
1161
   </UL>
1162
   
1163

    
1164
   <!-- ADDITIONAL ATTRIBUTES START -->
1165
   
1166
   <!-- ADDITIONAL ATTRIBUTES  END -->
1167
<HR>
1168

    
1169
   <A NAME="getGeoCoordX"><!-- --></A>
1170
   <H3>getGeoCoordX</H3>
1171
   <PRE>&lt;static&gt; Object <B>getGeoCoordX</B>(context, xCooord)</PRE>
1172
   
1173
      <UL>convert screen x coordinate to geographic coordinate.</UL>
1174
   
1175

    
1176
   <!-- METHOD PARAMETERS START -->
1177
   
1178
   <UL>
1179
   <B>Parameters:</B>
1180
   
1181
     <UL><CODE>context</CODE> -  The context object.  
1182
      </UL> 
1183
   
1184
     <UL><CODE>xCoord</CODE> -  The screen x coordinate to be converted.  
1185
      </UL> 
1186
   
1187
   </UL>
1188
   
1189
   <!-- METHOD PARAMETERS END -->
1190

    
1191
   
1192
   <UL>
1193
   <B>Returns:</B>
1194
        <UL>
1195
        x the converted x coordinate. 
1196
        </UL>
1197
   </UL>
1198
   
1199

    
1200
   <!-- ADDITIONAL ATTRIBUTES START -->
1201
   
1202
   <!-- ADDITIONAL ATTRIBUTES  END -->
1203
<HR>
1204

    
1205
   <A NAME="getGeoCoordY"><!-- --></A>
1206
   <H3>getGeoCoordY</H3>
1207
   <PRE>&lt;static&gt; Object <B>getGeoCoordY</B>(yCoord)</PRE>
1208
   
1209
      <UL>convert screen coordinate to screen coordinate.</UL>
1210
   
1211

    
1212
   <!-- METHOD PARAMETERS START -->
1213
   
1214
   <UL>
1215
   <B>Parameters:</B>
1216
   
1217
     <UL><CODE>yCoord</CODE> -  The geographic y coordinate to be converted.  
1218
      </UL> 
1219
   
1220
     <UL><CODE>context</CODE> -  The context object.  
1221
      </UL> 
1222
   
1223
   </UL>
1224
   
1225
   <!-- METHOD PARAMETERS END -->
1226

    
1227
   
1228
   <UL>
1229
   <B>Returns:</B>
1230
        <UL>
1231
        y the converted y coordinate. 
1232
        </UL>
1233
   </UL>
1234
   
1235

    
1236
   <!-- ADDITIONAL ATTRIBUTES START -->
1237
   
1238
   <!-- ADDITIONAL ATTRIBUTES  END -->
1239
<HR>
1240

    
1241
   <A NAME="getLetter100kID"><!-- --></A>
1242
   <H3>getLetter100kID</H3>
1243
   <PRE>&lt;static&gt; Object <B>getLetter100kID</B>( column, row, parm)</PRE>
1244
   
1245
      <UL>Get the two-letter MGRS 100k designator given information
1246
 translated from the UTM northing, easting and zone number.</UL>
1247
   
1248

    
1249
   <!-- METHOD PARAMETERS START -->
1250
   
1251
   <UL>
1252
   <B>Parameters:</B>
1253
   
1254
     <UL><CODE>setColumn</CODE> -  the column index as it relates to the MGRS         100k set spreadsheet, created from the UTM easting.         Values are 1-8.  
1255
      </UL> 
1256
   
1257
     <UL><CODE>setRow</CODE> -  the row index as it relates to the MGRS 100k set         spreadsheet, created from the UTM northing value. Values         are from 0-19.  
1258
      </UL> 
1259
   
1260
     <UL><CODE>setParm</CODE> -  the set block, as it relates to the MGRS 100k set         spreadsheet, created from the UTM zone. Values are from         1-60.  
1261
      </UL> 
1262
   
1263
   </UL>
1264
   
1265
   <!-- METHOD PARAMETERS END -->
1266

    
1267
   
1268
   <UL>
1269
   <B>Returns:</B>
1270
        <UL>
1271
        two letter MGRS 100k code. 
1272
        </UL>
1273
   </UL>
1274
   
1275

    
1276
   <!-- ADDITIONAL ATTRIBUTES START -->
1277
   
1278
   <!-- ADDITIONAL ATTRIBUTES  END -->
1279
<HR>
1280

    
1281
   <A NAME="getLetterDesignator"><!-- --></A>
1282
   <H3>getLetterDesignator</H3>
1283
   <PRE>&lt;static&gt; Object <B>getLetterDesignator</B>(lat)</PRE>
1284
   
1285

    
1286
   <!-- METHOD PARAMETERS START -->
1287
   
1288
   <!-- METHOD PARAMETERS END -->
1289

    
1290
   
1291

    
1292
   <!-- ADDITIONAL ATTRIBUTES START -->
1293
   
1294
   <!-- ADDITIONAL ATTRIBUTES  END -->
1295
<HR>
1296

    
1297
   <A NAME="getNodeValue"><!-- --></A>
1298
   <H3>getNodeValue</H3>
1299
   <PRE>&lt;static&gt; Object <B>getNodeValue</B>(sResult)</PRE>
1300
   
1301
      <UL>getNodevalue return value of node
1302
 it as OpenLayers style</UL>
1303
   
1304

    
1305
   <!-- METHOD PARAMETERS START -->
1306
   
1307
   <UL>
1308
   <B>Parameters:</B>
1309
   
1310
     <UL><CODE>node</CODE> -    
1311
      </UL> 
1312
   
1313
   </UL>
1314
   
1315
   <!-- METHOD PARAMETERS END -->
1316

    
1317
   
1318
   <UL>
1319
   <B>Returns:</B>
1320
        <UL>
1321
        return node's value 
1322
        </UL>
1323
   </UL>
1324
   
1325

    
1326
   <!-- ADDITIONAL ATTRIBUTES START -->
1327
   
1328
   <!-- ADDITIONAL ATTRIBUTES  END -->
1329
<HR>
1330

    
1331
   <A NAME="getPageX"><!-- --></A>
1332
   <H3>getPageX</H3>
1333
   <PRE>&lt;static&gt; Object <B>getPageX</B>(e)</PRE>
1334
   
1335
      <UL>get the absolute position of a user event (e.g., a mousedown).</UL>
1336
   
1337

    
1338
   <!-- METHOD PARAMETERS START -->
1339
   
1340
   <UL>
1341
   <B>Parameters:</B>
1342
   
1343
     <UL><CODE>e</CODE> -  The user event.  
1344
      </UL> 
1345
   
1346
   </UL>
1347
   
1348
   <!-- METHOD PARAMETERS END -->
1349

    
1350
   
1351
   <UL>
1352
   <B>Returns:</B>
1353
        <UL>
1354
        Left or top position. 
1355
        </UL>
1356
   </UL>
1357
   
1358

    
1359
   <!-- ADDITIONAL ATTRIBUTES START -->
1360
   
1361
   <!-- ADDITIONAL ATTRIBUTES  END -->
1362
<HR>
1363

    
1364
   <A NAME="getPageY"><!-- --></A>
1365
   <H3>getPageY</H3>
1366
   <PRE>&lt;static&gt; Object <B>getPageY</B>(e)</PRE>
1367
   
1368
      <UL>get the absolute position of a user event (e.g., a mousedown).</UL>
1369
   
1370

    
1371
   <!-- METHOD PARAMETERS START -->
1372
   
1373
   <UL>
1374
   <B>Parameters:</B>
1375
   
1376
     <UL><CODE>e</CODE> -  The user event.  
1377
      </UL> 
1378
   
1379
   </UL>
1380
   
1381
   <!-- METHOD PARAMETERS END -->
1382

    
1383
   
1384
   <UL>
1385
   <B>Returns:</B>
1386
        <UL>
1387
        Left or top position. 
1388
        </UL>
1389
   </UL>
1390
   
1391

    
1392
   <!-- ADDITIONAL ATTRIBUTES START -->
1393
   
1394
   <!-- ADDITIONAL ATTRIBUTES  END -->
1395
<HR>
1396

    
1397
   <A NAME="getProxyPlusUrl"><!-- --></A>
1398
   <H3>getProxyPlusUrl</H3>
1399
   <PRE>&lt;static&gt; Object <B>getProxyPlusUrl</B>(url)</PRE>
1400
   
1401
      <UL>If URL is local, then return URL unchanged,
1402
 else return URL of http://proxy?url=URL , or null if proxy not defined.</UL>
1403
   
1404

    
1405
   <!-- METHOD PARAMETERS START -->
1406
   
1407
   <UL>
1408
   <B>Parameters:</B>
1409
   
1410
     <UL><CODE>url</CODE> -  Url of the file to access.  
1411
      </UL> 
1412
   
1413
   </UL>
1414
   
1415
   <!-- METHOD PARAMETERS END -->
1416

    
1417
   
1418
   <UL>
1419
   <B>Returns:</B>
1420
        <UL>
1421
        Url of the proxy and service in the form http://host/proxy?url=service 
1422
        </UL>
1423
   </UL>
1424
   
1425

    
1426
   <!-- ADDITIONAL ATTRIBUTES START -->
1427
   
1428
   <!-- ADDITIONAL ATTRIBUTES  END -->
1429
<HR>
1430

    
1431
   <A NAME="getScreenX"><!-- --></A>
1432
   <H3>getScreenX</H3>
1433
   <PRE>&lt;static&gt; Object <B>getScreenX</B>(context, xCoord)</PRE>
1434
   
1435
      <UL>convert geographic x coordinate to screen coordinate.</UL>
1436
   
1437

    
1438
   <!-- METHOD PARAMETERS START -->
1439
   
1440
   <UL>
1441
   <B>Parameters:</B>
1442
   
1443
     <UL><CODE>context</CODE> -  The context object.  
1444
      </UL> 
1445
   
1446
     <UL><CODE>xCoord</CODE> -  The geographic x coordinate to be converted.  
1447
      </UL> 
1448
   
1449
   </UL>
1450
   
1451
   <!-- METHOD PARAMETERS END -->
1452

    
1453
   
1454
   <UL>
1455
   <B>Returns:</B>
1456
        <UL>
1457
        x the converted x coordinate. 
1458
        </UL>
1459
   </UL>
1460
   
1461

    
1462
   <!-- ADDITIONAL ATTRIBUTES START -->
1463
   
1464
   <!-- ADDITIONAL ATTRIBUTES  END -->
1465
<HR>
1466

    
1467
   <A NAME="getScreenY"><!-- --></A>
1468
   <H3>getScreenY</H3>
1469
   <PRE>&lt;static&gt; Object <B>getScreenY</B>(context, yCoord)</PRE>
1470
   
1471
      <UL>convert geographic y coordinate to screen coordinate.</UL>
1472
   
1473

    
1474
   <!-- METHOD PARAMETERS START -->
1475
   
1476
   <UL>
1477
   <B>Parameters:</B>
1478
   
1479
     <UL><CODE>context</CODE> -  The context object.  
1480
      </UL> 
1481
   
1482
     <UL><CODE>yCoord</CODE> -  The geographic x coordinate to be converted.  
1483
      </UL> 
1484
   
1485
   </UL>
1486
   
1487
   <!-- METHOD PARAMETERS END -->
1488

    
1489
   
1490
   <UL>
1491
   <B>Returns:</B>
1492
        <UL>
1493
        y the converted x coordinate. 
1494
        </UL>
1495
   </UL>
1496
   
1497

    
1498
   <!-- ADDITIONAL ATTRIBUTES START -->
1499
   
1500
   <!-- ADDITIONAL ATTRIBUTES  END -->
1501
<HR>
1502

    
1503
   <A NAME="handleEventWithObject"><!-- --></A>
1504
   <H3>handleEventWithObject</H3>
1505
   <PRE>&lt;static&gt; void <B>handleEventWithObject</B>(evt)</PRE>
1506
   
1507
      <UL>handle event attached to an object.</UL>
1508
   
1509

    
1510
   <!-- METHOD PARAMETERS START -->
1511
   
1512
   <UL>
1513
   <B>Parameters:</B>
1514
   
1515
     <UL><CODE>evt</CODE> -  The event.    
1516
      </UL> 
1517
   
1518
   </UL>
1519
   
1520
   <!-- METHOD PARAMETERS END -->
1521

    
1522
   
1523

    
1524
   <!-- ADDITIONAL ATTRIBUTES START -->
1525
   
1526
   <!-- ADDITIONAL ATTRIBUTES  END -->
1527
<HR>
1528

    
1529
   <A NAME="imageLoaded"><!-- --></A>
1530
   <H3>imageLoaded</H3>
1531
   <PRE>&lt;static&gt; Object <B>imageLoaded</B>()</PRE>
1532
   
1533

    
1534
   <!-- METHOD PARAMETERS START -->
1535
   
1536
   <!-- METHOD PARAMETERS END -->
1537

    
1538
   
1539

    
1540
   <!-- ADDITIONAL ATTRIBUTES START -->
1541
   
1542
   <!-- ADDITIONAL ATTRIBUTES  END -->
1543
<HR>
1544

    
1545
   <A NAME="LLtoUTM"><!-- --></A>
1546
   <H3>LLtoUTM</H3>
1547
   <PRE>&lt;static&gt; Object <B>LLtoUTM</B>()</PRE>
1548
   
1549
      <UL>Converts a set of Longitude and Latitude co-ordinates to UTM
1550
 given an ellipsoid</UL>
1551
   
1552

    
1553
   <!-- METHOD PARAMETERS START -->
1554
   
1555
   <UL>
1556
   <B>Parameters:</B>
1557
   
1558
     <UL><CODE>ellip</CODE> -  an ellipsoid definition.  
1559
      </UL> 
1560
   
1561
     <UL><CODE>llpoint</CODE> -  the coordinate to be converted  
1562
      </UL> 
1563
   
1564
     <UL><CODE>utmpoint</CODE> -  A UTMPoint instance to put the results in. If         null, a new UTMPoint will be allocated.  
1565
      </UL> 
1566
   
1567
   </UL>
1568
   
1569
   <!-- METHOD PARAMETERS END -->
1570

    
1571
   
1572
   <UL>
1573
   <B>Returns:</B>
1574
        <UL>
1575
        A UTM class instance containing the value of          <code>null</code> if conversion failed. If you pass          in a UTMPoint, it will be returned as well if          successful. 
1576
        </UL>
1577
   </UL>
1578
   
1579

    
1580
   <!-- ADDITIONAL ATTRIBUTES START -->
1581
   
1582
   <!-- ADDITIONAL ATTRIBUTES  END -->
1583
<HR>
1584

    
1585
   <A NAME="loadCss"><!-- --></A>
1586
   <H3>loadCss</H3>
1587
   <PRE>&lt;static&gt; void <B>loadCss</B>(cssFileName)</PRE>
1588
   
1589
      <UL>Dynamically loads a stylesheet into the html page.</UL>
1590
   
1591

    
1592
   <!-- METHOD PARAMETERS START -->
1593
   
1594
   <UL>
1595
   <B>Parameters:</B>
1596
   
1597
     <UL><CODE>cssFileName</CODE> -  name of the file to load, relative to config.skinDir    
1598
      </UL> 
1599
   
1600
   </UL>
1601
   
1602
   <!-- METHOD PARAMETERS END -->
1603

    
1604
   
1605

    
1606
   <!-- ADDITIONAL ATTRIBUTES START -->
1607
   
1608
   <!-- ADDITIONAL ATTRIBUTES  END -->
1609
<HR>
1610

    
1611
   <A NAME="makeElt"><!-- --></A>
1612
   <H3>makeElt</H3>
1613
   <PRE>&lt;static&gt; Object <B>makeElt</B>(type)</PRE>
1614
   
1615
      <UL>create an element and append it to the document body element.</UL>
1616
   
1617

    
1618
   <!-- METHOD PARAMETERS START -->
1619
   
1620
   <UL>
1621
   <B>Parameters:</B>
1622
   
1623
     <UL><CODE>type</CODE> -  The type of element to be created.  
1624
      </UL> 
1625
   
1626
   </UL>
1627
   
1628
   <!-- METHOD PARAMETERS END -->
1629

    
1630
   
1631
   <UL>
1632
   <B>Returns:</B>
1633
        <UL>
1634
        node The node created and appended. 
1635
        </UL>
1636
   </UL>
1637
   
1638

    
1639
   <!-- ADDITIONAL ATTRIBUTES START -->
1640
   
1641
   <!-- ADDITIONAL ATTRIBUTES  END -->
1642
<HR>
1643

    
1644
   <A NAME="mapbuilderInit"><!-- --></A>
1645
   <H3>mapbuilderInit</H3>
1646
   <PRE>&lt;static&gt; void <B>mapbuilderInit</B>()</PRE>
1647
   
1648
      <UL>Initialise Mapbuilder if script has been loaded, else wait to be called
1649
 again.</UL>
1650
   
1651

    
1652
   <!-- METHOD PARAMETERS START -->
1653
   
1654
   <!-- METHOD PARAMETERS END -->
1655

    
1656
   
1657

    
1658
   <!-- ADDITIONAL ATTRIBUTES START -->
1659
   
1660
   <!-- ADDITIONAL ATTRIBUTES  END -->
1661
<HR>
1662

    
1663
   <A NAME="mbDebugMessage"><!-- --></A>
1664
   <H3>mbDebugMessage</H3>
1665
   <PRE>&lt;static&gt; void <B>mbDebugMessage</B>(object, message)</PRE>
1666
   
1667
      <UL>Show a message if the debug property of the object has been set.</UL>
1668
   
1669

    
1670
   <!-- METHOD PARAMETERS START -->
1671
   
1672
   <UL>
1673
   <B>Parameters:</B>
1674
   
1675
     <UL><CODE>object</CODE> -   the object that possibly has the debug property set  
1676
      </UL> 
1677
   
1678
     <UL><CODE>message</CODE> -  the message to show    
1679
      </UL> 
1680
   
1681
   </UL>
1682
   
1683
   <!-- METHOD PARAMETERS END -->
1684

    
1685
   
1686

    
1687
   <!-- ADDITIONAL ATTRIBUTES START -->
1688
   
1689
   <!-- ADDITIONAL ATTRIBUTES  END -->
1690
<HR>
1691

    
1692
   <A NAME="mbDoLoad"><!-- --></A>
1693
   <H3>mbDoLoad</H3>
1694
   <PRE>&lt;static&gt; void <B>mbDoLoad</B>(initFunction)</PRE>
1695
   
1696
      <UL>Mapbuilder's main initialisation script.
1697
 This should be called from the main html file using:
1698
   <body onload="mbDoLoad()"></UL>
1699
   
1700

    
1701
   <!-- METHOD PARAMETERS START -->
1702
   
1703
   <UL>
1704
   <B>Parameters:</B>
1705
   
1706
     <UL><CODE>initFunction</CODE> -  Optional - A function reference that will be called after   config.init() has been called.  This is to give application code a chance to  do initialization and be guaranteed that all objects exist (inlcuding config).    
1707
      </UL> 
1708
   
1709
   </UL>
1710
   
1711
   <!-- METHOD PARAMETERS END -->
1712

    
1713
   
1714

    
1715
   <!-- ADDITIONAL ATTRIBUTES START -->
1716
   
1717
   <!-- ADDITIONAL ATTRIBUTES  END -->
1718
<HR>
1719

    
1720
   <A NAME="mbFormatMessage"><!-- --></A>
1721
   <H3>mbFormatMessage</H3>
1722
   <PRE>&lt;static&gt; Object <B>mbFormatMessage</B>(messageFormat)</PRE>
1723
   
1724
      <UL>Format a message with the extra arguments. <br/>
1725
 E.g. if called as: <code>mbFormatMessage("{1} is {0} {2}, {1}", "a good", "this", "test")</code><br/>
1726
 the formatted message returned is: <code>"this is a good test, this"</code></UL>
1727
   
1728

    
1729
   <!-- METHOD PARAMETERS START -->
1730
   
1731
   <UL>
1732
   <B>Parameters:</B>
1733
   
1734
     <UL><CODE>messageFormat</CODE> -  the message format string  
1735
      </UL> 
1736
   
1737
     <UL><CODE>varArgs</CODE> -        optional extra parameters for formatting the message  
1738
      </UL> 
1739
   
1740
   </UL>
1741
   
1742
   <!-- METHOD PARAMETERS END -->
1743

    
1744
   
1745
   <UL>
1746
   <B>Returns:</B>
1747
        <UL>
1748
        the formatted message 
1749
        </UL>
1750
   </UL>
1751
   
1752

    
1753
   <!-- ADDITIONAL ATTRIBUTES START -->
1754
   
1755
   <!-- ADDITIONAL ATTRIBUTES  END -->
1756
<HR>
1757

    
1758
   <A NAME="mbGetMessage"><!-- --></A>
1759
   <H3>mbGetMessage</H3>
1760
   <PRE>&lt;static&gt; Object <B>mbGetMessage</B>(messageKey)</PRE>
1761
   
1762
      <UL>Get a message from the <code>widgetText</code> file and format it if extra
1763
 arguments are passed.</UL>
1764
   
1765

    
1766
   <!-- METHOD PARAMETERS START -->
1767
   
1768
   <UL>
1769
   <B>Parameters:</B>
1770
   
1771
     <UL><CODE>messageKey</CODE> -        the message key within the message node  
1772
      </UL> 
1773
   
1774
     <UL><CODE>varArgs</CODE> -           optional extra parameters for formatting the message  
1775
      </UL> 
1776
   
1777
   </UL>
1778
   
1779
   <!-- METHOD PARAMETERS END -->
1780

    
1781
   
1782
   <UL>
1783
   <B>Returns:</B>
1784
        <UL>
1785
        <code>"NoMsgsFound"</code> if the <code>widgetText</code> file is not found,<br/>                          the <code>messageKey</code> if the message key was not found within the message node,<br/>                          the (formatted) message if it was found 
1786
        </UL>
1787
   </UL>
1788
   
1789

    
1790
   <!-- ADDITIONAL ATTRIBUTES START -->
1791
   
1792
   <!-- ADDITIONAL ATTRIBUTES  END -->
1793
<HR>
1794

    
1795
   <A NAME="MGRS"><!-- --></A>
1796
   <H3>MGRS</H3>
1797
   <PRE>&lt;static&gt; Object <B>MGRS</B>()</PRE>
1798
   
1799

    
1800
   <!-- METHOD PARAMETERS START -->
1801
   
1802
   <!-- METHOD PARAMETERS END -->
1803

    
1804
   
1805

    
1806
   <!-- ADDITIONAL ATTRIBUTES START -->
1807
   
1808
   <!-- ADDITIONAL ATTRIBUTES  END -->
1809
<HR>
1810

    
1811
   <A NAME="NumToAscii"><!-- --></A>
1812
   <H3>NumToAscii</H3>
1813
   <PRE>&lt;static&gt; Object <B>NumToAscii</B>( num )</PRE>
1814
   
1815

    
1816
   <!-- METHOD PARAMETERS START -->
1817
   
1818
   <!-- METHOD PARAMETERS END -->
1819

    
1820
   
1821

    
1822
   <!-- ADDITIONAL ATTRIBUTES START -->
1823
   
1824
   <!-- ADDITIONAL ATTRIBUTES  END -->
1825
<HR>
1826

    
1827
   <A NAME="openPopup"><!-- --></A>
1828
   <H3>openPopup</H3>
1829
   <PRE>&lt;static&gt; Object <B>openPopup</B>(url, width, height)</PRE>
1830
   
1831
      <UL>open a popup window, adapted from http://www.quirksmode.org/js/croswin.html</UL>
1832
   
1833

    
1834
   <!-- METHOD PARAMETERS START -->
1835
   
1836
   <UL>
1837
   <B>Parameters:</B>
1838
   
1839
     <UL><CODE>url</CODE> -  The url of the page to be opened.  
1840
      </UL> 
1841
   
1842
     <UL><CODE>width</CODE> -  Width of the popup window, in pixels.  
1843
      </UL> 
1844
   
1845
     <UL><CODE>height</CODE> -  Height of the popup window, in pixels.
1846
      </UL> 
1847
   
1848
   </UL>
1849
   
1850
   <!-- METHOD PARAMETERS END -->
1851

    
1852
   
1853

    
1854
   <!-- ADDITIONAL ATTRIBUTES START -->
1855
   
1856
   <!-- ADDITIONAL ATTRIBUTES  END -->
1857
<HR>
1858

    
1859
   <A NAME="postGetLoad"><!-- --></A>
1860
   <H3>postGetLoad</H3>
1861
   <PRE>&lt;static&gt; Object <B>postGetLoad</B>(sUri, docToSend, contentType , dir, fileName)</PRE>
1862
   
1863
      <UL>A more flexible interface for loading docs that allows POST et GET param for save model</UL>
1864
   
1865

    
1866
   <!-- METHOD PARAMETERS START -->
1867
   
1868
   <!-- METHOD PARAMETERS END -->
1869

    
1870
   
1871

    
1872
   <!-- ADDITIONAL ATTRIBUTES START -->
1873
   
1874
   <!-- ADDITIONAL ATTRIBUTES  END -->
1875
<HR>
1876

    
1877
   <A NAME="postLoad"><!-- --></A>
1878
   <H3>postLoad</H3>
1879
   <PRE>&lt;static&gt; Object <B>postLoad</B>(sUri, docToSend, contentType )</PRE>
1880
   
1881
      <UL>A more flexible interface for loading docs that allows POST and async loading</UL>
1882
   
1883

    
1884
   <!-- METHOD PARAMETERS START -->
1885
   
1886
   <!-- METHOD PARAMETERS END -->
1887

    
1888
   
1889

    
1890
   <!-- ADDITIONAL ATTRIBUTES START -->
1891
   
1892
   <!-- ADDITIONAL ATTRIBUTES  END -->
1893
<HR>
1894

    
1895
   <A NAME="returnTarget"><!-- --></A>
1896
   <H3>returnTarget</H3>
1897
   <PRE>&lt;static&gt; Object <B>returnTarget</B>(evt)</PRE>
1898
   
1899
      <UL>determine and return the target element of an event.</UL>
1900
   
1901

    
1902
   <!-- METHOD PARAMETERS START -->
1903
   
1904
   <UL>
1905
   <B>Parameters:</B>
1906
   
1907
     <UL><CODE>evt</CODE> -  The event.  
1908
      </UL> 
1909
   
1910
   </UL>
1911
   
1912
   <!-- METHOD PARAMETERS END -->
1913

    
1914
   
1915
   <UL>
1916
   <B>Returns:</B>
1917
        <UL>
1918
        elt The element. 
1919
        </UL>
1920
   </UL>
1921
   
1922

    
1923
   <!-- ADDITIONAL ATTRIBUTES START -->
1924
   
1925
   <!-- ADDITIONAL ATTRIBUTES  END -->
1926
<HR>
1927

    
1928
   <A NAME="sld2OlStyle"><!-- --></A>
1929
   <H3>sld2OlStyle</H3>
1930
   <PRE>&lt;static&gt; Object <B>sld2OlStyle</B>(node)</PRE>
1931
   
1932
      <UL>extract a style from a SLD node of an XML doc and return
1933
 it as OpenLayers style</UL>
1934
   
1935

    
1936
   <!-- METHOD PARAMETERS START -->
1937
   
1938
   <UL>
1939
   <B>Parameters:</B>
1940
   
1941
     <UL><CODE>node</CODE> -  XML node containing the styled layer descriptor  
1942
      </UL> 
1943
   
1944
     <UL><CODE>objRef</CODE> -  reference to the map widget that will use the style  
1945
      </UL> 
1946
   
1947
   </UL>
1948
   
1949
   <!-- METHOD PARAMETERS END -->
1950

    
1951
   
1952
   <UL>
1953
   <B>Returns:</B>
1954
        <UL>
1955
        OpenLayers style object 
1956
        </UL>
1957
   </UL>
1958
   
1959

    
1960
   <!-- ADDITIONAL ATTRIBUTES START -->
1961
   
1962
   <!-- ADDITIONAL ATTRIBUTES  END -->
1963
<HR>
1964

    
1965
   <A NAME="sld2UrlParam"><!-- --></A>
1966
   <H3>sld2UrlParam</H3>
1967
   <PRE>&lt;static&gt; Object <B>sld2UrlParam</B>(node)</PRE>
1968
   
1969
      <UL>extract a style from a SLD node of an XML doc and return
1970
 it as url parameter for a WMS request</UL>
1971
   
1972

    
1973
   <!-- METHOD PARAMETERS START -->
1974
   
1975
   <UL>
1976
   <B>Parameters:</B>
1977
   
1978
     <UL><CODE>node</CODE> -  XML node containing the styled layer descriptor  
1979
      </UL> 
1980
   
1981
   </UL>
1982
   
1983
   <!-- METHOD PARAMETERS END -->
1984

    
1985
   
1986
   <UL>
1987
   <B>Returns:</B>
1988
        <UL>
1989
        WMS-compliant SLD URL parameters as array 
1990
        </UL>
1991
   </UL>
1992
   
1993

    
1994
   <!-- ADDITIONAL ATTRIBUTES START -->
1995
   
1996
   <!-- ADDITIONAL ATTRIBUTES  END -->
1997
<HR>
1998

    
1999
   <A NAME="styleValue"><!-- --></A>
2000
   <H3>styleValue</H3>
2001
   <PRE>&lt;static&gt; Object <B>styleValue</B>(aSelector, styleKey)</PRE>
2002
   
2003

    
2004
   <!-- METHOD PARAMETERS START -->
2005
   
2006
   <!-- METHOD PARAMETERS END -->
2007

    
2008
   
2009

    
2010
   <!-- ADDITIONAL ATTRIBUTES START -->
2011
   
2012
   <!-- ADDITIONAL ATTRIBUTES  END -->
2013
<HR>
2014

    
2015

    
2016

    
2017
<!-- ============ METHOD DETAIL END ========== -->
2018

    
2019
<!-- ========= END OF CLASS DATA ========= -->
2020

    
2021
<!-- ========== START OF NAVBAR ========== -->
2022
<A NAME="navbar_bottom"><!-- --></A>
2023
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
2024
<TR>
2025
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
2026
<A NAME="navbar_bottom_firstrow"><!-- --></A>
2027
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
2028
  <TR ALIGN="center" VALIGN="top">
2029
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
2030
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">File</FONT>&nbsp;</TD>
2031
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
2032
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
2033
  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
2034
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
2035
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
2036
  </TR>
2037
</TABLE>
2038
</TD>
2039
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
2040
<B><a href='http://mapbuilder.sourceforge.net'>Community Map Builder</a> 27 Apr 2008</B>
2041
</EM>
2042
</TD
2043
</TR>
2044

    
2045
<TR>
2046
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2047
&nbsp;<A HREF="GetFeatureInfoWSR.html"><B>PREV CLASS</B></A><!-- 
2048
   NEXT CLASS 
2049
-->
2050
&nbsp;<A HREF="GmlRendererBase.html"><B>NEXT CLASS</B></A></FONT></TD>
2051
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2052
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
2053
&nbsp;<A HREF="GLOBALS.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
2054
&nbsp;
2055
<SCRIPT>
2056
  <!--
2057
  if(window==top) {
2058
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
2059
  }
2060
  //-->
2061
</SCRIPT>
2062
<NOSCRIPT>
2063
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
2064
</NOSCRIPT>
2065
</FONT></TD>
2066
</TR>
2067
<TR>
2068
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2069
  SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
2070
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2071
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
2072
</TR>
2073
</TABLE>
2074

    
2075
<!-- =========== END OF NAVBAR =========== -->
2076

    
2077
<HR>
2078
<FONT SIZE="-1">
2079

    
2080
</FONT>
2081
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Sun Apr 27 20:30:54 2008</div>
2082
</BODY>
2083
</HTML>
(29-29/316)