[mapguide-users] MgSelection - highlight selected features in map

Jackie Ng jumpinjackie at gmail.com
Tue Jan 3 17:43:14 PST 2017


Yeah, don't do that. 

Feature readers are single-use for a given query result and they can't be
rewound back to the beginning of a query result (hence forward-only). Most
data access libraries (not just MapGuide/FDO) work in this manner.

So basically, just re-execute that same query to get a fresh reader, or
refactor your code so that you can do your processing and populating the
MgSelection at the same time when iterating that feature reader.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MgSelection-highlight-selected-features-in-map-tp5301158p5301889.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list