<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:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        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: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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
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.<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>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Dave<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 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
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> Monday, April 20, 2009 12:18 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 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></p>

<div>

<p class=MsoNormal>On Fri, Apr 17, 2009 at 8:18 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 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><o:p></o:p></p>

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

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

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

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

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

<p><b><span style='font-size:10.0pt'>From:</span></b><span 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<o:p></o:p></span></p>

<div>

<div>

<p class=MsoNormal><span 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>&nbsp;<o:p></o:p></p>

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

<div>

<p>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></p>

<div>

<div>

<p><span lang=HR 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><o:p></o:p></p>

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

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

<p><b><span style='font-size:10.0pt'>From:</span></b><span 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><o:p></o:p></p>

<div>

<div>

<p><span 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><o:p></o:p></p>

</div>

</div>

</div>

<div>

<div>

<p><span lang=HR>&nbsp;</span><o:p></o:p></p>

<p style='margin-bottom:12.0pt'><span lang=HR>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><o:p></o:p></p>

<div>

<p><span lang=HR>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><o:p></o:p></p>

<div>

<div>

<p><span lang=HR 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><o:p></o:p></p>

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

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

<p><b><span style='font-size:10.0pt'>From:</span></b><span 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><o:p></o:p></p>

<div>

<div>

<p><span 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><o:p></o:p></p>

</div>

</div>

</div>

<div>

<div>

<p><span lang=HR>&nbsp;</span><o:p></o:p></p>

<p style='margin-bottom:12.0pt'><span lang=HR>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><o:p></o:p></p>

<div>

<p><span lang=HR>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><o:p></o:p></p>

<div>

<div>

<p><span lang=HR 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><o:p></o:p></p>

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

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

<p><b><span style='font-size:10.0pt'>From:</span></b><span 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><o:p></o:p></p>

<div>

<div>

<p><span 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><o:p></o:p></p>

</div>

</div>

</div>

<div>

<div>

<p><span lang=HR>&nbsp;</span><o:p></o:p></p>

<p style='margin-bottom:12.0pt'><span lang=HR>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><o:p></o:p></p>

<div>

<p><span lang=HR>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><o:p></o:p></p>

<div>

<div>

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

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

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

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

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

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

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

<p><b><span style='font-size:10.0pt'>From:</span></b><span 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><o:p></o:p></p>

</div>

<div>

<div>

<p><span lang=HR>&nbsp;</span><o:p></o:p></p>

<p><span lang=HR>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><span
lang=HR style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;Library://PROJEKTI/&quot;</span><span
lang=HR style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'> </span><span lang=HR style='font-size:13.0pt;font-family:Consolas;
color:white;background:black'>+</span><span lang=HR style='font-size:13.0pt;
font-family:Consolas;color:#E0E0E0;background:black'> </span><span lang=HR
style='font-size:13.0pt;font-family:Consolas;color:white;background:black'>TIMgisUser</span><span
lang=HR style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'> </span><span lang=HR style='font-size:13.0pt;font-family:Consolas;
color:white;background:black'>+</span><span lang=HR style='font-size:13.0pt;
font-family:Consolas;color:#E0E0E0;background:black'> </span><span lang=HR
style='font-size:13.0pt;font-family:Consolas;color:red;background:black'>&quot;/PODACI/OBJEKTI.FeatureSource&quot;</span><span
lang=HR style='font-size:13.0pt;font-family:Consolas;color:#E0E0E0;background:
black'>);</span><span lang=HR><br>
&nbsp;<br>
thanks and regards<br>
susan</span><o:p></o:p></p>

<div>

<p><span lang=HR>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><o:p></o:p></p>

<div>

<div>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<p><span lang=HR 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><o:p></o:p></p>

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

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

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

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

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

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

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

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

<p><b><span style='font-size:10.0pt'>From:</span></b><span 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><o:p></o:p></p>

</div>

<div>

<div>

<p><span lang=HR>&nbsp;</span><o:p></o:p></p>

<p><span lang=HR>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><o:p></o:p></p>

</div>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><span lang=HR><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><o:p></o:p></p>

</div>

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

</div>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><span lang=HR><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><o:p></o:p></p>

</div>

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

</div>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><span lang=HR><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><o:p></o:p></p>

</div>

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

</div>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><span lang=HR><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><o:p></o:p></p>

</div>

<p><span lang=HR><br>
<br clear=all>
<br>
-- <br>
thanks&amp;regards<br>
&nbsp;susan</span><o:p></o:p></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><o:p></o:p></p>

</div>

<p><br>
<br clear=all>
<br>
-- <br>
thanks&amp;regards<br>
&nbsp;susan<o:p></o:p></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>