<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
To do this, you have to know what the Xml structure for selections is:<br>
<a class="moz-txt-link-freetext" href="http://techearth.net/gis/mapguideManual/index.php5?title=MapGuide_Manual:Programmer:Active_selections">http://techearth.net/gis/mapguideManual/index.php5?title=MapGuide_Manual:Programmer:Active_selections</a><br>
<br>
The xml looks like this:<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<FeatureSet><br>
<Layer id="6f0528ca-0000-1000-8000-005056c00008"><br>
<Class id="Default:Parcels"><br>
<ID>piwAAA==</ID><br>
</Class><br>
</Layer><br>
</FeatureSet><br>
<br>
The layer id can be read from the runtime map layer's Id property.<br>
The class property is called FeatureName (I think).<br>
<br>
You can have multiple <Layer>, <Class> and <ID>
elements.<br>
<br>
To select one feature from one layer, and two features from another
layer, just add them:<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<FeatureSet><br>
<Layer id="6f0528ca-0000-1000-8000-005056c00008"><br>
<Class id="Default:Parcels"><br>
<ID>piwAAA==</ID><br>
</Class><br>
</Layer><br>
<Layer id="6f0528ca-0000-1000-8000-ff5056cffff8"><br>
<Class id="Default:Roads"><br>
<ID>zarAAA==</ID><br>
<ID>rt7AAA==</ID><br>
</Class><br>
</Layer><br>
</FeatureSet><br>
<br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Amit Kumar Shukla skrev:
<blockquote
cite="mid:da9418290909110002j554026c4p18818c9129344a16@mail.gmail.com"
type="cite"><br clear="all">
Hi List,<br>
I'm using MapGuide Open Source 2.1 Beta 1. I want to do selection of
selected feature as well as features near to it. How can I show
selection of both, if features are in different layers.
Selection in one layer is working properly . <br>
<br>
Hopefully someone help me.<br>
<br>
Thanks & regards.<br>
Amit<br>
<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>