[OpenLayers-Trac] [OpenLayers] #1244: improve event handling for OverviewMap control
OpenLayers
trac at openlayers.org
Fri Jan 4 13:25:07 EST 2008
#1244: improve event handling for OverviewMap control
----------------------------------+-----------------------------------------
Reporter: tschaub | Owner: tschaub
Type: feature | Status: assigned
Priority: minor | Milestone: 2.6 Release
Component: Control.OverviewMap | Version: 2.5
Resolution: | Keywords:
State: Review |
----------------------------------+-----------------------------------------
Comment (by tschaub):
One other thing I noticed here. The drag handler stops propagation on
mousedown (from getting to listeners on the same element). This makes
sense when you have two controls with conflicting behavior on mousedown -
but it is not always necessary. On the overview map, for example, it
would be nice if the click handler got those mousedown events (so that it
could do its pixel tolerance bit). I think it makes sense to give the
drag handler a stopDown property that defaults to true. I'll make a
ticket, but just wanted to document this while the justification was
fresh.
--
Ticket URL: <http://trac.openlayers.org/ticket/1244#comment:4>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list