On Mon, Aug 25, 2008 at 06:47:46AM -0700, Salvaro wrote: > > Hey, > > I've a map where I put three layers, WMS, Google Maps and vector Layer with > data. > When I'm using the WMS layer, the vector Layer works well and project the > points in correct position. > But using Google Maps when I change the position of the map, the points in > vector Layer changes their position too (they "walk" up or down), changing > the latitude (the longitude works well). I tested much things to change the > projection, set the projection in layer, in map, display projection, but > nothing works well. Anyone knows what I've to do to correct this?
The sphericalMercator: true option (which you've described as being problematic below) is the solution to this. Vectors don't work over google except in sphericalMercator. > Another problem is when I set "Spherical Mercator" true in Google layer. > Don't know why, but the controls doesn't work after this (including after I > set the displayProjection). Can you include a small example of this problem? I don't kno why this would be, but this is what you'll need to resolve. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
