singeTile is not a param, it's an option, so add it to the 4th argument instead 
(where opacity is).

Best regards,
Bart

-- 
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.



On Jan 20, 2011, at 3:05 PM, Robert Buckley wrote:

> Hi,
> 
> This wms layer is not being rendered correctly. On the edge of the tiles the 
> points are being cut off.
> 
> I have already tried to produced single tiles with a ratio of 1, but this 
> doesn´t have any effect.
> 
> Project = 
> http://maps.zgb.de:8080/geoserver/www/zgb_energie/geodatenportal.html
> 
> 
> Can anyone see where I am going wrong?...or is this being overrided somewhere?
> 
> var layer_solar = new OpenLayers.Layer.WMS(
>                 "Energiequelle - Solar (MWh/Kopf)",
>                 "/geoserver/ows",
>                 {
>                    layers: 'zgb_energie:Solar_kopf_SG_wgs84',
>                    srs: 'EPSG:4326',
>                    format: 'image/png',
>                    singleTile: true, 
>                    ratio: 1,
>                    tilesOrigin : "143.60260815000004,-43.851764249999995",
>                    transparent: true
>                 },
>                 {
>                     'opacity': 1, 'isBaseLayer': false, visibility:true
>                 }
>             );
> 
> 
> Yours
> 
> Robert
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to