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
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
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
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
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
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