Web API Reference MapGuide Open Source

MgLayer Class Reference
[MgLayer]

Gets and sets properties of a layer. More...

Inherits MgLayerBase.

List of all members.


Public Member Functions

virtual MgClassDefinitionGetClassDefinition ()
 Gets the class definition for the feature class of the layer. If the feature class of the layer is extended with properties from other feature classes, then all those properties are also contained in the returned class definition. See Feature Schema .
 MgLayer (MgResourceIdentifier *layerDefinition, MgResourceService *resourceService)
 Creates a MgLayer object from a layer definition.
virtual MgDataReaderSelectAggregate (MgFeatureAggregateOptions *options)
 Selects groups of features from a feature source and applies filters to each of the groups according to the criteria set in the MgFeatureAggregateOptions argument. If you want to apply the criteria to all features without grouping them, use the MgFeatureService::SelectFeatures Method . See Filters and expressions .
virtual MgFeatureReaderSelectFeatures (MgFeatureQueryOptions *options)
 Selects features from a feature source according to the criteria set in the MgFeatureQueryOptions argument The criteria are applied to all of the features in the feature source. If you want to apply the criteria to a subset of the features, use the MgFeatureService::SelectAggregate Method . See Filters and expressions .
virtual MgPropertyCollectionUpdateFeatures (MgFeatureCommandCollection *commands)
 Executes the MgDeleteFeatures, MgInsertFeatures, MgUpdateFeatures, MgLockFeatures or MgUnlockFeatures commands contained in the given MgFeatureCommandCollection object.

Detailed Description

Gets and sets properties of a layer.


Comments or suggestions? Send us feedback.