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. <br><br><div class="gmail_quote">
On Mon, Jul 11, 2011 at 3:29 AM, Jan Tappenbeck <span dir="ltr"><<a href="mailto:osm@tappenbeck.net">osm@tappenbeck.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
Hallo !<br>
<br>
i want to get the coordinates of the current map-object.<br>
<br>
var bounds = map.getExtent();<br>
<br>
when i used bounds.toBBOX() i get hole coordinates 1102122.562596,7080097.905691,<u></u>1126582.411644,7089289.458341<br>
<br>
can someone tell me how to implement the transform-operation for this box-values ?!?<br>
<br>
regards Jan .-)<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/openlayers-<u></u>users</a><br>
</blockquote></div><br>