Web API Reference | MapGuide Open Source |
Initializes a new MgMap object given a map definition and a name for the map. This method is used for MapGuide Viewers or for offline map production.
.NET Syntax
Java Syntax
PHP Syntax
Example (PHP)
// Assuming the site connection has already been intialized $resourceID = new MgResourceIdentifier('Library://Calgary/Maps/Calgary.MapDefinition'); $map = new MgMap($site); $map->Create($resourceID, 'Calgary');
|