If I set the id property for a WMS layer, I get the following error:

Error: this.events is null
Source File: 
http://localhost:8080/map-service/openLayers/lib/OpenLayers/Layer/Grid.js
Line: 83

masterMap = new OpenLayers.Layer.WMS("MasterMap",
                                "Whatever URL", {
                                        width : 500,
                                        srs : projection,
                                        layers : baseLayer,
                                        height : 500,
                                        styles : '',
                                        format : format
                                }, {id: 'test',
                                        singleTile : true,
                                        ratio : 1,
                                        isBaseLayer: true
                                });


any thoughts?


Thanks

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to