RE AW: [OpenLayers-Users] symbol truncated on tile borders of WMS

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Fri Oct 21 08:23:48 EDT 2011


Most of my layers are WMS that I don't have control on.
I'm wondering why I don't set singleTile: true to all my WMS 
connection......

What could be the issues if I set singleTile: true to all my layers?
thanks
Steve




"Arnd Wippermann" <arnd.wippermann at web.de> 
2011-10-20 18:25

A
<Steve.Toutant at inspq.qc.ca>
cc
<users at openlayers.org>
Objet
AW: [OpenLayers-Users] symbol truncated on tile borders of WMS








set gutter:10 in the options of your wms layer.
 
 
OpenLayers\Layer.js
 
    /**
     * APIProperty: gutter
     * {Integer} Determines the width (in pixels) of the gutter around 
image
     *     tiles to ignore.  By setting this property to a non-zero value,
     *     images will be requested that are wider and taller than the 
tile
     *     size by a value of 2 x gutter.  This allows artifacts of 
rendering
     *     at tile edges to be ignored.  Set a gutter value that is equal 
to
     *     half the size of the widest symbol that needs to be displayed.
     *     Defaults to zero.  Non-tiled layers always have zero gutter.
     */ 
    gutter: 0, 
Arnd
 

Von: openlayers-users-bounces at lists.osgeo.org 
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von 
Steve.Toutant at inspq.qc.ca
Gesendet: Donnerstag, 20. Oktober 2011 18:00
An: openlayers-users at lists.osgeo.org
Betreff: [OpenLayers-Users] symbol truncated on tile borders of WMS


Hi, 
When I draw a WMS with singleTile: false, the symbols are truncated along 
the edges of the tiles. 
I read that we can use partial false for labels but is there somethig we 
can do for symbols? 
thanks 
Steve 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111021/02420536/attachment.html


More information about the Users mailing list