<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:D="DAV:" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" 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:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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=HR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a href="http://mapguide.osgeo.org/livegallery.html">http://mapguide.osgeo.org/livegallery.html</a><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

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

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>susan
Daniel<br>
<b>Sent:</b> Wednesday, April 22, 2009 8:06 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] select the location on map<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>hi deve<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I couldn't find
that sample application.Any link?<br>
regards<br>
susan<o:p></o:p></p>

<div>

<p class=MsoNormal>On Tue, Apr 21, 2009 at 8:01 PM, Dave Wilson &lt;<a
href="mailto:dave.wilson@autodesk.com">dave.wilson@autodesk.com</a>&gt; wrote:<o:p></o:p></p>

<div>

<div>

<p><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>The sample
application that does the Find Address does a selection on the map when you
click on one of the search results. I thought this was discussed in the Sample
Application.</span><span lang=EN-US><o:p></o:p></span></p>

<p><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>Dave</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span
lang=EN-US><o:p></o:p></span></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>

<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> <a
href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>susan Daniel<br>
<b>Sent:</b> Monday, April 20, 2009 12:18 AM<o:p></o:p></span></p>

<div>

<div>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt'><br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] select the location on map<o:p></o:p></span></p>

</div>

</div>

</div>

<div>

<div>

<p><span lang=EN-US>&nbsp;<o:p></o:p></span></p>

<p style='margin-bottom:12.0pt'><span lang=EN-US>hi alll...........<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I read the dev guide but didn't get any idea regarding this.Hav anyone tried
this before pls give me any hint how to start this ...<br>
<br>
thanks &amp;regards<br>
susan<o:p></o:p></span></p>

<div>

<p><span lang=EN-US>On Fri, Apr 17, 2009 at 8:18 PM, Dave Wilson &lt;<a
href="mailto:dave.wilson@autodesk.com" target="_blank">dave.wilson@autodesk.com</a>&gt;
wrote:<o:p></o:p></span></p>

<div>

<div>

<p><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>Have you read
through the developer&#8217;s guide? It has sample code for selection and explains
many concepts. It sounds like you need to make either an invoke script or
invoke url call from a command in your Basic or Flexible Web Layout. You don&#8217;t
actually have to replace the gettingstarted.php. In the invoke script or invoke
url command allows you to specify the target frame for the output of the
script.</span><span lang=EN-US><o:p></o:p></span></p>

<p><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>Regards,</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>Dave</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span
lang=EN-US><o:p></o:p></span></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color'>

<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> <a
href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>susan Daniel<br>
<b>Sent:</b> Friday, April 17, 2009 3:57 AM</span><span lang=EN-US><o:p></o:p></span></p>

<div>

<div>

<p><span lang=EN-US style='font-size:10.0pt'><br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] select the location on map</span><span
lang=EN-US><o:p></o:p></span></p>

</div>

</div>

</div>

<div>

<div>

<p><span lang=EN-US>&nbsp;<o:p></o:p></span></p>

<p style='margin-bottom:12.0pt'><span lang=EN-US>yeah...i know that..<o:p></o:p></span></p>

<div>

<p><span lang=EN-US>On Fri, Apr 17, 2009 at 3:15 PM, Ivan Milicevic &lt;<a
href="mailto:Ivan.Milicevic@supranet.hr" target="_blank">Ivan.Milicevic@supranet.hr</a>&gt;
wrote:<o:p></o:p></span></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>Did you know how to create file
that display's database table? If you don't know that you must find help
somewhere else because I'm not a PHP guy.</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color'>

<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> <a
href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>susan Daniel<br>
<b>Sent:</b> Friday, April 17, 2009 11:42 AM</span><span lang=EN-US><o:p></o:p></span></p>

<div>

<div>

<p><span lang=EN-US style='font-size:10.0pt'><br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] select the location on map</span><span
lang=EN-US><o:p></o:p></span></p>

</div>

</div>

</div>

<div>

<div>

<p>&nbsp;<span lang=EN-US><o:p></o:p></span></p>

<p style='margin-bottom:12.0pt'>Hi..<br>
&nbsp;&nbsp;&nbsp; No i dont have the file that displays database table...Actually
iam doing this prjct in php.but i know javascript'<span lang=EN-US><o:p></o:p></span></p>

<div>

<p>On Fri, Apr 17, 2009 at 3:02 PM, Ivan Milicevic &lt;<a
href="mailto:Ivan.Milicevic@supranet.hr" target="_blank">Ivan.Milicevic@supranet.hr</a>&gt;
wrote:<span lang=EN-US><o:p></o:p></span></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>Ok, so you have file that
display's data from your database table? Or you don't have it at all? How
familiar are you with javascript?</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color'>

<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> <a
href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>susan Daniel<br>
<b>Sent:</b> Friday, April 17, 2009 11:13 AM</span><span lang=EN-US><o:p></o:p></span></p>

<div>

<div>

<p><span lang=EN-US style='font-size:10.0pt'><br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] select the location on map</span><span
lang=EN-US><o:p></o:p></span></p>

</div>

</div>

</div>

<div>

<div>

<p>&nbsp;<span lang=EN-US><o:p></o:p></span></p>

<p style='margin-bottom:12.0pt'>hi...<br>
&nbsp;&nbsp; My problem is that..<br>
&nbsp;&nbsp; I have a database table..Having colums&nbsp; place ,id etc .If i
selected(clicking) a data in the table the corresponding place(polygon) should
be displayed(selected) on the map...My map is a polygon map .each polygon
having unique id.and the same id is present in the db table also....Now u got
it?any idea please help...<br>
<br>
regards<br>
susan<span lang=EN-US><o:p></o:p></span></p>

<div>

<p>On Fri, Apr 17, 2009 at 2:24 PM, Ivan Milicevic &lt;<a
href="mailto:Ivan.Milicevic@supranet.hr" target="_blank">Ivan.Milicevic@supranet.hr</a>&gt;
wrote:<span lang=EN-US><o:p></o:p></span></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>I'm not sure that I understand
your problem. With this code you can select any feature on map. Can you send a
little bit more information? I'm clues over there.</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color'>

<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> <a
href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>susan Daniel<br>
<b>Sent:</b> Friday, April 17, 2009 10:47 AM</span><span lang=EN-US><o:p></o:p></span></p>

<div>

<div>

<p><span lang=EN-US style='font-size:10.0pt'><br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] select the location on map</span><span
lang=EN-US><o:p></o:p></span></p>

</div>

</div>

</div>

<div>

<div>

<p>&nbsp;<span lang=EN-US><o:p></o:p></span></p>

<p style='margin-bottom:12.0pt'>thank you&nbsp; ivan...<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
on which file i have to write this coding???&nbsp; any idea??<br>
<br>
regards<br>
susan<span lang=EN-US><o:p></o:p></span></p>

<div>

<p>On Fri, Apr 17, 2009 at 2:09 PM, Ivan Milicevic &lt;<a
href="mailto:Ivan.Milicevic@supranet.hr" target="_blank">Ivan.Milicevic@supranet.hr</a>&gt;
wrote:<span lang=EN-US><o:p></o:p></span></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>OBJEKTI is layer name and other
thing is path to the feature source.</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:red;background:
black'>&quot;Library://SAMPLES/DATA/SEWERS/SEWERS.FeatureSource&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>You can copy/paste feature
source from mapguide maestro in layer definition window.</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color'>

<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> <a
href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>susan Daniel<br>
<b>Sent:</b> Friday, April 17, 2009 9:45 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] select the location on map</span><span
lang=EN-US><o:p></o:p></span></p>

</div>

<div>

<div>

<p>&nbsp;<span lang=EN-US><o:p></o:p></span></p>

<p>thank you Ivan<br>
but&nbsp; i 'd like to know on which file i want to write this coding??<br>
In ur coding OBJEKT1&nbsp; is layer name right?then what is this<span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;Library://PROJEKTI/&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>+</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>TIMgisUser</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>+</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;/PODACI/OBJEKTI.FeatureSource&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><br>
&nbsp;<br>
thanks and regards<br>
susan<span lang=EN-US><o:p></o:p></span></p>

<div>

<p>On Fri, Apr 17, 2009 at 12:46 PM, Ivan Milicevic &lt;<a
href="mailto:Ivan.Milicevic@supranet.hr" target="_blank">Ivan.Milicevic@supranet.hr</a>&gt;
wrote:<span lang=EN-US><o:p></o:p></span></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>Hello Susan,</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Here is C# code for selection,
it's pretty same as PHP. </span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:
black'>MgSiteConnection</span><span style='font-size:13.0pt;font-family:Consolas;
color:#E0E0E0;background:black'> </span><span style='font-size:13.0pt;
font-family:Consolas;color:white;background:black'>siteConnection</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>null</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>;</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:white;background:black'>InitializeWebTier</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>();</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>MgUserInformation</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>userInfo</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>new</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgUserInformation</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>mgSessionId</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:white;background:black'>siteConnection</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>new</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgSiteConnection</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>();</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:white;background:black'>siteConnection.Open</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>userInfo</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>MgResourceService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>resourceService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>siteConnection.CreateService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgServiceType</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>.ResourceService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>) </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>as</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgResourceService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>;</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>MgFeatureService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>featureService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>siteConnection.CreateService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgServiceType</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>.FeatureService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>) </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>as</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgFeatureService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>;</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>MgMap</span><span style='font-size:
13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>map</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>new</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgMap</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>();</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:white;background:black'>map.Open</span><span style='font-size:
13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>resourceService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>, </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;1&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);
</span><span style='font-size:13.0pt;font-family:Consolas;color:lime;
background:black'>//opening map with name &#8222;1&#8220;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:lime;background:
black'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>MgFeatureQueryOptions</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>queryOptionsObjekti</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>new</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgFeatureQueryOptions</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>();</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>MgAgfReaderWriter</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>geometryReaderWriter</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>new</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgAgfReaderWriter</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>();</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>MgSelection</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>selection</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>new</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgSelection</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>map</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:lime;background:black'>//Defining layer and feature source</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>MgLayer</span><span style='font-size:
13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>layerObjekti</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>GetLayerByName</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>map</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>, </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;OBJEKTI&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>MgResourceIdentifier</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>featureResIdObjekti</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>new</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>MgResourceIdentifier</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;Library://PROJEKTI/&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>+</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>TIMgisUser</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>+</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;/PODACI/OBJEKTI.FeatureSource&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:lime;background:black'>//Creating feature filter, this is very
important step!</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:red;background:black'>string</span><span style='font-size:13.0pt;
font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>filter</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;ID=&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>+</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>idO</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>;</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:white;background:black'>queryOptionsObjekti.SetFilter</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>filter</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>MgFeatureReader</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>featureReaderObjekti</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>featureService.SelectFeatures</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>featureResIdObjekti</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>, </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;OBJEKTI&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>, </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>queryOptionsObjekti</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:white;background:black'>selection.AddFeatures</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>layerObjekti</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>, </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>featureReaderObjekti</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>, </span><span
style='font-size:13.0pt;font-family:Consolas;color:yellow;background:black'>1</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:white;background:black'>selection.Save</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>resourceService</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>, </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;1&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:#FF9595;background:black'>StringReader</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>stream</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>new</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:#FF9595;background:black'>StringReader</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>selection.ToXml</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>());</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:red;background:black'>string</span><span style='font-size:13.0pt;
font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>selectionXml</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>=</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>selection.ToXml</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>();</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:white;background:black'>featureReaderObjekti.Close</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>();</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:white;background:black'>map.Save</span><span style='font-size:
13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>();</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:lime;background:black'>//Here, you call javascript function and
pass the selection var</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:13.0pt;font-family:
Consolas;color:white;background:black'>Response.Write</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;&lt;script&gt;select('&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>+</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>selectionXml</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>+</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'> </span><span
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;');&lt;/script&gt;&quot;</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0'>&nbsp;</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:lime;background:
black'>//This is javascript function that set's the selection from code and do
the refresh.</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:red;background:
black'>function</span><span style='font-size:13.0pt;font-family:Consolas;
color:#E0E0E0;background:black'> </span><span style='font-size:13.0pt;
font-family:Consolas;color:white;background:black'>select</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>xml</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>)</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>{</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:white;background:
black'>parent</span><span style='font-size:13.0pt;font-family:Consolas;
color:#E0E0E0;background:black'>.</span><span style='font-size:13.0pt;
font-family:Consolas;color:white;background:black'>mapFrame</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>.</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>SetSelectionXML</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>xml</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:white;background:
black'>parent</span><span style='font-size:13.0pt;font-family:Consolas;
color:#E0E0E0;background:black'>.</span><span style='font-size:13.0pt;
font-family:Consolas;color:white;background:black'>mapFrame</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>.</span><span
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>ExecuteMapAction</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>(</span><span
style='font-size:13.0pt;font-family:Consolas;color:yellow;background:black'>10</span><span
style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:black'>);</span><span
lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>}</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color'>

<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> <a
href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>susan Daniel<br>
<b>Sent:</b> Friday, April 17, 2009 9:11 AM<br>
<b>To:</b> <a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<b>Subject:</b> [mapguide-users] select the location on map</span><span
lang=EN-US><o:p></o:p></span></p>

</div>

<div>

<div>

<p>&nbsp;<span lang=EN-US><o:p></o:p></span></p>

<p>hi all<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; My plat form is mapguide
maestro&amp;php.I connect it with mysql.Now i want to select the corresponding
polygon on the map while clicking on the data in database.In order to display
the database table in the taskpane,i removed the contents of the file
&quot;/mapviewerphp/getting started .php&quot; and wrote my codings.then how to
select the polygon?.Any one know this????Anyone having coding to do this???<br>
please help me<br clear=all>
<br>
&nbsp;<br>
thanks&amp;regards<br>
&nbsp;susan<span lang=EN-US><o:p></o:p></span></p>

</div>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><span
lang=EN-US><o:p></o:p></span></p>

</div>

<p><br>
<br clear=all>
<br>
-- <br>
thanks&amp;regards<br>
&nbsp;susan<span lang=EN-US><o:p></o:p></span></p>

</div>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><span
lang=EN-US><o:p></o:p></span></p>

</div>

<p><br>
<br clear=all>
<br>
-- <br>
thanks&amp;regards<br>
&nbsp;susan<span lang=EN-US><o:p></o:p></span></p>

</div>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><span
lang=EN-US><o:p></o:p></span></p>

</div>

<p><br>
<br clear=all>
<br>
-- <br>
thanks&amp;regards<br>
&nbsp;susan<span lang=EN-US><o:p></o:p></span></p>

</div>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><span
lang=EN-US><o:p></o:p></span></p>

</div>

<p><br>
<br clear=all>
<br>
-- <br>
thanks&amp;regards<br>
&nbsp;susan<span lang=EN-US><o:p></o:p></span></p>

</div>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><span lang=EN-US><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></span></p>

</div>

<p><span lang=EN-US><br>
<br clear=all>
<br>
-- <br>
thanks&amp;regards<br>
&nbsp;susan<o:p></o:p></span></p>

</div>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><span lang=EN-US><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></span></p>

</div>

<p><span lang=EN-US><br>
<br clear=all>
<br>
-- <br>
thanks&amp;regards<br>
&nbsp;susan<o:p></o:p></span></p>

</div>

</div>

</div>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></p>

</div>

<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
thanks&amp;regards<br>
&nbsp;susan<o:p></o:p></p>

</div>

</body>

</html>