Web API Reference MapGuide Open Source
MgMapBase* MgMapCollection::GetItem ( CREFSTRING  name  ) 

Gets the map with the specified name.

.NET Syntax
MgMapBase GetItem(string name);
Java Syntax
MgMapBase GetItem(String name);
PHP Syntax
MgMapBase GetItem(string name);

Parameters:
name (String/string) Name of the map to get.
Returns:
Returns the specified MgMapBase object.
Exceptions:
MgInvalidArgumentException if the name does not exist in the collection.


Comments or suggestions? Send us feedback.