I don't think that there are a lot of folks here with direct OpenLayers experience, so you may need to provide more details.
I think that your first problem is probably due to JavaScript's same-origin policy. Is your OpenLayers map running on a different host than the MapGuide server? For the second issue, I would probably want to run a network sniffer like Fiddler2 or the one built into FireBug to see what is being requested from the MapGuide WMS and if there is an exception being returned. Also, make sure there is data in view at the scale being displayed. Jason -----Original Message----- From: carls Subject: [mapguide-users] How to config the WMS Data/Layer published byMapGuide and how to set the access way to it? I need to access Mapguide OverLayer to Openlayers, but there are something wrong with it (access denied with XMLHttpRequest.open(......)). So I moved to Add WMS Layer published by MapGuide. I tested many times, there is always a empty image displayed. How to config the WMS Data/Layer published by MapGuide and how to set the access way to it? _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
