[OpenLayers-Users] Transform

Adam Eskreis aeskreis at gmail.com
Mon Jul 11 13:16:59 EDT 2011


The first thing you need to do is figure out what projection you're in
and what projection you want to go to.  Then you just need to use the
OpenLayers.Projection API to transform the coordinates.

On Mon, Jul 11, 2011 at 3:29 AM, Jan Tappenbeck <osm at tappenbeck.net> wrote:

>
>
>  Hallo !
>
> i want to get the coordinates of the current map-object.
>
>  var bounds = map.getExtent();
>
> when i used bounds.toBBOX() i get hole coordinates
> 1102122.562596,7080097.905691,**1126582.411644,7089289.458341
>
> can someone tell me how to implement the transform-operation for this
> box-values ?!?
>
> regards Jan .-)
>
> ______________________________**_________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/openlayers-**users<http://lists.osgeo.org/mailman/listinfo/openlayers-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110711/a02cd0ee/attachment.html


More information about the Users mailing list