The data source information and style information for a layer controls how the layer looks when it displayed on a map. This is stored in the layer definition in the repository. To change any of the data source or style information, modify the layer definition.
Layer definitions can be modified using Autodesk MapGuide Studio. They can also be created and modified dynamically using the Web Extensions API. See Modifying Maps and Layers for details.