[mapguide-users] Zoom To selection

Mbonnet mbonnet at adelior.gfi.fr
Tue Apr 24 11:15:26 EDT 2007


hi, did you solved this problem because i have the same one

Farah-2 wrote:
> 
>  
> 
>  
> 
> Hi Friends!
> 
>  
> 
> I had posted this problem some time ago. But I wasn't able to come up with
> any solution to this. Does anybody have any pointers regarding the below
> mentioned problem?
> 
>  
> 
> I am doing a search based on some condition and I am marking an existing
> layer with some markers. At the same time, I am adding these results to
> the
> map selection and I am zooming to the selected results using:
> 
> parent.parent.SetSelectionXML(selectionXml);
> 
> parent.parent.ExecuteMapAction(10);
> 
>  
> 
> This works fine, the first time I do it. But if I do a new search, then
> the
> program hangs at this line:
> 
> featureService.UpdateFeatures(parcelMarkerFeatureSourceId,
> parcelMarkerCommands, false).
> 
>  In fact, after a long time, it returns null. Is this an existing bug? Or
> is
> there some way to get around it?
> 
> I am attaching my code as well. If someone has any idea, please reply!
> 
>  
> 
> Regards
> 
> Farah
> 
> 
>  
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
> 

-- 
View this message in context: http://www.nabble.com/Zoom-To-selection-tf2408316s16610.html#a10163084
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list