[OpenLayers-Dev] [PATCH] wms overlay with gmap baselayer

Eric Lemoine Eric.Lemoine at camptocamp.com
Fri Apr 27 03:29:57 EDT 2007


I've coded a quick-and-dirty OpenLayers patch to be able to have WMS
overlays with gmap baselayers.

The patch switches between EPSG:4326 and EPSG:54004 (Mercator) based
on a zoom threshold.  EPSG:4326 is used for large scales, and
EPSG:54004 for small scales.

The patch works but isn't perfect. The gmap layer and WMS layer do not
match perfectly around the zoom threshold.

Patch applies to current SVN.

Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openlayers-google.patch
Type: text/x-patch
Size: 4278 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20070427/15bdc2b6/openlayers-google.bin

More information about the Dev mailing list