I have a similar problem to this one. We have a script that allows us to search for specific regions on our map, and once we select the one we want, we click the name to zoom to that region and it is selected on the map. In MG 1.2, once selected, the properties of that region would be output for us; but in 2.0.x, the region is highlighted as if selected, but no properties are available. Just for the sake of argument, I changed our image renderer to GD and experienced the same results. Any updates on this?<br>
<blockquote class="quote light-black dark-border-color"><div class="quote light-border-color">
<div class="quote-author" style="font-weight: bold;">ary sucaya wrote:</div>
<div class="quote-message">
I tried to change renderer into GD but problem remain the the same. Just to be clear, this is how i select feature programatically

$layer = $map->GetLayers()->GetItem($layerName);
$featureReader = $layer->SelectFeatures($queryOptions);
$selection = new MgSelection($map);
$selection->AddFeatures($layer, $featureReader, 0);
$selectionXml = $selection->ToXml();

and works fine.. but selection tool does not.


Thx,


Ary Sucaya



----- Original Message ----
From: Jason Birch <Jason.Birch@nanaimo.ca>
To: MapGuide Users Mail List <mapguide-users@lists.osgeo.org>
Sent: Wednesday, February 13, 2008 8:59:18 PM
Subject: RE: [mapguide-users] Postgis Selection Problem (additional)


Oh wait, I don’t know if that makes any sense.  You say that the selection renders when you select it programmatically, not when using the MapGuide selection tool.  I wonder what the difference between these approaches is.
 
Jason
 
From: Jason Birch
Subject: RE: [mapguide-users] Postgis Selection Problem (additional)
 
I’d be interested in knowing if this problem persists when you change your rendering engine from AGG to GD.


-----Inline Attachment Follows-----

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

</div>
</div></blockquote>


<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/Postgis-Selection-Problem-%28additional%29-tp15466067s16610p15502976.html">Re: Postgis Selection Problem (additional)</a><br>
Sent from the <a href="http://www.nabble.com/MapGuide-Users-f14845.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>