OpenLayers 2.6 includes a MapGuide Open Source layer. This layer allows one to connect to the MapGuide Service.
There are a number of required parameters for connecting to a map:
- For tiled layers, the following parameters must be passed
- 'groupName' and 'mapDefinition' for layer params
- 'singleTile: false' for the layer options
- 'maxExtent' and 'scales' in mapOptions
The scales are available in the mapDefinition, the maxExtent requires some API calls in Mapguide,
see http://mapguide.osgeo.net/files/mapguide/docs/webapi/da/df8/class_mg_map.html for examples in php
- For untiled layers, specify either combination of:
- 'mapName' and 'session'
- 'mapDefinition' and 'locale'
Untiled overlays require additional configuration: you must configure the OpenLayers.ProxyHost,
because it is required for an XMLHttpRequest to be sent to the server before an overlay can be returned.
