MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgMappingService Class Reference

Performs map related operations such as getting an eMap DWF representing a map or updates to a map, or querying features from maps or layers of a map. More...

+ Inheritance diagram for MgMappingService:

List of all members.

Public Member Functions

virtual MgByteReaderCreateRuntimeMap (MgResourceIdentifier *mapDefinition, CREFSTRING sessionId, INT32 requestedFeatures, INT32 iconsPerScaleRange)=0
 Creates a new runtime map from the specified Map Definition resource id and returns an XML-based description of the runtime map.
virtual MgByteReaderCreateRuntimeMap (MgResourceIdentifier *mapDefinition, CREFSTRING targetMapName, CREFSTRING sessionId, CREFSTRING iconFormat, INT32 iconWidth, INT32 iconHeight, INT32 requestedFeatures, INT32 iconsPerScaleRange)=0
 Creates a new runtime map from the specified Map Definition resource id and returns an XML-based description of the runtime map.
virtual MgByteReaderDescribeRuntimeMap (MgMap *map, INT32 requestedFeatures, INT32 iconsPerScaleRange)=0
 Returns an XML-based description of the runtime map.
virtual MgByteReaderDescribeRuntimeMap (MgMap *map, CREFSTRING iconFormat, INT32 iconWidth, INT32 iconHeight, INT32 requestedFeatures, INT32 iconsPerScaleRange)=0
 Returns an XML-based description of the given runtime map.
virtual MgByteReaderGenerateLegendImage (MgResourceIdentifier *resource, double scale, INT32 width, INT32 height, CREFSTRING format, INT32 geomType, INT32 themeCategory)=0
 GenerateLegendImage() returns the legend image for the specified layer.
virtual MgByteReaderGenerateMultiPlot (MgMapPlotCollection *mapPlots, MgDwfVersion *dwfVersion)=0
 Generates an ePlot containing one sheet per specified map.
virtual MgByteReaderGeneratePlot (MgMap *map, MgPlotSpecification *plotSpec, MgLayout *layout, MgDwfVersion *dwfVersion)=0
 Plot The map to an EPlot DWF using the center and scale from the map. The extents will be computed to fill the space within the page margins. If the layout paramter is null, no adornments will be added to the page.
virtual MgByteReaderGeneratePlot (MgMap *map, MgCoordinate *center, double scale, MgPlotSpecification *plotSpec, MgLayout *layout, MgDwfVersion *dwfVersion)=0
 Plot the map to an EPlot DWF using the specified center and scale. The extents will be computed to fill the space within the page margins. If the layout paramter is null, no adornments will be added to the page.
virtual MgByteReaderGeneratePlot (MgMap *map, MgEnvelope *extents, bool expandToFit, MgPlotSpecification *plotSpec, MgLayout *layout, MgDwfVersion *dwfVersion)=0
 Plot the map to an EPlot DWF using the extent specified in the mapping coordinate space. The center and scale will be computed based on the extent specified. If expandToFit is true, then the extent specified will be expanded in the X or Y direction to fill the space within the page margins. If the layout paramter is null, no adornments will be added to the page.

Detailed Description

Performs map related operations such as getting an eMap DWF representing a map or updates to a map, or querying features from maps or layers of a map.