Hi BrainDrain, Thanks for your reply. Your solution doesn't work.
the code relating to the info control is the culprit. It started giving errors, then I commented it but after that the map was not getting displayed. Finally after a lot of effort I got the map but with problems stated earlier. After applying your code I find that the background is occupying 600 * 600 but the actual layers are coming small even though magnification level is 6 or more. I think it is Openlayer 2.8 which is causing the problem.So I need to go back to OL2.7. But then is it possible to hav Get Feature Info in 2.7 from shape files? If you know how to do it pls send code across. -- View this message in context: http://n2.nabble.com/mapserver-not-generating-proper-map-tp4776875p4779918.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users