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 | ( | MgResourceService * | resourceService,
|  | MgResourceIdentifier * | mapDefinition,
|  | CREFSTRING | mapName |
| ) |  |  | `[virtual]`
Initializes a new MgMapBase object given a resource service, map definition, and a name for the map. This method is used for MapGuide Viewers or for offline map production. .NET Syntax
`void Create(MgResourceService resourceService, MgResourceIdentifier mapDefinition, string mapName);`
Java Syntax
`void Create(MgResourceService resourceService, MgResourceIdentifier mapDefinition, String mapName);`
PHP Syntax
`void Create(MgResourceService resourceService, MgResourceIdentifier mapDefinition, string mapName);`
  Parameters:
  | resourceService | An MgResourceService that can be used to retrieve the map definition.
  | mapDefinition | An MgResourceIdentifier that specifies the location of the map definition in a resource repository.
  | mapName | A string that specifies the name of the map.
Reimplemented in MgMap.

Comments or suggestions? Send us feedback.