Hi,<br><br>You must save the extents and then use map.setExtent to select one according to the user actions. There&#39;s no builtin mechanism in MapServer to store the history of extents internally.<br><br>Best regards,<br>
<br>Tamas<br><br><br><br><div class="gmail_quote">2011/5/3 Mir Hashmi <span dir="ltr">&lt;<a href="mailto:tohashmi@gmail.com">tohashmi@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">Hello <div><br></div><div>I am working on a desktop application using .net mapscript_csharp.dll.</div><div>Anyone please guide me towards achieving &quot;Zoom To Previous&quot; </div><div>&amp; &quot;Zoom To Next&quot; extents.  </div>

<div><br></div><div>Is it that I should save previous actions &amp; extents? or is there some other</div><div>way to do it?</div><div><br></div><div>Please suggest some examples or code. </div><div><br></div><div>Kind regards.</div>

<div>Mir Hashmi</div><div><br></div><div><br></div></div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>