On Wed, Nov 12, 2008 at 12:36:28PM +0100, Didrik Pinte wrote:
> Hi list,
> 
> I've solved the problem by loading the data in the layer using a GeoJSON
> format object with an internal and external projection defined. It works
> fine now.
> 
> This does not explain why adding the features directly to the layer did
> not work ...

Geometries are only reprojected by OpenLayers if they are created by
OpenLayers. So, formats -- which call new OpenLayers.Geometry, are
transforming the gemoetries at that time, but the vector layer does not
transfrm when you add to it.

Regards,
-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to