Is there any .NET example on rendering a selection using MgRenderingService,
other than ...\www\mapviewernet\setselection.aspx one? I'm trying to render
a selection and return XML result to a map frame using my custom .aspx
utilizing web services exposed by my application.

This is a part where my code fails:

MgFeatureInformation featInfo = renderingSrvc.QueryFeatures(map, layerNames,
null, MgFeatureSpatialOperations.Intersects, selText, 1, 2);
Response.Write(featInfo.ToXml().ToString());

selText contains MgSelection.ToXml string based on some query. 
Alas, featInfo.ToXml returns empty string. What am I doing wrong here?

Regards,
Maksim Sestic

-- 
View this message in context: 
http://www.nabble.com/.NET%3A-Server-side-selecting-a-feature-using-MgRenderingService-tf4743528s16610.html#a13564516
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to