[OpenLayers-Dev] projection property on Geometry?

Christopher Schmidt crschmidt at metacarta.com
Tue Jul 22 07:37:38 EDT 2008


On Tue, Jul 22, 2008 at 11:56:12AM +0200, bartvde at osgis.nl wrote:
> Hi list,
> 
> I am looking into ticket 1254, and this got me to wonder, isn't an
> OpenLayers.Geometry missing a projection property?

I don't think it's 'missing' it. It doesn't have one, but I've never
felt the lack :)

Generally, projection information lives at a higher level: Typically, in
the layer or map (which the Geometry can get to through the feature,
usually?)

See line 456 of Format.GeoJSON.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list