[OpenLayers-Users] WMS and Google Maps - Overlayer Alignement

Christopher Schmidt crschmidt at metacarta.com
Mon Aug 25 10:28:40 EDT 2008


On Mon, Aug 25, 2008 at 07:14:37AM -0700, Salvaro wrote:
> 
> Sure.
> 
> When I set this option (Spherical Mercator true), I can't move the map (or
> use the pan scan).
> 
> I'm using map Options with these configs:
> maxResolution: 156543.0339
> maxExtent: -20037508., -20037508.34, 20037508.34, 20037508.34
> NumZoomLevels: 19
> Units: m
> Projection: "EPSG:900913"
> displayProjection: new Projection("EPSG:4326") (tried without this too)
> 
> And using the layer with simple config (type, isBaseLayer and spherical
> mercator).

Since you didn't include Javascript, it's hard to know. :)

Please publish (on the web) or attach to email an HTML file which
demonstrates the problem. What you've just described is also true of
http://openlayers.org/dev/examples/spherical-mercator.html , which works
fine.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list