My map is in EPSG:900913, but I want to use displayProjection so that the mousePosition control returns coordinates in EPSG:26716 (UTM zone 16 N, nad27).<br><br>Proj4js is installed and I've downloaded the definition for EPSG:26716 from <a href="http://spatialrefernce.org">spatialrefernce.org</a> and loaded it into the script with<br>
<div><br><span class="Apple-style-span" style="font-family: 'courier new', monospace;"><script src="..\proj4js\lib\proj4js-combined.js" type="text/javascript"></script> <br><script src="..\proj4js\lib\defs\EPSG26716.js" type="text/javascript"></script><br>
<script src="..\proj4js\lib\defs\EPSG900913.js" type="text/javascript"></script> <br></span><br></div><div>The map and display projections are set with </div><div><br></div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace;">proje</span><span class="Apple-style-span" style="font-family: 'courier new', monospace;">ction: new OpenLayers.Projection("EPSG:900913"),<br>
displayProjection: new OpenLayers.Projection("EPSG:26716"),</span><br></div><div><span class="Apple-style-span" style="font-family: 'courier new'; font-size: 12px;"><br></span></div><div><span class="Apple-style-span" style="font-family: 'courier new'; font-size: 12px;">But the only way I can get the mousePosition control to give me anything other than EPSG:900913 is to set the displayProjection to EPSG:4326. I've tried several output projections. It feels like I'm missing something obvious. Any help appreciated.</span></div>
<div><span class="Apple-style-span" style="font-family: 'courier new'; font-size: 12px;"><br></span></div><div><span class="Apple-style-span" style="font-family: 'courier new'; font-size: 12px;">--cj</span></div>