[OpenLayers-Users] Problems with zooming

Bradley McLain bradley_mclain at debortoliwines.com
Tue Nov 20 20:05:08 EST 2007


Cheers that makes sense, but with the custom projection where do I apply
this?

Do I need to use 'reproject: true' option on all my mapserver layers? do I
need to change anything in my mapfile?

Brad


On 21/11/2007, Tim Schaub <tschaub at openplans.org> wrote:
>
> Hey-
>
> Bradley McLain wrote:
> > Currently I have OpenLayers 2.5 set up so that it is importing from
> > Google Maps and my own custom Mapserver which is serving raster and
> > vector data. They are being imported using the WMS layer function.
> >
> > This works perfectly for the default zoom level but whenever I zoom in
> > the Google Layers and my custom layers are no longer correctly aligned.
> > The same also happens for zooming out.
> >
>
> Before trying to overlay your data on Google's tiles (or tiles from
> Yahoo, VE, or others), please read and understand this document:
>
> http://trac.openlayers.org/wiki/SphericalMercator
>
> Then you'll want to look at the spherical mercator example in the
> examples directory:
>
> http://www.openlayers.org/dev/examples/spherical-mercator.html
>
> If you're still having trouble, you can write back with more detail on
> your setup.
>
> Tim
>
>
> > Any help with this would be much appreciated.
> >
> > Cheers
> >
> > Brad
> >
> >
> > !DSPAM:4033,47437b2e108702092453641!
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >
> >
> > !DSPAM:4033,47437b2e108702092453641!
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071121/0726a655/attachment.html


More information about the Users mailing list