[OpenLayers-Trac] [OpenLayers] #1244: improve event handling for OverviewMap control
OpenLayers
trac at openlayers.org
Thu Jan 3 23:59:45 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: |
----------------------------------+-----------------------------------------
Changes (by tschaub):
* state: Review =>
* summary: give the OverviewMap control a drag handler => improve event
handling for OverviewMap control
Old description:
> The overview map control has a good bit of code that is now encapsulated
> in the drag handler. Easier to maintain there.
New description:
The overview map control has a good bit of code that is now encapsulated
in the drag handler and click handler. Easier to maintain there.
Comment:
Updated patch.
{{{
$ svn diff lib | diffstat
OverviewMap.js | 217
++++++++++++++++-----------------------------------------
1 file changed, 64 insertions(+), 153 deletions(-)
}}}
I'm removing the review state, as there are a couple issues, but I like
this direction. The overview map now has a click handler and a drag
handler instead of all that custom event code.
--
Ticket URL: <http://trac.openlayers.org/ticket/1244#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list