On Fri, 2010-03-19 at 04:51 -0800, Mulone wrote:
> UPDATE: we managed to reproject in google mercator the map on OpenLayers with
> this code: 
> 
> http://www.copypastecode.com/24724
> 
> It looks ok but when I added a transparent Google Maps layer, our geometries
> are shifted south by about 30km. 
> Any idea of what might cause this issue? 

Instead of:
  maxExtent: new OpenLayers.Bounds(-20000000, -20000000, 20000000, 20000000)

You might want to try:
  maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508),

        Jon



_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to