Hi Ian,<div><br></div><div>That did it!<br><br><div class="gmail_quote">On Mon, Jun 20, 2011 at 3:21 PM, Ian Turton <span dir="ltr"><<a href="mailto:ijturton@gmail.com" target="_blank">ijturton@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 20 June 2011 16:01, Nicholas Efremov-Kendall <<a href="mailto:n.e.kendall@gmail.com" target="_blank">n.e.kendall@gmail.com</a>> wrote:<br>
> Hi Andreas,<br>
> Thanks for the suggestion. With the following code<br>
> var temp = map.getCenter().transform(new<br>
> OpenLayers.Projection("EPSG:4326"),map.getProjectionObject());<br>
<br>
</div>Try<br>
<div>var temp = map.getCenter().transform(new<br>
</div>OpenLayers.Projection("EPSG:900913"), new OpenLayers.Projection("EPSG:4326"));<br>
<br>
So you transform from your map (900913/Google) to what Twitter wants<br>
(4326/latlon)<br>
<br>
Ian<br>
--<br>
<font color="#888888">Ian Turton<br>
</font></blockquote></div><br></div>