On Wed, Jan 5, 2011 at 12:55 PM, Mukesh Subedee <[email protected]> wrote:
> Thanks Steve for your response. Unfortunately, it does not work with the
> change. wrapDateLine was working before with pink tiles being wrapped but
> with the change it does not work either. I still could not figure out the
> problem.
>
>
You are mixing WMS parameters and OpenLayers parameters. Try
var I = new OpenLayers.Layer.WMS("region", "
http://localhost/cgi-bin/mapserv?map=/home/public_html/mapserverdemo/try5.map&
",
{layers: 'ecoregion',format: 'image/jpeg'},
{wrapDateLine: true}
);
Failing that look in firebug to see exactly what the URL being sent to your
server is and see if you can spot what is wrong that way.
Ian
--
Ian Turton
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users