Further to Gordon's response, if you look at http://localhost/mapguide/help/devguide/index.html (on the server that you have installed MapGuide OS on) and go to the section called "modifying maps and layers" you will see some examples and a work through of what the code is doing. Mark