Web API Reference MapGuide Open Source

MgRenderingService Class Reference
[MgRenderingService]

Inherits MgService.

Inherited by MgProxyRenderingService.

Inheritance diagram for MgRenderingService:

Inheritance graph
[legend]
List of all members.

Detailed Description

This class provides services to render a map into an image.


Public Member Functions

virtual MgFeatureInformationQueryFeatures (MgMap *map, MgStringCollection *layerNames, MgGeometry *geometry, INT32 selectionVariant, INT32 maxFeatures)=0
 The QueryFeatures operation identifies those features that meet the specified spatial selection criteria. This operation is used to implement server-side selection. In addition to a selection set, this operation returns attribute information in case only one feature is selected.
virtual MgByteReaderRenderDynamicOverlay (MgMap *map, MgSelection *selection, CREFSTRING format)=0
 Renders all dynamic layers in the specified MgMap to a dynamic overlay image with a transparent background. The center, scale, size, and layers to be rendered are defined by the specified map instance. The format parameter must be set to an image format that supports transparency.
virtual MgByteReaderRenderMap (MgMap *map, MgSelection *selection, MgCoordinate *center, double scale, INT32 width, INT32 height, MgColor *backgroundColor, CREFSTRING format)=0
 Renders the specified MgMap to the requested image format.
virtual MgByteReaderRenderMap (MgMap *map, MgSelection *selection, MgEnvelope *extents, INT32 width, INT32 height, MgColor *backgroundColor, CREFSTRING format)=0
 Renders the specified MgMap to the requested image format.
virtual MgByteReaderRenderMap (MgMap *map, MgSelection *selection, CREFSTRING format)=0
 Renders the specified MgMap to the requested image format.
virtual MgByteReaderRenderMapLegend (MgMap *map, INT32 width, INT32 height, MgColor *backgroundColor, CREFSTRING format)=0
 Renders the legend for the specified MgMap to the requested size and format.
virtual MgByteReaderRenderTile (MgMap *map, CREFSTRING baseMapLayerGroupName, INT32 tileColumn, INT32 tileRow)=0
 Returns the specified base map tile for the given map. If a cached tile image exists it will return it, otherwise the tile is rendered and added to the cache.