Hi,<br>I have a question about reference map. I've searched the archive and found one from Ian Tidy. It works well, but I'd like to have the box smaller. I tried to change the divisor value to a bigger value, so that the box hopefully will get smaller.<br><br>&nbsp; $mapext_x = ($map-&gt;extent-&gt;maxx - $map-&gt;extent-&gt;minx) / 2;<br>&nbsp; $mapext_y = ($map-&gt;extent-&gt;maxy - $map-&gt;extent-&gt;miny) / 2;<br><br>And it kinds of strange because it is only smaller when I click on the four corner of&nbsp; my reference map. When I click on the middle left/right/up/bottom, it gets bigger as if I don't change the divisor value. What I want to have is actually a box that can adapt, smaller or bigger, to the zoom state.<br><br>Plus, another question. I have set my main map and reference map in the same extent coordinates and units. I've checked the right coordinates using ogrinfo. I also make sure that both width and height are equal. But the box is missing one side at
 the bottom. Well, i can handle it by changing the reference map extent. I'd like to have some explanations on this. Maybe i miss a point or two.<br><br>Thank you.<br><p>&#32;

<hr size=1>We won't tell. Get more on <a href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265
">shows you hate to love</a><br>(and love to hate): <a href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265
">Yahoo! TV's Guilty Pleasures list.</a>