Hi, That way you have to set the SRS in the params and the projection in the options.
I would think, it's better, the params get the projection from the map and if you want to overwrite the SRS use projection or projectionAlias in the options. That way you have only one change not two. Also I think, it's better, that one could only overwrite WMS params, which OpenLayers couldn't set by itself like version, layers etc. Arnd -----Ursprüngliche Nachricht----- Von: Andreas Hocevar [mailto:[email protected]] Gesendet: Dienstag, 27. Juli 2010 09:05 An: Arnd Wippermann Cc: 'Anne Blankert'; [email protected] Betreff: Re: [OpenLayers-Users] SphericalMercator and SRS aliases epsg:900913, epsg:3857, epsg:3785, epsg:102113 Please have a look at http://trac.openlayers.org/ticket/2756 and provide feedback. Regards, Andreas. On Jul 26, 2010, at 14:13 , Arnd Wippermann wrote: > Hi Anne, > > I agree, something like 'projectionAlias' is better to understand than > projection. > > Arnd > > > -----Ursprüngliche Nachricht----- > Von: [email protected] > [mailto:[email protected]] Im Auftrag von Anne Blankert > Gesendet: Montag, 26. Juli 2010 00:02 > An: [email protected] > Betreff: Re: [OpenLayers-Users] SphericalMercator and SRS aliases > epsg:900913, epsg:3857, epsg:3785, epsg:102113 > > > Hello Arnd, > > An option named "sphericalmercatoralias" is indeed very specific to > sphericalmercator. > Maybe, an option named "projection" is not specific enough. Users > could think that such an option would somehow magically allow > reprojecting the overlay projection to the map projection. Things > would get mixed up, when sending bounding box coordinates using the wrong projection. > So maybe an option named "projectionalias" would be a better name than > "sphericalmercatoralias" or "projection"? > "projectionalias" stresses the fact that the projection itself should > not be different, just the code that is being used for the projection. > > Anne > > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/SphericalMercator-and-SRS-alias > es-eps g-900913-epsg-3857-epsg-3785-epsg-102113-tp5311417p5336039.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
