[OpenLayers-Users] OpenLayers. Handler.Drag

Richard Thurbin richard.thurbin at cloudamber.com
Tue Nov 13 03:33:59 EST 2007


Hi All. I want to do some code that saves where the user has zoomed and
panned to in to a session variable. This will mean when they come back to a
map it is where they left off. 

I have got it currently running with a map.events.register("click".... But
this event is not raised if the user pans by dragging. Could someone please
give me an example of how to use the OpenLayers. Handler.Drag class? I am
very new to jscript and cant yet turn some of the more complicated aspects
of the library in to code without seeing an example first!

http://dev.openlayers.org/docs/files/OpenLayers/Handler/Drag-js.html

Any help appreciated. 

--
Richard Thurbin   www.cloudamber.com   07917 704 145   

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 12/11/2007
21:19
 





More information about the Users mailing list