Web API Reference MapGuide Open Source
virtual void MgMap::Create ( CREFSTRING  mapSRS,
MgEnvelope mapExtent,
CREFSTRING  mapName 
) [virtual]

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 A string specifying the spatial reference system in OpenGIS WKT format.
mapExtent An MgEnvelope defining the overall extent of the map.
mapName A string that specifies the name of the map.

Reimplemented from MgMapBase.


Comments or suggestions? Send us feedback.