Instances of OpenLayers.Layer.MapGuide are used to display data from a MapGuide OS instance.
| OpenLayers. Layer. MapGuide | Instances of OpenLayers.Layer.MapGuide are used to display data from a MapGuide OS instance. |
| Properties | |
| isBaseLayer | {Boolean} Treat this layer as a base layer. |
| singleTile | {Boolean} use tile server or request single tile image. |
| Constants | |
| TILE_PARAMS | {Object} Hashtable of default parameter key/value pairs for tiled layer |
| SINGLE_TILE_PARAMS | {Object} Hashtable of default parameter key/value pairs for untiled layer |
| Constructor | |
| OpenLayers. Layer. MapGuide | Create a new Mapguide layer, either tiled or untiled. |
Create a new Mapguide layer, either tiled or untiled.
For tiled layers, the ‘groupName’ and ‘mapDefnition’ options must be specified as options.
For untiled layers, specify either combination of ‘mapName’ and ‘session’, or ‘mapDefinition’ and ‘locale’.
| name | {String} Name of the layer displayed in the interface |
| url | {String} Location of the MapGuide mapagent executable (e.g. http://localhost:8008- /mapguide- /mapagent- /mapagent.fcgi) |
| params | {Object} hashtable of additional parameters to use. Some parameters may require additional code on the serer. The ones that you may want to use are: |
| options | {Ojbect} Hashtable of extra options to tag onto the layer; will vary depending if tiled or untiled maps are being requested |