MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgBatchPropertyCollection* MgRenderingService::QueryFeatureProperties ( MgMap map,
MgStringCollection layerNames,
MgGeometry filterGeometry,
INT32  selectionVariant,
INT32  maxFeatures 
) [pure virtual]

The QueryFeatureProeprties operation identifies those features that meet the specified spatial selection criteria. This operation is used to implement WMS feature info and returns property values for all features which match the spatial query.

Parameters:
mapInput map object containing current state of map.
layerNamesInput Active layer names for which to query features
filterGeometryInput geometry object specifying the selection area
selectionVariantInput selection criterion - integer value corresponding to one of the MgFeatureSpatialOperations values
maxFeaturesInput the maximum number of features to return
Returns:
An MgSelection instance identifying the features that meet the selection criteria. Returns null if no features are identified.