[OpenLayers-Users] Managing mouse events
Christopher Schmidt
crschmidt at metacarta.com
Mon Jun 11 13:23:17 EDT 2007
On Mon, Jun 11, 2007 at 11:40:46AM -0400, Jeff Yutzler wrote:
> Expected behavior:
> Overview map opens
>
> Actual behavior:
> Overview map opens AND map zooms in to a location.
>
> I would post this as a defect, but it seems to be a more philosophical
> issue.
No, it's just a bug. Controls shouldn't drop through mouse events to the
map -- this one is an oversight. (Controls should let mouse *up* events
through.)
> What is the correct way to manage these mouse clicks so that the
> developer has complete control over when to let them bleed through and
> when to suppress them?
They don't. Downs don't go through, ups do.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list