<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/workflow/"
xmlns:ns2="http://schemas.microsoft.com/office/2006/digsig-setup"
xmlns:ns3="http://schemas.microsoft.com/office/2006/digsig"
xmlns:ns4="http://schemas.openxmlformats.org/package/2006/digital-signature"
xmlns:ns5="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml"
xmlns:ns6="http://schemas.openxmlformats.org/package/2006/relationships"
xmlns:ns7="http://microsoft.com/sharepoint/webpartpages"
xmlns:ns8="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:ns9="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:ns10="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/"
xmlns:ns11="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService"
xmlns:ns12="urn:schemas-microsoft-com:">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[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]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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 lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Try just:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:9.5pt;
font-family:Consolas'>parent.parent.SetSelectionXML(selectionXML2);<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:9.5pt;
font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:9.5pt;
font-family:Consolas'>This works for me when my form is loaded in the task
pane.</span></font><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;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>Carrillo, John<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, February 16, 2011
5:48 PM<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]
SetSelectionXML Issue </span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>Thanks
Greg, that fixed the issue with the Select Tool and the Pan issue but the SetSelectionXML
still isn&#8217;t working properly. Any thoughts anyone?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;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>Greg Neff<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, February 16, 2011
4:16 PM<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]
SetSelectionXML Issue <o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Try taking the quotes out of your
ZoomToView &nbsp;like this&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:9.5pt;
font-family:Consolas'>parent.parent.ViewerFrame.mapFrame.ZoomToView(<font
color=maroon><span style='color:maroon;background:yellow'>&lt;%</span>= lldd <span
style='background:yellow'>%&gt;</span></font>, <font color=maroon><span
style='color:maroon;background:yellow'>&lt;%</span>= urdd <span
style='background:yellow'>%&gt;</span></font>, 5000, <font color=blue><span
style='color:blue'>true</span></font>);<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:9.5pt;
font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:9.5pt;
font-family:Consolas'>The ZoomToView seems to work either way but having the
quotes causes a javascript error in another mapguide file</span></font><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;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>Carrillo, John<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, February 16, 2011
4:43 PM<br>
<b><span style='font-weight:bold'>To:</span></b> MapGuide Users Mail List<br>
<b><span style='font-weight:bold'>Subject:</span></b> [mapguide-users]
SetSelectionXML Issue </span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Calibri><span
style='font-size:11.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I&#8217;m having a couple issue with the code below and I&#8217;m guessing that
they are related. I have a map that I created and when I pull it up initially,
I can use the Select Tool and see the Tool Tips on the layer I&#8217;m having
issues with, &#8220;J_Parcels&#8221;. But when I run the query below, the
&nbsp;&#8220;SetSelectionXML&#8221; doesn&#8217;t work and I can no longer use
the Select Tool or the Tool Tips in my map. To ZoomToView is working properly
but the Parcel that is queried is not highlighted. I know I&#8217;m getting
data returned. Not sure why after the query I can&#8217;t use the tools or why
the SetSelectionXML isn&#8217;t working. Also, when I try and Pan or Zoom after
the query, the map goes away, just a blank screen. Any help would be greatly
appreciated. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks, JC<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;background:yellow'>&lt;%</span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<font
color=green><span style='color:green'>'from the previous page</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> sessionId <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = Request.Form.[Get](<font
color="#a31515"><span style='color:#A31515'>&quot;SESSION&quot;</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> encroachPermit <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = Request.Form.[Get](<font
color="#a31515"><span style='color:#A31515'>&quot;iAPN&quot;</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> webLayout <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = <font color="#a31515"><span
style='color:#A31515'>&quot;Library://JC_Test/WebLayer/J.WebLayout&quot;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=green><span style='color:green'>'path to web config</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> realPath <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>String</span></font> = Request.ServerVariables(<font
color="#a31515"><span style='color:#A31515'>&quot;APPL_PHYSICAL_PATH&quot;</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> configPath <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = realPath &amp; <font
color="#a31515"><span style='color:#A31515'>&quot;webconfig.ini&quot;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color="#2b91af"><span style='color:#2B91AF'>MapGuideApi</span></font>.MgInitializeWebTier(<font
color="#a31515"><span style='color:#A31515'>&quot;C:\Program
Files\AutoDesk\MapGuideEnterprise2011\WebServerExtensions\www\webconfig.ini&quot;</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> userInfo <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgUserInformation</span></font>(sessionId)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> siteConnection <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgSiteConnection</span></font>()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;
siteConnection.Open(userInfo)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> resService <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgResourceService</span></font> = <font color=blue><span
style='color:blue'>DirectCast</span></font>(siteConnection.CreateService(<font
color="#2b91af"><span style='color:#2B91AF'>MgServiceType</span></font>.ResourceService),
<font color="#2b91af"><span style='color:#2B91AF'>MgResourceService</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> featureService <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgFeatureService</span></font> = <font color=blue><span
style='color:blue'>DirectCast</span></font>(siteConnection.CreateService(<font
color="#2b91af"><span style='color:#2B91AF'>MgServiceType</span></font>.FeatureService),
<font color="#2b91af"><span style='color:#2B91AF'>MgFeatureService</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=green><span style='color:green'>'Map from Map Guide</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> map <font color=blue><span
style='color:blue'>As</span></font> <font color=blue><span style='color:blue'>New</span></font>
<font color="#2b91af"><span style='color:#2B91AF'>MgMap</span></font>()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;
map.Open(resService, <font color="#a31515"><span style='color:#A31515'>&quot;J&quot;</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=green><span style='color:green'>'Query for the second condition</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> nameQuery <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgFeatureQueryOptions</span></font>()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;
nameQuery.SetFilter(<font color="#a31515"><span style='color:#A31515'>&quot;APN
= '&quot;</span></font> &amp; encroachPermit &amp; <font color="#a31515"><span
style='color:#A31515'>&quot;'&quot;</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=green><span style='color:green'>'second feature sources to compare first
to</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> encroachId <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgResourceIdentifier</span></font>(<font color="#a31515"><span
style='color:#A31515'>&quot;Library://Oracle Feature Source/FCT1TEST_Assessor
feature source.FeatureSource&quot;</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> featureReader <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgFeatureReader</span></font> =
featureService.SelectFeatures(encroachId, <font color="#a31515"><span
style='color:#A31515'>&quot;PARCELPTS&quot;</span></font>, nameQuery)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<font
color=blue><span style='color:blue'>Dim</span></font> list <font color=blue><span
style='color:blue'>As</span></font> <font color=blue><span style='color:blue'>New</span></font>
<font color="#2b91af"><span style='color:#2B91AF'>ArrayList</span></font>()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> x_coordinate <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>ArrayList</span></font>()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> y_coordinate <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>ArrayList</span></font>()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> lldd <font color=blue><span
style='color:blue'>As</span></font> <font color=blue><span style='color:blue'>Double</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> urdd <font color=blue><span
style='color:blue'>As</span></font> <font color=blue><span style='color:blue'>Double</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<font
color=blue><span style='color:blue'>While</span></font>
featureReader.ReadNext()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
list.Add(featureReader.GetString(<font color="#a31515"><span style='color:#A31515'>&quot;APN&quot;</span></font>))<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font
color=green><span style='color:green'>'GET X Y&nbsp; FROM GEOMETRY</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>Dim</span></font> geometryBytes <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgByteReader</span></font> = featureReader.GetGeometry(<font
color="#a31515"><span style='color:#A31515'>&quot;GEOMETRY&quot;</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>Dim</span></font> agfReader <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgAgfReaderWriter</span></font>()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>Dim</span></font> districtGeometry <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgGeometry</span></font> = agfReader.Read(geometryBytes)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>Dim</span></font> env <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgEnvelope</span></font> = districtGeometry.Envelope()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lldd
= env.GetLowerLeftCoordinate().GetX<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
urdd = env.GetLowerLeftCoordinate().GetY<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<font
color=blue><span style='color:blue'>End</span></font> <font color=blue><span
style='color:blue'>While</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;Response.Write(list(0)
&amp; <font color="#a31515"><span style='color:#A31515'>&quot;&lt;BR
/&gt;&quot;</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<font
color=green><span style='color:green'>'Highlight the query result on the map</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> selection <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgSelection</span></font>(map)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> layer <font color=blue><span
style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgLayer</span></font> = map.GetLayers().GetItem(<font
color="#a31515"><span style='color:#A31515'>&quot;J_Parcels&quot;</span></font>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;featureReader
= featureService.SelectFeatures(encroachId, <font color="#a31515"><span
style='color:#A31515'>&quot;PARCELPTS&quot;</span></font>, nameQuery)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;
selection.AddFeatures(layer, featureReader, 0)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>Dim</span></font> selectionXML <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = selection.ToXml()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;background:yellow'>%&gt;</span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;background:yellow'>&lt;%</span></font><font
size=2 color=darkgreen face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:darkgreen'>--&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML
1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;--</span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas;
background:yellow'>%&gt;</span></font><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'>&lt;!</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>DOCTYPE</span></font><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font color=red><span
style='color:red'>html</span></font> <font color=red><span style='color:red'>PUBLIC</span></font>
<font color=blue><span style='color:blue'>&quot;-//W3C//DTD XHTML 1.0
Frameset//EN&quot;</span></font> <font color=blue><span style='color:blue'>&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd&quot;&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'>&lt;</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>html</span></font><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font color=red><span
style='color:red'>xmlns</span></font><font color=blue><span style='color:blue'>=&quot;http://www.w3.org/1999/xhtml&quot;&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'>&lt;</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>head</span></font><font size=2 color=blue face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;color:blue'>&gt;</span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>&lt;</span></font><font color=maroon><span
style='color:maroon'>title</span></font><font color=blue><span
style='color:blue'>&gt;</span></font>H<font color=blue><span style='color:blue'>&lt;/</span></font><font
color=maroon><span style='color:maroon'>title</span></font><font color=blue><span
style='color:blue'>&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>&lt;</span></font><font color=maroon><span
style='color:maroon'>meta</span></font> <font color=red><span style='color:
red'>http-equiv</span></font><font color=blue><span style='color:blue'>=&quot;Content-Type&quot;</span></font>
<font color=red><span style='color:red'>content</span></font><font color=blue><span
style='color:blue'>=&quot;text/html; charset=UTF-8&quot;</span></font> <font
color=blue><span style='color:blue'>/&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>&lt;</span></font><font color=maroon><span
style='color:maroon'>meta</span></font> <font color=red><span style='color:
red'>http-equiv</span></font><font color=blue><span style='color:blue'>=&quot;content-script-type&quot;</span></font>
<font color=red><span style='color:red'>content</span></font><font color=blue><span
style='color:blue'>=&quot;text/javascript&quot;</span></font> <font color=blue><span
style='color:blue'>/&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>&lt;</span></font><font color=maroon><span
style='color:maroon'>meta</span></font> <font color=red><span style='color:
red'>http-equiv</span></font><font color=blue><span style='color:blue'>=&quot;content-style-type&quot;</span></font>
<font color=red><span style='color:red'>content</span></font><font color=blue><span
style='color:blue'>=&quot;text/css&quot;</span></font> <font color=blue><span
style='color:blue'>/&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>&lt;</span></font><font color=maroon><span
style='color:maroon'>script</span></font> <font color=red><span
style='color:red'>type</span></font><font color=blue><span style='color:blue'>=&quot;text/javascript&quot;&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>function</span></font> onPageLoad() {<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>var</span></font> selectionXML2 = <font
color=maroon><span style='color:maroon'>'<span style='background:yellow'>&lt;%</span>=
selectionXML <span style='background:yellow'>%&gt;</span>'</span></font>;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
alert(selectionXML2);<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>var</span></font> t = setTimeout(<font
color=maroon><span style='color:maroon'>&quot;alertMsg()&quot;</span></font>,
9000);<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>var</span></font> t2 = setTimeout(<font
color=maroon><span style='color:maroon'>&quot;alertMsg2()&quot;</span></font>,
4000);<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>function</span></font> alertMsg() {<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
alert(<font color=maroon><span style='color:maroon'>'45'</span></font>);<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
parent.parent.ViewerFrame.mapFrame.ZoomToView(<font color=maroon><span
style='color:maroon'>'<span style='background:yellow'>&lt;%</span>= lldd <span
style='background:yellow'>%&gt;</span>'</span></font>, <font color=maroon><span
style='color:maroon'>'<span style='background:yellow'>&lt;%</span>= urdd <span
style='background:yellow'>%&gt;</span>'</span></font>, 5000, <font color=blue><span
style='color:blue'>true</span></font>);<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>function</span></font> alertMsg2() {<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
alert(<font color=maroon><span style='color:maroon'>'45'</span></font>);<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>var</span></font> selectionXML2 = <font
color=maroon><span style='color:maroon'>'<span style='background:yellow'>&lt;%</span>=
selectionXML <span style='background:yellow'>%&gt;</span>'</span></font>;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
alert(selectionXML2);<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
parent.parent.ViewerFrame.mapFrame.SetSelectionXML(selectionXML2);<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;<font
color=blue><span style='color:blue'>&lt;/</span></font><font color=maroon><span
style='color:maroon'>script</span></font><font color=blue><span
style='color:blue'>&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'>&lt;/</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>head</span></font><font size=2 color=blue face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;color:blue'>&gt;</span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'>&lt;</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>body</span></font><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font color=red><span
style='color:red'>id</span></font><font color=blue><span style='color:blue'>=&quot;body1&quot;</span></font>
<font color=red><span style='color:red'>class</span></font><font color=blue><span
style='color:blue'>=&quot;AppFrame&quot;</span></font> <font color=red><span
style='color:red'>onload</span></font><font color=blue><span style='color:blue'>=&quot;onPageLoad()&quot;&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>&lt;</span></font><font color=maroon><span
style='color:maroon'>strong</span></font><font color=blue><span
style='color:blue'>&gt;</span></font>The following are the query results: <font
color=blue><span style='color:blue'>&lt;/</span></font><font color=maroon><span
style='color:maroon'>strong</span></font><font color=blue><span
style='color:blue'>&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>&lt;</span></font><font color=maroon><span
style='color:maroon'>ul</span></font><font color=blue><span style='color:blue'>&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style='background:yellow'>&lt;%</span><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>For</span></font> i <font color=blue><span
style='color:blue'>As</span></font> <font color=blue><span style='color:blue'>Integer</span></font>
= 0 <font color=blue><span style='color:blue'>To</span></font> list.Count - 1<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>Dim</span></font> address <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = list(i).ToString()<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>If</span></font> address &lt;&gt; <font
color="#a31515"><span style='color:#A31515'>&quot;&quot;</span></font> <font
color=blue><span style='color:blue'>Then</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Response.Write(<font color="#a31515"><span style='color:#A31515'>&quot;&lt;li&gt;&quot;</span></font>
&amp; list(i).ToString() &amp; <font color="#a31515"><span style='color:#A31515'>&quot;&lt;/li&gt;&quot;</span></font>
&amp; vbLf)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<font color=blue><span style='color:blue'>End</span></font>
<font color=blue><span style='color:blue'>If</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color=blue><span style='color:blue'>Next</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style='background:yellow'>%&gt;</span><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>&lt;/</span></font><font color=maroon><span
style='color:maroon'>ul</span></font><font color=blue><span style='color:blue'>&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp; <font
color=blue><span style='color:blue'>&lt;</span></font><font color=maroon><span
style='color:maroon'>iframe</span></font> <font color=red><span
style='color:red'>id</span></font><font color=blue><span style='color:blue'>=&quot;imap&quot;</span></font>
<font color=red><span style='color:red'>src</span></font><font color=blue><span
style='color:blue'>=&quot;/mapguide2011/mapviewernet/ajaxviewer.aspx?SESSION=</span></font><span
style='background:yellow'>&lt;%</span><font color=blue><span style='color:blue'>=</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>sessionId <span style='background:
yellow'>%&gt;</span><font color=blue><span style='color:blue'>&amp;WEBLAYOUT=</span></font><span
style='background:yellow'>&lt;%</span><font color=blue><span style='color:blue'>=</span></font>
webLayout <span style='background:yellow'>%&gt;</span><font color=blue><span
style='color:blue'>&quot;</span></font> <font color=red><span style='color:
red'>name</span></font><font color=blue><span style='color:blue'>=&quot;ViewerFrame&quot;</span></font>
<font color=red><span style='color:red'>height</span></font><font color=blue><span
style='color:blue'>=&quot;700&quot;</span></font> <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font
color=red><span style='color:red'>width</span></font><font color=blue><span
style='color:blue'>=&quot;1200&quot;</span></font> <font color=red><span
style='color:red'>scrolling</span></font><font color=blue><span
style='color:blue'>=&quot;yes&quot;</span></font> <font color=blue><span
style='color:blue'>/&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'>&lt;/</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>body</span></font><font size=2 color=blue face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;color:blue'>&gt;</span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'>&lt;/</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>html</span></font><font size=2 color=blue face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;color:blue'>&gt;</span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>