Problem with SetSelectionXml

Farah farah at egovernments.org
Fri Sep 29 05:56:15 EDT 2006


Hi..!!!

 

I am trying to zoom to a particular extent based on some search results.
Currently, I am adding all the features (I got from searching) to the
selection set and I am zooming to the selection using:

 

parent.parent.SetSelectionXML(selectionXml);

parent.parent.ExecuteMapAction(10);

 

 It works fine the first time I do it. However, when I do a new search, it
hangs. If I comment out the line:
parent.parent.SetSelectionXML(selectionXml);  , then there is no problem.
However I need to zoom to the extent. Has anyone faced this problem?  Please
help!

 

 

Thanks and regards

Farah

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060929/b90fcd54/attachment.html


More information about the Mapguide-users mailing list