I am trying to display Ordnance Survey Grid references (ESPG:27700) on a set of BaseMaps with the MousePosistion control.
From looking through the OpenLayers samples and this forum samples I have managed figure out most of the code that is needed. I understand that you need to reference the projection and include the proj4.js reference library. But I think I am missing something as I cant get to. I can get coordinates in ESPG: 4326 and 900913 but not 27700 If I set the "displayProjection:" option accordingly.
Please see my code:
Sample Map Would anyone be able to advise where I am going wrong?
Thanks
أكثر...
From looking through the OpenLayers samples and this forum samples I have managed figure out most of the code that is needed. I understand that you need to reference the projection and include the proj4.js reference library. But I think I am missing something as I cant get to. I can get coordinates in ESPG: 4326 and 900913 but not 27700 If I set the "displayProjection:" option accordingly.
Please see my code:
Sample Map Would anyone be able to advise where I am going wrong?
Thanks
أكثر...