Service Interfaces
Overview The MapGuide Server exposes many different pieces of functionality either as part of the official API, or through the http mapagent. Such functionality is grouped and represented in the form of service interfaces The Maestro API offers the following services: T:OSGeo.MapGuide.MaestroAPI.Services.IResourceService for managing resources T:OSGeo.MapGuide.MaestroAPI.Services.IFeatureService for querying feature data T:OSGeo.MapGuide.MaestroAPI.Services.IDrawingService for working with DWF-based Drawing Sources T:OSGeo.MapGuide.MaestroAPI.Services.IFusionService for assisting in the construction of Fusion flexible layouts T:OSGeo.MapGuide.MaestroAPI.Services.IMappingService for interacting with the T:OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMap T:OSGeo.MapGuide.MaestroAPI.Services.ISiteService for querying information about a MapGuide Server T:OSGeo.MapGuide.MaestroAPI.Services.ITileService for the rendering and pre-caching of Map Tile Images
Service availability between various connection implementations No implementation of T:OSGeo.MapGuide.MaestroAPI.IServerConnection is a level playing field. Certain implementations may not provide certain services. In such cases, you can use the P:OSGeo.MapGuide.MaestroAPI.IServerConnection.Capabilities property to check what services are provided by your particular connection implementation. However, all implementations are guaranteed to implement at a bare minimum, the Resource and Feature Service interfaces. As such, these services are available through the respective P:OSGeo.MapGuide.MaestroAPI.IServerConnection.ResourceService and P:OSGeo.MapGuide.MaestroAPI.IServerConnection.FeatureService top-level properties Other services are accessible via the M:OSGeo.MapGuide.MaestroAPI.IServerConnection.GetService(System.Int32) method. You will need to cast the returned result to the appropriate interface (all interfaces inherit from T:OSGeo.MapGuide.MaestroAPI.Services.IService)