[OpenLayers-Users] Changing the srs of a map

Christopher Schmidt crschmidt at metacarta.com
Thu Feb 18 19:07:38 EST 2010


On Thu, Feb 18, 2010 at 11:25:39PM +0100, Andreas Hocevar wrote:
> Phil Scadden wrote:
> > I am wanting to change the SRS of map "on the fly", (largely dependent 
> > on what imagery is selected am using as a backdrop). Can you just change 
> > it for an existing map or do you have to destroy the map and recreate 
> > with a the new srs?
> 
> If your backdrop is a base layer, and configured with the right srs, the 
> map will automatically switch to the srs that is configured for the base 
> layer.

Sort of. Vectors loaded statically won't reproject.

-- Chris

> Regards,
> Andreas.
> 
> > 
> > Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
> > 
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> 
> 
> -- 
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list