MapGuide API Reference
|
virtual void MgMap::Open | ( | CREFSTRING | mapName | ) | [virtual] |
Loads the map object from a session repository.
virtual void Open(string mapName); |
virtual void Open(String mapName); |
virtual void Open(string mapName); |
mapName | A string that specifies the name of the map. This is the name that was specified when Create was called to create the map object. |
// Assuming the site connection has already been intialized $map = new MgMap($site); $map->Open('Calgary');