Web API Reference MapGuide Open Source

void MgMap::Create CREFSTRING  mapSRS,
MgEnvelope mapExtent,
CREFSTRING  mapName
 

Initializes a new Map object given a spatial reference system, spatial extent of the map, and a name for the map. This method is used for the WMS service implementation and creates a map without any layers.

.Net Syntax
void Create(string mapSRS, MgEnvelope mapExtent, string mapName);
Java Syntax
void Create(String mapSRS, MgEnvelope mapExtent, String mapName);
PHP Syntax
void Create(string mapSRS, MgEnvelope mapExtent, string mapName);

Parameters:
mapSRS (String/string) A string specifying the spatial reference system in OpenGIS WKT format.
mapExtent (MgEnvelope) An MgEnvelope defining the overall extent of the map.
mapName (String/string) A string that specifies the name of the map.