[OpenLayers-Users] Write a KML file in proper projection.

bartvde at osgis.nl bartvde at osgis.nl
Mon Mar 15 08:15:58 EDT 2010


Right, you need to use proj4js since you have a custom projection
(ESPG:25832) which is not supported by OL out of the box.

Best regards,
Bart

>
> Thanks for the quick answer, Bart, I really appreciate it :)
>
> When i try to do it like this:
> var format = new OpenLayers.Format.KML({
>   externalProjection: new OpenLayers.Projection("ESPG:900913"),
>   internalProjection: new OpenLayers.Projection("ESPG:25832")
> });
> It's still not working. Is this because I'm doing it wrong, or because I'm
> not using proj4js/custom transformations?
> --
> View this message in context:
> http://n2.nabble.com/Write-a-KML-file-in-proper-projection-tp4736343p4736428.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list