On 3/9/11 1:59 AM, Denis Rykov wrote:
I've made a little example which illustrates behavior of MousePosition
control with layers in different projections.
It's not clear for me why the same points has different coordinates
accordingly MousePosition control.
For example - the same point has coordinates (159;55) and (128;55) in
different layers.
What is right way using MousePosition control in such example for
displays correct results?
http://gis-lab.info/share/DR/sandbox/reprojection.html

In this example, your map projection is EPSG:54009. When you display your l2, the map projection is still EPSG:54009 (even though you've transformed features into EPSG:54010 for that layer).

Tim

--
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.
_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to