[OpenLayers-Users] WMS overlay alignment on Google Map baselayer

Ross Mongin ross at mongin.net
Mon Aug 21 21:03:03 CDT 2006


So it seems like there is some agreement that there should be  
functionality within OpenLayers to enable WMS layers to work with  
projected base layers.  A couple approaches seem apparent:  1) Create  
a WMS layer subclass that would expose the key basemap methods needed  
to calculate the correct tile bounds.  2) Handle the reprojection  
within OpenLayers, creating the necessary class to calculate the tile  
bounds.  I have not looked at the feasibility of doing option 1, but  
it seems like it would make sense to allow the baselayers to handle  
implementation of calculating the correct conversions from pixel x, y  
to lat / lon.  Option 2 seems like it would be tough to manage as  
more baselayers become availible, each with thier own projection  
nuances.

Thoughts / suggestions?

-Ross


More information about the Users mailing list