If your map involves just that one projection, you don't need to do
anything. If other projections are involved, you should add the crs to
the list of known null transforms, e.g.
OpenLayer.Projection.addTransform('EPSG:4326',
'http://www.opengis.net/def/crs/EPSG/0/4326',
OpenLayers.Projection.nullTransform);
OpenLayer.Projection.addTransform('http://www.opengis.net/def/crs/EPSG/0/4326',
'EPSG:4326', OpenLayers.Projection.nullTransform);
Andreas.
On Thu, Jun 21, 2012 at 7:21 PM, Piero Campalani <[email protected]> wrote:
> Dear list,
>
> I would like to understand how OpenLayers works now when reading the SRS of
> a WMS layer.
> Is there a plan to support GML-like SRS definitions,
> eg. http://www.opengis.net/def/crs/EPSG/0/4326 ?
>
> In case, how would they be decoded?
>
> Thanks in advance.
> Piero
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev