In your letter dated Thu, 09 Oct 2008 12:53:11 +0100 you wrote:
>Philip Homburg wrote:
>
>> In your letter dated Wed, 8 Oct 2008 17:18:16 +0100 you wrote:
>>> You need to set the displayProjection parameter on the control to get
>>> it to give you lat/lons.
>>> eg: map.addControl(new
>>> OpenLayers.Control.MousePosition({displayProjection:
>>> map.getProjectionObject()}));
>> 
>> That code doesn't seem to make a difference.
>
>That's because displayProjection wasn't set on our map (it is now) plus 
>that code is wrong because it sets the displayProjection on the control 
>to the projection of the map, not it's display projection.

There doesn't seem to be any difference.



_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to