MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual void MgMapBase::Create ( CREFSTRING  mapSRS,
MgEnvelope mapExtent,
CREFSTRING  mapName 
) [virtual]

Initializes a new MgMapBase 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:
mapSRSA string specifying the spatial reference system in OpenGIS WKT format.
mapExtentAn MgEnvelope defining the overall extent of the map.
mapNameA string that specifies the name of the map.

Reimplemented in MgMap.