<div>I think I need to do something similar to what this guy has been doing -> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://trac.openlayers.org/ticket/889" target="_blank">http://trac.openlayers.org/ticket/889
</a> but I am unsure.</div>
<div> </div>
<div>What is boils down to is I need the user to see a 600px X 600px map.</div>
<div> </div>
<div>The map should be projected in 4326.</div>
<div> </div>
<div>The "lat/lon viewport" should be able to be converted to UTM. When converted to UTM the image should relate to 1200 meters X 1200 meters.</div>
<div> </div>
<div>I have these lat/lon coordinates.</div>
<div> </div>
<div> ullon = -90.0685495;<br> ullat = 38.6246312;<br> lrlon = -90.0552241;<br> lrlat = 38.6134851;<br> </div>
<div>If I convert to UTM using the formulas here -> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.koders.com/javascript/fid1D029A7E5070579F0F6B6CF3A9115FB82E0AFD69.aspx" target="_blank">http://www.koders.com/javascript/fid1D029A7E5070579F0F6B6CF3A9115FB82E0AFD69.aspx
</a></div>
<div> </div>
<div> zone = Math.floor(((lon + 180) / 6) + 1);<br> </div>
<div>I get the following in UTM</div>
<div> </div>
<div>ul 755199.9576653754,4279199.867093539 lr 756400.339594843,4278000.552061474</div>
<div> </div>
<div>ULLatUTM - LRLatUTM = 1200</div>
<div>ULLonUTM = LRLonUTM = 1200</div>
<div> </div>
<div>But I can never get the map to display this box in the "viewport". I can never seem to get the resolution right. The closest I can come is 1200 X 1000 meters per pixel. What can I do to return a "square" image?
</div>
<div> </div>
<div>Thanks,</div>
<div>Linda Rawson</div>
<div> </div>
<div> </div><span class="sg">
<div> </div></span>