Hi,
i am not able to get the selection details in MGOS 2.1 earlier i used 2.0
its working fine but in 2.1 its not comming see the below code
2.0
// TODO: How to get selectionSize?
int selectionSize = 20;
MgStringCollection filters = sel.GenerateFilters(selLayer, featureClassName,
selectionSize);
int numFilter = filters.GetCount();
for (int filterIndex = 0; filterIndex < numFilter; filterIndex++)
{
String filter = filters.GetItem(filterIndex);
if (filter == null || filter.Length == 0)
continue;
strReturn = featureClassName + "@" + filter;
}
in 2.1
String filter = sel.GenerateFilter(selLayer, featureClassName);
its return null...
Thanks & Regards
Siva
--
View this message in context:
http://n2.nabble.com/Map-selection-details-in-MGOS-2-1-tp4590170p4590170.html
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