As far as the mouse events go, you might consider using a timer to
detect if user has paused for the amount of time over the map feature.
onmouseover could start the timer.  If user does not move (mousemove)
after a certain amount of time, then show the pop-up window if over a
map feature.

I had to make timer functionality to ignore mouse wheel events that were
too fast.  I've attached a simpler example of using a timer.  This is
not the same as using the javascript setTimeout function.

Cheers,

Mike Quentel


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Steve Lime
Sent: Wednesday, 19 December 2007 16:12
To: Eric Lemoine
Cc: [email protected]
Subject: Re: [OpenLayers-Users] OpenLayers equivalent of ka-map pause
event?

I'd just want a callback run with the x,y of the pause. In my case I do
pure MapServer query requests with JSON or HTML responses. I ported the
ka-map approach to my own non-tiled framework (for example,
http://www.dnr.state.mn.us/waters/csg/index.html) and want to use a
similar approach with OpenLayers clients I'm working on.

Steve

>>> On 12/19/2007 at 2:47 PM, in message
<[EMAIL PROTECTED]>, "Eric
Lemoine"
<[EMAIL PROTECTED]> wrote:
> On Dec 19, 2007 9:37 PM, Steve Lime <[EMAIL PROTECTED]>
wrote:
>> Folks familiar with ka-map might also be familiar with a mouse pause
>> event
> that has proven
>> to be really useful (for me anyway). I fires if the mouse has been
> stationary a certain
>> amount of time. I grep'd the source but didn't find anything obvious.

>> Does
> anything like it
>> exist? Thanks.
>
> Steve
>
> What kind of request would you like to see triggered? WMS
GetFeatureInfo?
>
> FYI, we implemented this in MapFish, using our own REST-based protocol

> between the client and the server.
>
> --
> Eric

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
Title: wheeltest4.htm
Scroll mouse wheel to see delta here.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to