[mapguide-users] Bug in SetSelection?

Jim O'Leary joleary.public at gmail.com
Tue Feb 13 20:25:07 EST 2007


Thanks Chris and James, that is an elegant solution.

In PHP, that line in setselection.php is:

$featInfo = $renderingSrvc->QueryFeatures($map, $layerNames, $geometry,
MgFeatureSpatialOperations::Intersects, 1);

...and I changed it to:

$featInfo = $renderingSrvc->QueryFeatures($map, $layerNames, $geometry,
MgFeatureSpatialOperations::Intersects, 1);

$featInfo = $renderingSrvc->QueryFeatures($map, $layerNames,
$geometry->GetCentroid(), MgFeatureSpatialOperations::Intersects, 1);



James Card wrote:
> 
> On Tue, 13 Feb 2007 09:09:26 -0800, Chris Claydon  
> <chris.claydon at autodesk.com> wrote:
> 
>> I posted information on the newsgroup about how to do this a while ago,
>> but if you can't find it I'll dig it up and re-post it.
> 
> <URL:  
> http://www.nabble.com/RE%3A--Mapguide_users--Courious-behavior-of-Properties-pane-withSetSelection-tf2942020s16610.html#a8226351  
>>
> 
> -- 
> James Card
> California CAD Solutions, Inc.
> 209 578-5580
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Bug-in-SetSelection--tf3221393s16610.html#a8957220
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list