<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><!--[if !mso]>
<STYLE>
st1\:*{behavior:url(#default#ieooui) }
</STYLE>
<![endif]-->
<STYLE>
<!--
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY vLink=blue link=blue bgColor=white>
<DIV><FONT face=Arial size=2>Thank you Arnaud for your reply!</FONT></DIV>
<DIV><FONT face=Arial size=2>You said: "Please find an example of code for the
different steps". What do you mean?</FONT></DIV>
<DIV><FONT face=Arial size=2>The code you posted is not enough?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If it's not enough, which of the following steps
can I do with that code?</FONT></DIV>
<DIV>1. Create a temporary FeatureSource for an SDF<BR>2. Insert data into the
temporary FeatureSource<BR>3. Create a temporary LayerDefinition that points to
the temporary FeatureSource<BR>4. Insert the temporary layer into the runtime
map<BR>5. Refresh the map<BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you very much again for your
help</FONT></DIV>
<DIV><FONT face=Arial size=2>Cheers</FONT></DIV>
<DIV><FONT face=Arial size=2>Carmelo</FONT></DIV>
<P><FONT face=Arial></FONT>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Arnaud.DeGroof@spacebel.be
href="mailto:Arnaud.DeGroof@spacebel.be">Arnaud De Groof</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=mapguide-users@lists.osgeo.org
href="mailto:mapguide-users@lists.osgeo.org">MapGuide Users Mail List</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 09, 2009 9:37
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [mapguide-users] Adding a
temporary Layer in MapGuide</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Please find an
example of code for the different steps: </SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'"><?php</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">include</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"../../mapviewerphp/constants.php"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">include</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"../../mapviewerphp/common.php"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//include
'common.php';</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//include
'constants.php';</SPAN></FONT><FONT face="Courier New" color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$args</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$_SERVER</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">[</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">'REQUEST_METHOD'</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">]</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">==</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"POST"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">)</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">?</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$_POST</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">:</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$_GET</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$args</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">[</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">'SESSION'</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">];</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mapName</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$args</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">[</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">'MAPNAME'</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">];</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$locale</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"en"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataName</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"test"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$popup</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">0</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$lcolor</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"0000ff"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$ffcolor</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"ff0000"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fbcolor</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"ffffff"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$transparent</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">0</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$distance</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">0</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$units</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Points"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$linestyle</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Solid"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fillstyle</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Solid"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$thickness</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">1</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$merge</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">0</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$foretrans</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">50</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srs</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">""</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$featureName</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Z"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$params</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">null;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//SetLocalizedFilesPath(GetLocalizationPath());</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataSource</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Session:"</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"//"</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataName</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">".FeatureSource"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerDef</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Session:"</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"//"</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataName</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">".LayerDefinition"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">InitializeWebTier();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$cred</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgUserInformation(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$cred</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetClientIp(GetClientIp());</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$cred</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetClientAgent(GetClientAgent());</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//connect to
the site and get a feature service and a resource service
instances</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$site</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgSiteConnection();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$site</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->Open(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$cred</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$featureSrvc</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$site</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->CreateService(MgServiceType::FeatureService);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$site</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->CreateService(MgServiceType::ResourceService);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataSourceId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgResourceIdentifier(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataSource</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerDefId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgResourceIdentifier(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//load the
map runtime state</SPAN></FONT><FONT face="Courier New" color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$map</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgMap();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$map</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->Open(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mapName</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//locate the
buffer layer in the map. It might or might not already
exist</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layers</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$map</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetLayers();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Get the
map SRS</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srsFactory</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgCoordinateSystemFactory();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srsDefMap</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">GetMapSRS(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$map</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mapSrsUnits</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">""</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srsMap</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srsFactory</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->Create(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srsDefMap</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$arbitraryMapSrs</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srsMap</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetType()</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">==</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgCoordinateSystemType::Arbitrary;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">if</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$arbitraryMapSrs</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">)</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mapSrsUnits</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srsMap</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetUnits();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//Create/Modify
layer definition</SPAN></FONT><FONT face="Courier New" color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerDefContent</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">BuildLayerDefinitionContent();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetResource(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerDefId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerDefContent</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">null);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$classDef</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgClassDefinition();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$classDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetName(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$featureName</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$classDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetDescription(GetLocalizedString(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"DATACLASSDESCR"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$locale</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$classDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetDefaultGeometryPropertyName(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"GEOM"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//Set KEY
property</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgDataPropertyDefinition(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"KEY"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetDataType(MgPropertyType::Int32);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetAutoGeneration(</SPAN></FONT><FONT
face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">true</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetReadOnly(</SPAN></FONT><FONT
face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">true</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$classDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetIdentityProperties()->Add(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$classDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetProperties()->Add(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//Set ID
property.</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgDataPropertyDefinition(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"ID"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetDataType(MgPropertyType::Int32);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$classDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetProperties()->Add(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//Set
geometry property</SPAN></FONT><FONT face="Courier New" color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgGeometricPropertyDefinition(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"GEOM"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">////$prop->SetGeometryTypes(MgFeatureGeometricType::mfgtSurface);
//</SPAN></FONT><B><FONT face="Courier New" color=#7ca5d5 size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #7ca5d5; FONT-FAMILY: 'Courier New'">TODO</SPAN></FONT></B><FONT
face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'"> use the
constant when exposed</SPAN></FONT><FONT face="Courier New" color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetGeometryTypes(</SPAN></FONT><FONT
face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">4</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$classDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetProperties()->Add(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$prop</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//Create the
schema</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$schema</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgFeatureSchema(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"DataSchema"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">GetLocalizedString(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"DATASCHEMADESCR"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$locale</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$schema</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetClasses()->Add(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$classDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//finally,
creation of the feature source</SPAN></FONT><FONT face="Courier New"
color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sdfParams</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgCreateSdfParams(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"LatLong"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srsDefMap</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$schema</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$featureSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->CreateFeatureSource(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataSourceId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sdfParams</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//Add layer
to map</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layer</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgLayer(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerDefId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layer</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetName(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataName</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layer</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetLegendLabel(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataName</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layer</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetDisplayInLegend(</SPAN></FONT><FONT
face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">true</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layer</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetSelectable(</SPAN></FONT><FONT
face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">true</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layers</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->Insert(</SPAN></FONT><FONT
face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">0</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layer</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fsResourceId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgResourceIdentifier(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataSource</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fsReader</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetResourceContent(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fsResourceId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fsXml</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fsReader</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->ToString();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fsDomDoc</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">DOMDocument::loadXML(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fsXml</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$ldResourceId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgResourceIdentifier(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$ldReader</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetResourceContent(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$ldResourceId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$ldXml</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$ldReader</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->ToString();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$ldDomDoc</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">DOMDocument::loadXML(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$lddXml</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Read the
web layout into an XML DOM document object.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$md</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Library://Test/X.MapDefinition"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdResourceId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgResourceIdentifier(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$md</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdReader</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetResourceContent(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdResourceId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdXml</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdReader</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->ToString();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">DOMDocument::loadXML(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdXml</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Create the
MapLayer XML nodeset in the first position</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$targetNode</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->getElementsByTagName(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"MapLayer"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">)->item(</SPAN></FONT><FONT
face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">0</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$newNode</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$targetNode</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->parentNode->insertBefore(</SPAN></FONT><FONT
face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">DOMElement(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"MapLayer"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">),</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$targetNode</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$newNode</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->appendChild(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->createElement(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Name"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataName</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$newNode</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->appendChild(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->createElement(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"ResourceId"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerDef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$newNode</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->appendChild(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->createElement(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Selectable"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"false"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$newNode</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->appendChild(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->createElement(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"ShowInLegend"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"false"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$newNode</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->appendChild(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->createElement(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"LegendLabel"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$newNode</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->appendChild(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->createElement(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"ExpandInLegend"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"false"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$newNode</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->appendChild(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->createElement(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Visible"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"true"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$newNode</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->appendChild(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->createElement(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Group"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Prepare
the updated XML to be written out to the session.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$updatedXml</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->saveXML();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$byteSource</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgByteSource(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$updatedXml</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">strlen(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$updatedXml</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Create a
web layout in the session to hold the updated version</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// from the
library.</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionMapName</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdResourceId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetName();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionMapDefinition</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Session:</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionId</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">//</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionMapName</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">.MapDefinition"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionResourceId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgResourceIdentifier(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionMapDefinition</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Write the
updated mapdefinition</SPAN></FONT><FONT face="Courier New" color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetResource(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionResourceId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$byteSource</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetReader(),</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">null);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//Test</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$md1</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Session:</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionId</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">//X.MapDefinition"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdResourceId2</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgResourceIdentifier(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$md1</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdReader2</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetResourceContent(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdResourceId2</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdXml2</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdReader2</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->ToString();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdDomDoc2</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">DOMDocument::loadXML(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mdXml2</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Read the
web layout into an XML DOM document object.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wl</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Library://Test/Y.WebLayout"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//
</SPAN></FONT><B><FONT face="Courier New" color=#7ca5d5 size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #7ca5d5; FONT-FAMILY: 'Courier New'">TODO</SPAN></FONT></B><FONT
face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">
Constant!</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlResourceId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgResourceIdentifier(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wl</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlReader</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetResourceContent(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlResourceId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlXml</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlReader</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->ToString();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlDomDoc</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">DOMDocument::loadXML(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlXml</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Add the
MapDefinition in the WebLayout</SPAN></FONT><FONT face="Courier New"
color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mapdef</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->getElementsByTagName(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"ResourceId"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">)->item(</SPAN></FONT><FONT
face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">0</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$mapdef</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->nodeValue</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$md1</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Prepare
the updated XML to be written out to the session.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlupdatedXml</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlDomDoc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->saveXML();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlbyteSource</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgByteSource(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlupdatedXml</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">strlen(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlupdatedXml</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Create a
web layout in the session to hold the updated version</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// from the
library.</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlsessionMapName</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlResourceId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetName();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlsessionWebLayout</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"Session:</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionId</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">//</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlsessionMapName</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">.WebLayout"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlsessionResourceId</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgResourceIdentifier(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlsessionWebLayout</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Write the
updated web layout to the session.</SPAN></FONT><FONT face="Courier New"
color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$resourceSrvc</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->SetResource(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlsessionResourceId</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlbyteSource</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetReader(),</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">null);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">// Redirect
to the Ajax viewer pointing at the map at the desired
coordinates.</SPAN></FONT><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$redirectTo</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"mapguide/mapviewerajax/?SESSION=</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionId</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">&WEBLAYOUT=</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlsessionWebLayout</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$redirectTo</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"mapguide/mapviewerajax/?WEBLAYOUT=</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$wlsessionWebLayout</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">&SESSION=</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$sessionId</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$host</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$_SERVER</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">[</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"HTTP_HOST"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">];</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$url</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"http://</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$host</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">/</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$redirectTo</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">function</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">BuildLayerDefinitionContent()</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">{</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">global</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataSource</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$featureName</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$ffcolor</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fbcolor</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$transparent</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$linestyle</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$thickness</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$lcolor</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fillstyle</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$foretrans</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$xtrans</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">sprintf(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"%02x"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">255</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">*</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$foretrans</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">/</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=red size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">100</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerTempl</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file_get_contents(</SPAN></FONT><FONT
face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"../../viewerfiles/arealayerdef.templ"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$xmlStr</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">sprintf(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$layerTempl</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$dataSource</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$featureName</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"GEOM"</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fillstyle</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$xtrans</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$ffcolor</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$transparent</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">?</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"ff"</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fbcolor</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">:</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"00"</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">.</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$fbcolor</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$linestyle</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$thickness</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$lcolor</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">);</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$src</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">MgByteSource(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$xmlStr</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">,</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">strlen(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$xmlStr</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">));</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">return</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$src</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetReader();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">function</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">GetMapSrs(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$map</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">)</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">{</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srs</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$map</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">->GetMapSRS();</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">if</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">(</SPAN></FONT><FONT
face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srs</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">!=</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">""</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">)</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">return</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#660000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #660000; FONT-FAMILY: 'Courier New'">$srs</SPAN></FONT><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">//No SRS, set
to ArbitrayXY meters</SPAN></FONT><FONT face="Courier New" color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">return</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
</SPAN></FONT><FONT face="Courier New" color=#008200 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #008200; FONT-FAMILY: 'Courier New'">"LOCALCS[\"Non-Earth
(Meter)\",LOCAL_DATUM[\"Local Datum\",0],UNIT[\"Meter\",
1],AXIS[\"X\",EAST],AXIS[\"Y\",NORTH]]"</SPAN></FONT><FONT face="Courier New"
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">;</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">}</SPAN></FONT><FONT
face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Regards,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Arnaud De
Groof</SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" color=black size=3><SPAN
style="FONT-SIZE: 12pt; COLOR: windowtext">
<HR align=center SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma color=black size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Tahoma">
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <B><SPAN
style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Kenneth Skovhede, GEOGRAF
A/S<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> vendredi 9 janvier
2009 9:03<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> MapGuide Users
Mail List<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re:
[mapguide-users] Adding a temporary Layer in MapGuide</SPAN></FONT><FONT
color=black><SPAN style="COLOR: windowtext"></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN
style="FONT-SIZE: 12pt">You need several steps.<BR><BR>1. Create a temporary
FeatureSource for an SDF<BR>2. Insert data into the temporary
FeatureSource<BR>3. Create a temporary LayerDefinition that points to the
temporary FeatureSource<BR>4. Insert the temporary layer into the runtime
map<BR>5. Refresh the map<BR><BR>This is a generic recipe for building dynamic
layers, redlining, buffering, etc.<BR>There exist code that does this in the
"buffer" function used in the basic AJAX viewer.<BR>Look at the
"buffer.[php,aspx,jsp]" file in:<BR>C:\Program
Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapviewer[php,net,jsp]<BR><BR>If
you have trouble with one of the steps, please ask again.<BR><BR>An easier way
of dealing with it would be to create a layer that displays ALL
points.<BR>Then use the SQL WHERE statement as the layers "filter"
property.<BR>This approach obviously has some limitations.</SPAN></FONT></P><PRE><FONT face="Courier New" color=black size=2><SPAN style="FONT-SIZE: 10pt">Regards, Kenneth Skovhede, GEOGRAF A/S</SPAN></FONT></PRE>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN
style="FONT-SIZE: 12pt"><BR><BR>Carmelo Saffioti skrev: </SPAN></FONT></P>
<DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi
everybody!</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I hope you can help me about this
problem I'm having since several days:</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1) having x,y coordinates of a
point, resulting from a sql query, how can I display it at runtime on the
map?</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">2) having x,y coordinates of a
sequence of points, resulting from a sql query, how can I display them at
runtime on the map?</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I really hope you can help me with
that</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thank you very much in
advance</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Carmelo</SPAN></FONT></P></DIV></DIV><PRE wrap><FONT face="Courier New" color=black size=2><SPAN style="FONT-SIZE: 10pt"> </SPAN></FONT></PRE><PRE style="TEXT-ALIGN: center"><FONT face="Courier New" color=black size=2><SPAN style="FONT-SIZE: 10pt">
<HR align=center SIZE=4>
</SPAN></FONT></PRE><PRE><FONT face="Courier New" color=black size=2><SPAN style="FONT-SIZE: 10pt"> </SPAN></FONT></PRE><PRE><FONT face="Courier New" color=black size=2><SPAN style="FONT-SIZE: 10pt">_______________________________________________</SPAN></FONT></PRE><PRE><FONT face="Courier New" color=black size=2><SPAN style="FONT-SIZE: 10pt">mapguide-users mailing list</SPAN></FONT></PRE><PRE><FONT face="Courier New" color=black size=2><SPAN style="FONT-SIZE: 10pt"><A href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A></SPAN></FONT></PRE><PRE><FONT face="Courier New" color=black size=2><SPAN style="FONT-SIZE: 10pt"><A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A></SPAN></FONT></PRE><PRE><FONT face="Courier New" color=black size=2><SPAN style="FONT-SIZE: 10pt"> </SPAN></FONT></PRE></DIV><!--[object_id=#spacebel.be#]-->
<P><FONT color=#0000ff><FONT face=Tahoma><STRONG>
<HR>
<FONT size=2>E-MAIL DISCLAIMER</FONT></STRONG></FONT></FONT>
<P></P>
<P><FONT face=Arial color=#0000ff size=1>The present message may contain
confidential and/or legally privileged information. If you are not the
intended addressee and in case of a transmission error, please notify the
sender immediately and destroy this E-mail. Disclosure, reproduction or
distribution of this document and its possible attachments is strictly
forbidden.</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>SPACEBEL denies all liability for
incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or
belated transmission of the current information given that unencrypted
electronic transmission cannot currently be guaranteed to be secure or error
free.<BR>Upon request or in conformity with formal, contractual agreements, an
originally signed hard copy will be sent to you to confirm the information
contained in this E-mail.</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>SPACEBEL denies all liability where
E-mail is used for private use.</FONT></P>
<P><FONT size=2><FONT face=Arial color=#0000ff size=1>SPACEBEL cannot be held
responsible for possible viruses that might corrupt this message and/or your
computer system.<BR></FONT></P><FONT face=Arial color=#0000ff>
<HR>
</FONT></FONT>
<P></P>
<P>
<HR>
<P></P>_______________________________________________<BR>mapguide-users
mailing
list<BR>mapguide-users@lists.osgeo.org<BR>http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR></BLOCKQUOTE></BODY></HTML>