MGMap.setName   Go to object model Go to parent topic Go to previous topic Go to next topic

Syntax

void setName(String name)

Description

Sets the name of the current map.

This is equivalent to setting the name of the map on the General tab of the Properties dialog box in Autodesk MapGuide Author.

Note that this method does not work during a busy state. For additional information about the busy state, refer to "Handling Busy State and Map Refresh" chapter in the Autodesk MapGuide Developer's Guide.

Parameters

name - Name of the current map.

Error Codes

-3 (illegal argument)

See Also

getName, MapName