[OpenLayers-Users] Horizontal lines along boundaries

Christopher Schmidt crschmidt at metacarta.com
Wed Jul 9 07:31:38 EDT 2008


On Wed, Jul 09, 2008 at 01:05:12PM +0200, Nina Helle-Mildt wrote:
> in my application a WMS layer (getting point data from a PostGIS data 
> table via UMN MapServer) is displayed on top of a Google Maps layer.
> 
> I have attached a snapshot of something quite common on my map: 
> horizontal lines along the tile boundaries. Has anyone experienced a 
> similar problem?
> 
> I tried with the "gutter" property on my WMS layer, but with no success:
> 
> var seis = new OpenLayers.Layer.WMS("Seismische Ereignisse", 
> "http://...", {transparent: 'true', layers: 
> ['q_year_0','q_year_1']},{'isBaseLayer': false},{gutter: 10});

'gutter' is in the wrong place: you want:
 {'isBaseLayer': false, 'gutter': 10}

Not two seperate arguments. 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list