On 7/30/07, Antonio Volpicelli <[EMAIL PROTECTED]> wrote:
> Hi Eric,
Hi Antonio,
> I have about 50 requests per layer. This when I go up with the zoom.
> Now I am using the Mapserver class , probably I will switch to WMS.
> You told me about buffer:0 but I didn't find in the docs this parameter
> for the Mapserver class.
> I wrote a line like this:
> layers[2] = new OpenLayers.Layer.MapServer( "AIS",
> wmsserver, {layers: 'AIS',format:
> "image/png",transparent: true,buffer:0});
> Is it correct?
No. 'buffer' is an option, not a URL parameter. Do this instead:
layers[2] = new OpenLayers.Layer.MapServer( "AIS",
wmsserver, {layers: 'AIS',format:"image/png",transparent: true},
{buffer:0});
--
Eric
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev