[mapguide-users] SelectFeatures returning the wrong data

Jon Rizzo jrizzo at Langan.com
Tue Feb 12 17:46:22 EST 2008



My sites are almost working in RC3.  The final problem with my sites appears
to be a problem with MgFeatureReader.  The features on the map are joined to
a database and the joins appear to be working properly because they are
being labeled correctly.  however, when the user selects one of the featues,
my code calls MgFeatureService::SelectFeatures to retrieve an
MgFeatureReader, passing in an MgFeatureQueryOptions generated from the
current selection.  The problem is, the MgFeatureReader returned by
SelectFeatures always returns the feature whose PRIMARYINDEX is 1,
regardless of the which object the user selects.  This code was working
previously and this issue only seems to effect polygon features, not points.
-- 
View this message in context: http://www.nabble.com/SelectFeatures-returning-the-wrong-data-tp15445051s16610p15445051.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list