[Mapserver-users] Zoom previous

Lawrence, Kevin klawrenc at NRCan.gc.ca
Wed Nov 26 10:04:20 EST 2003


if you are using sessions store the previous coordinates in a session
variable and when previous is requested simply re-use those extents.

> ----------
> From: 	Chip Hankley[SMTP:Chip.Hankley at rmtinc.com]
> Sent: 	Wednesday, November 26, 2003 9:39 AM
> To: 	stephane.riff at cerene.fr; mapserver-users at lists.gis.umn.edu
> Subject: 	Re: [Mapserver-users] Zoom previous
> 
> >Does anyone already did a zoom previous function...
> 
> A low-tech way to do this that works a LOT of times is to simply use
> the 'back' function inherent in the web-browser. You can simply apply
> the javascript 'history.back()' to a button, and call it "zoom to
> previous extent" or something. This is the equivalent of hitting the
> 'back' button.
> 
> Chip Hankley
> 
> Outgoing messages, along with any attachments, are scanned for viruses at
> RMT prior to sending.
> --------------------------------------------------------------------------
> ----
> NOTICE--This email may contain confidential and privileged information 
> for the sole use of the intended recipient.  Any review or distribution
> by others is strictly prohibited.  If you are not the intended recipient,
> please contact the sender immediately and delete all copies.
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 



More information about the mapserver-users mailing list