[OpenLayers-Users] Markers on Google move around N/S

André Salvaro asufsc at gmail.com
Thu Sep 4 08:40:32 EDT 2008


One doubt about these projection changes:
When I'm using two layers with different projections (a EPSG:4326 abd
EPSG:900913), which is the correct "config"? Should I set projection and
display projection in the Map object? Or directly in the Layer object? Or
both?

Thanks,
André Salvaro.

2008/9/3 Christopher Schmidt <crschmidt at metacarta.com>

> On Wed, Sep 03, 2008 at 12:29:05PM -0600, Matt Williamson wrote:
> > Ok,
> >
> > So I'm trying to do all this with sphericalMercator on...now, if I
> > start my map with a EPSG:4326 layer, and then switch to a Google EPSG:
> > 900913 layer (using the layer switcher), my GML layer doesn't
> > automatically transform itself...fine, but what's the correct way to
> > make it do so? Or should it do it automatically?
>
> It *should* do it automatically, but it doesn't yet. There is an open
> ticket for this functionality.
>
> > Or, am I not supposed to try to make maps that can switch between base
> > layers of different projections? Maybe that's why I'm having so much
> > trouble with this...?
>
> Right now, OpenLayers doesn't have the capability to do this in a sane
> way, that is correct.
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> 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/20080904/193ea8e4/attachment.html


More information about the Users mailing list