Web API Reference MapGuide Open Source
virtual MgBatchPropertyCollection* MgRenderingService::QueryFeatureProperties ( MgMap map,
MgStringCollection layerNames,
MgGeometry filterGeometry,
INT32  selectionVariant,
CREFSTRING  featureFilter,
INT32  maxFeatures,
INT32  layerAttributeFilter 
) [pure virtual]

The QueryFeatureProperties 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:
map Input map object containing current state of map.
layerNames Input Active layer names for which to query features
filterGeometry Input geometry object specifying the selection area
selectionVariant Input selection criterion - integer value corresponding to one of the MgFeatureSpatialOperations values
featureFilter Input an XML selection string containing the required feature IDs
maxFeatures Input the maximum number of features to return
layerAttributeFilter Input bitmask values - 1=Visible, 2=Selectable, 4=HasTooltips
Returns:
An MgSelection instance identifying the features that meet the selection criteria. Returns null if no features are identified.


Comments or suggestions? Send us feedback.