<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=406573018-21102011><FONT color=#0000ff
size=2 face=Arial>gutter is a client-side option. It tells OpenLayers to request
larger tiles from the WMS Server. This way it is possible to minimalize
truncated symbols at the edges of the tiles.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=406573018-21102011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=406573018-21102011><FONT color=#0000ff
size=2 face=Arial>var wmsLayer = new OpenLayers.Layer.WMS(name, url,
{layers:'...', version:'1.1.1'}, {gutter:10});</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=406573018-21102011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=406573018-21102011><FONT color=#0000ff
size=2 face=Arial>Arnd</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=406573018-21102011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=406573018-21102011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> Steve.Toutant@inspq.qc.ca
[mailto:Steve.Toutant@inspq.qc.ca] <BR><B>Gesendet:</B> Freitag, 21. Oktober
2011 14:24<BR><B>An:</B> Arnd Wippermann<BR><B>Cc:</B>
users@openlayers.org<BR><B>Betreff:</B> RE AW: [OpenLayers-Users] symbol
truncated on tile borders of WMS<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT size=2 face=sans-serif>Most of my layers are WMS that I
don't have control on.</FONT> <BR><FONT size=2 face=sans-serif>I'm wondering why
I don't set singleTile: true to all my WMS connection......</FONT> <BR><BR><FONT
size=2 face=sans-serif>What could be the issues if I set singleTile: true to all
my layers?</FONT> <BR><FONT size=2 face=sans-serif>thanks</FONT> <BR><FONT
size=2 face=sans-serif>Steve</FONT>
<P><BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT size=1 face=sans-serif><B>"Arnd Wippermann"
<arnd.wippermann@web.de></B> </FONT>
<P><FONT size=1 face=sans-serif>2011-10-20 18:25</FONT> </P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<DIV align=right><FONT size=1 face=sans-serif>A</FONT></DIV>
<TD><FONT size=1
face=sans-serif><Steve.Toutant@inspq.qc.ca></FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT size=1 face=sans-serif>cc</FONT></DIV>
<TD><FONT size=1 face=sans-serif><users@openlayers.org></FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT size=1 face=sans-serif>Objet</FONT></DIV>
<TD><FONT size=1 face=sans-serif>AW: [OpenLayers-Users] symbol
truncated on tile borders of WMS</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><BR><BR><FONT
color=blue size=2 face=Arial>set gutter:10 in the options of your wms
layer.</FONT> <BR><FONT size=3> </FONT> <BR><FONT size=3> </FONT>
<BR><FONT color=blue size=2 face=Arial>OpenLayers\Layer.js</FONT> <BR><FONT
size=3> </FONT> <BR><FONT color=blue size=2 face=Arial>
/**<BR> * APIProperty: gutter<BR> * {Integer}
Determines the width (in pixels) of the gutter around image<BR> *
tiles to ignore. By setting this property to a non-zero
value,<BR> * images will be requested that are wider
and taller than the tile<BR> * size by a value of 2 x
gutter. This allows artifacts of rendering<BR> *
at tile edges to be ignored. Set a gutter value that is equal
to<BR> * half the size of the widest symbol that
needs to be displayed.<BR> * Defaults to zero.
Non-tiled layers always have zero gutter.<BR> */ <BR>
gutter: 0, </FONT><BR><FONT color=blue size=2 face=Arial>Arnd</FONT>
<BR><FONT color=blue size=2 face=Arial> </FONT> <BR>
<HR>
<BR><FONT size=2 face=Tahoma><B>Von:</B>
openlayers-users-bounces@lists.osgeo.org
[mailto:openlayers-users-bounces@lists.osgeo.org] <B>Im Auftrag von
</B>Steve.Toutant@inspq.qc.ca<B><BR>Gesendet:</B> Donnerstag, 20. Oktober 2011
18:00<B><BR>An:</B> openlayers-users@lists.osgeo.org<B><BR>Betreff:</B>
[OpenLayers-Users] symbol truncated on tile borders of WMS</FONT><FONT
size=3><BR></FONT><BR><FONT size=2 face=sans-serif><BR>Hi,</FONT><FONT size=3>
</FONT><FONT size=2 face=sans-serif><BR>When I draw a WMS with singleTile:
false, the symbols are truncated along the edges of the tiles.</FONT><FONT
size=3> </FONT><FONT size=2 face=sans-serif><BR>I read that we can use partial
false for labels but is there somethig we can do for symbols?</FONT><FONT
size=3> </FONT><FONT size=2 face=sans-serif><BR>thanks</FONT><FONT size=3>
</FONT><FONT size=2 face=sans-serif><BR>Steve</FONT><FONT size=3>
</FONT><BR><BR><BR></BODY></HTML>