Re: [OpenLayers-Users] Mouse stop

2010-02-28 Thread Eric Lemoine
On Thursday, February 25, 2010, Vidal, Antoni antoni.vi...@icc.cat wrote: Hello, I need to detect when mouse stops, witch event I have to register? Have you see the hover-handler.html example? Cheers, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le

[OpenLayers-Users] Mouse stop

2010-02-25 Thread Vidal, Antoni
Hello, I need to detect when mouse stops, witch event I have to register? Thank's in advance Antoni Vidal Unitat d'Aplicacions SIG-WEB Ext. 3228 ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Mouse stop

2010-02-25 Thread Shawn Oatley
mousemove would probably what you will want to tie into and then set a timeout on it which would get reset each time mousemove gets fired. When the timeout gets fired, it should call your mousestop even. Play with the timeout value until you are happy with the amount of time it waits before

Re: [OpenLayers-Users] Mouse stop

2010-02-25 Thread Sveen Atle Frenvik (Geomatikk IKT)
REMOVED_BY_THE_EXCHANGE_EMAIL_SCANNING_SERVICE_008BC5E7_55E9F026D00 GUID::= 695731b2-611a-4e58-847c-ac52466d2628 PATH::=

Re: [OpenLayers-Users] Mouse stop

2010-02-25 Thread Sveen Atle Frenvik (Geomatikk IKT)
Oops, as I tried to say: I came across this problem a while ago, and came up with something like this (as was outlined by Shawn) MouseOver = OpenLayers.Class({ ᅵᅵᅵ map: null, ᅵᅵᅵ timer: null,ᅵᅵᅵ ᅵᅵᅵ prevXY: null, ᅵᅵᅵ ᅵᅵᅵ /** ᅵᅵᅵᅵ * ᅵᅵᅵᅵ *