MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgByteReader* MgMappingService::GeneratePlot ( MgMap map,
MgCoordinate center,
double  scale,
MgPlotSpecification plotSpec,
MgLayout layout,
MgDwfVersion dwfVersion 
) [pure virtual]

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.

.NET Syntax
virtual MgByteReader GeneratePlot(MgMap map, MgCoordinate center, double scale, MgPlotSpecification plotSpec, MgLayout layout, MgDwfVersion dwfVersion);
Java Syntax
virtual MgByteReader GeneratePlot(MgMap map, MgCoordinate center, double scale, MgPlotSpecification plotSpec, MgLayout layout, MgDwfVersion dwfVersion);
PHP Syntax
virtual MgByteReader GeneratePlot(MgMap map, MgCoordinate center, double scale, MgPlotSpecification plotSpec, MgLayout layout, MgDwfVersion dwfVersion);
Parameters:
map(MgMap) Map object describing current state of map.
center(MgCoordinate) The coordinates of the center of the map for the plot.
scale(double) The scale to use for the plot.
plotSpec(MgPlotSpecification) Plotting specifications for the generated plot.
layout(MgLayout) Layout specifications to use for the generated plot.
dwfVersion(MgDwfVersion) DWF version required by the client. This determines the schema and file versions used to generate the DWFs sent back to the client.
Returns:
Returns an MgByteReader object containing a DWF in ePlot format.
Exceptions:
MgNullArgumentException