Try using a 'gutter' on the WMS layer ...
http://openlayers.org/dev/examples/gutter.html

On Wed, Dec 15, 2010 at 1:47 PM, Jefferson Heard <
[email protected]> wrote:

> I'm getting some pretty severe "seams", bezels, what have you between tiles
> layering on top of Google at what I thought were reasonable zoom levels.  Is
> there some magic I should know about when creating WMS layers or the Google
> map base layer itself?
>
> This is my code:
>
> // the map
> BB.map = new OpenLayers.Map( 'map', {
>            projection: new OpenLayers.Projection("EPSG:900913"),
>            displayProjection: new OpenLayers.Projection("EPSG:4326"),
>            units: 'm',
>            numZoomLevels: 18,
>            maxResolution: 156543.0339,
>            maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508,
> 20037508.34)
>        });
>
> BB.base_layer = new OpenLayers.Layer.Google( 'Google Streets' );
> BB.map.addLayer(base_layer);
>
>
> // for the WMS
> this.openlayer = new OpenLayers.Layer.WMS(this.layer, this.url,
>                        { srs: BB.map.getProjection(),
>                          layers: this.layer,
>                          transparent: true
>                        },
>                        { isBaseLayer : false,
>                          sphericalMercator: true
>                        }
>                    );
>
> _______________________________________________
> 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