<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
There is currently no methods for dealing with selections through the
MaestroAPI,<br>
so you have to use the MgSelection object from the regular API.<br>
<br>
An alternative is to just deal with the xml manually.<br>
It looks like this:<br>
<FeatureSet><br>
<Layer id="layer guid"><br>
<Class id="schema name"><br>
<ID>base64 encoded id</ID><br>
<ID>...</ID><br>
</Class><br>
</Layer><br>
</FeatureSet><br>
<br>
There can be multiple layers in the selection.<br>
<br>
I have added a ticket you can subscribe to, if you want to track my
progress on making the selection easier in the MaestroAPI:<br>
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/ticket/858">http://trac.osgeo.org/mapguide/ticket/858</a><br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:ravinder.singh@BIRLASOFT.COM">ravinder.singh@BIRLASOFT.COM</a> skrev:
<blockquote
cite="mid:176511108BBB7842992F0BF7B56EB61806657F9F@INNOIDA.BIRLASOFT.COM"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Book Antiqua";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
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]-->
<div class="Section1">
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";">Hi All,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";">I have
associated a layer to a map at run
time by using maestro api.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";">And I got the
prefect output, map is rendering
properly.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";">But now I want
to highlight/mark the
features of layer, depending upon the condition entered by the user
(for taking
the input condition I have made my separate aspx page).<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";">So my problem is
that how to highlight/mark/select
the features of the map/layer which I have created at run time by
Maestro API.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";">I am using .net,
c#, asp.net with MGOS<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Book Antiqua" size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua";"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><b><font color="gray" face="Book Antiqua"
size="2"><span
style="font-size: 10pt; font-family: "Book Antiqua"; color: gray; font-weight: bold;">Thanks
& Regards,<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><font color="gray" face="Times New Roman"
size="2"><span style="font-size: 11pt; color: gray;">Ravinder <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
</div>
<table>
<tbody>
<tr>
<td bgcolor="#ffffff"><font color="#000000">*********************************************************************************************************************************************************************<br>
"This message and any attachments are solely for the intended recipient
and may contain Birlasoft confidential or privileged information. If
you are not the intended recipient,any disclosure,copying, use, or
distribution of the information included in this message and any
attachments is <br>
prohibited. If you have received this communication in error, please
notify us by reply e-mail at (<a class="moz-txt-link-abbreviated" href="mailto:administrator@birlasoft.com">administrator@birlasoft.com</a>) and
permanently delete this message and any attachments. Thank you."<br>
*********************************************************************************************************************************************************************<br>
</font></td>
</tr>
</tbody>
</table>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>