Hi Ian, That did it!
On Mon, Jun 20, 2011 at 3:21 PM, Ian Turton <[email protected]> wrote: > On 20 June 2011 16:01, Nicholas Efremov-Kendall <[email protected]> > wrote: > > Hi Andreas, > > Thanks for the suggestion. With the following code > > var temp = map.getCenter().transform(new > > OpenLayers.Projection("EPSG:4326"),map.getProjectionObject()); > > Try > var temp = map.getCenter().transform(new > OpenLayers.Projection("EPSG:900913"), new > OpenLayers.Projection("EPSG:4326")); > > So you transform from your map (900913/Google) to what Twitter wants > (4326/latlon) > > Ian > -- > Ian Turton >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
