AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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.

Note:
This is not valid with AutoCAD Map 3D. It works with MapGuide only.
.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.