<p>map object??</p>
<p>i've popped up using alert(this.extent) but depending on where you insert that alert() in mapserv.js its value changes! i've looked through <a href="http://maps.dnr.state.mn.us/tools/dbox/docs/jsdocs/">http://maps.dnr.state.mn.us/tools/dbox/docs/jsdocs/
</a> but can't get the values contained in the map object. is there a dbox guru lurking on this list ;)?</p>
<p>i've also tried making my own zoombox but can't get the zoombox to follow the cursor if the cursor is dragged from right-bottom to left-top in the negative direction. any help with that?</p>
<div>i admit this is not strictly a mapserver question but then again there's no dbox list. <br>jzs<br><span class="gmail_quote"></span></div>
<div><span class="gmail_quote">On 10/18/06, <b class="gmail_sendername">Richard Greenwood</b> &lt;<a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a>&gt; wrote:</span></div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On 10/18/06, John Smith &lt;<a href="mailto:jayzee.smith@gmail.com">jayzee.smith@gmail.com</a>&gt; wrote:<br>
&gt; thks. yeah dbox is cool but i got another question- i'm trying to output<br>&gt; [imgext] and other cgi variables from dbox. how do i grab them? i'd really<br>&gt; want to use the backward and forward browser buttons. i think navigation is
<br>&gt; way cooler that way.<br><br>When you reload a whole page, you can get mapserver (on the server) to<br>provide values for variables in [...] but with dBox you are usually<br>not reloading the whole page from the server, you are usually only
<br>requesting a new map image. So the new extent needs to be calculated<br>on the client (the browser).&nbsp;&nbsp; Thanks to mapserv.js, this is no harder<br>than requesting the new values from the server, and a lot more<br>elegant. The extent, scale, size, etc. are contained in the map
<br>object, and are updated each time you make a new map request.<br><br>But by not relaoding the whole page, the browser's back and forward<br>buttons don't do what you would expect, and you can not book mark the<br>URL. There are a couple thing you might try: you could maintain a
<br>&quot;history&quot; stack and add your own back &amp; forward buttons to your user<br>interface (ArcIMS, MapBuilder, and many others do this), or you could<br>try pushing the current map parameters into the browser's history.
<br>Don't know what problems you'd encounter, but that always seemed more<br>elegant to me. I just haven't gotten around to trying to implemet it.<br><br>Rich<br><br>--<br>Richard Greenwood<br><a href="mailto:richard.greenwood@gmail.com">
richard.greenwood@gmail.com</a><br><a href="http://www.greenwoodmap.com">www.greenwoodmap.com</a></blockquote></div>