Web API Reference | MapGuide Open Source |
Initializes a new MgMap 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
Java Syntax
PHP Syntax
Example (PHP)
// Assuming the resource service has already been intialized $resourceID = new MgResourceIdentifier('Library://Calgary/Maps/Calgary.MapDefinition'); $map = new MgMap(); $map->Create($resourceService, $resourceID, 'Calgary'); Reimplemented from MgMapBase.
|