[OpenLayers-Users] WMS overlay alignment on Google Map base layer

Ross Mongin ross at mongin.net
Fri Aug 18 12:14:40 CDT 2006


Several posts have touched on the topic of Google Maps mix of Lat /Lon and
Mercator at different zoom levels.

http://mailman-viper.python-hosting.com/pipermail/users/2006-June/000029.html

The Google Map / Geoserver WMS function works.  The javascript function
adjusts the WMS request, setting the SRS to the correct projection as it
moves to the lower zoom levels.

http://www.mongin.net/maps/google_map1.html


However, the same WMS service called using the OpenLayers control shows
the tile overlay incorrectly offset, even at the lower zoom levels when it
is using lat/long ESPG 4326.

http://www.mongin.net/maps/google_map.html

Any ideas on what is causing the OpenLayers WMS layer to be skewed?

-Ross





More information about the Users mailing list