Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Create
Create
GetDataExtent
GetDisplayDpi
GetDisplayHeight
GetDisplayWidth
GetFiniteDisplayScaleAt
GetFiniteDisplayScaleCount
GetLayerGroups
GetLayers
GetMapDefinition
GetMapExtent
GetMapSRS
GetName
GetObjectId
GetSessionId
GetViewCenter
GetViewScale
MgMapBase
Open
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:
  | 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 in MgMap.

Comments or suggestions? Send us feedback.