Re: [OpenLayers-Users] Problem in openlayers when migrating from Mapserver 5.0 to 5.2

2009-12-26 Thread Eric Lemoine
On Thursday, December 24, 2009, afrozk wrote: > > Hi, >    It works fine now when I removed the mode=map option. > > I did not remove the  layers option. Please tell me where else do I specify > the > layers option if it is removed from there, just to know it . I think the "layers" param is fine

Re: [OpenLayers-Users] Problem in openlayers when migrating from Mapserver 5.0 to 5.2

2009-12-24 Thread afrozk
Hi, It works fine now when I removed the mode=map option. I did not remove the layers option. Please tell me where else do I specify the layers option if it is removed from there, just to know it . Thanks a lot Afroz Bart van den Eijnden wrote: > > Hi, > > did you try and leave out th

Re: [OpenLayers-Users] Problem in openlayers when migrating from Mapserver 5.0 to 5.2

2009-12-24 Thread bartvde
Hi, did you try and leave out the parameter mode like I said in my first e-mail? It looks like every tile retrieves a full map, because you use mode=map in your parameter list. Remove it, so use: countrylayer = new OpenLayers.Layer.WMS( "Country Outline", "http://"; + server + "/cgi-bin/mapse

Re: [OpenLayers-Users] Problem in openlayers when migrating from Mapserver 5.0 to 5.2

2009-12-24 Thread afrozk
Thankyou Bart for your quick reply. Please find attached the screenshot. Thanks Afroz Bart van den Eijnden wrote: > > What do you mean with repeating as tiles? Can you show an example, a > screendump of what is wrong? > > Also, your WMS layer should not get the parameters mode and layers, rem

Re: [OpenLayers-Users] Problem in openlayers when migrating from Mapserver 5.0 to 5.2

2009-12-23 Thread bartvde
What do you mean with repeating as tiles? Can you show an example, a screendump of what is wrong? Also, your WMS layer should not get the parameters mode and layers, remove them from your Layer.WMS definition. Best regards, Bart > > I have a WMS worldmap layer which was working fine in mapserver

[OpenLayers-Users] Problem in openlayers when migrating from Mapserver 5.0 to 5.2

2009-12-23 Thread afrozk
I have a WMS worldmap layer which was working fine in mapserver 5.0 with openlayers 2.8 Now when I migrated to mapserver 5.2, the worldmap layer in repeating as tiles. Below is my code, Only copied the relevant part. //Variables var country_options = {displa