Opened 14 years ago
Closed 14 years ago
#209 closed defect (fixed)
QueryOnClick - multipleKey 'shiftKey' and MapPanel 'navigation' incompatible
Reported by: | adube | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | widgets | Version: | |
Keywords: | Cc: |
Description
issue
Currently, in the MapPanel widget, the map object is created with a Navigation control that uses the shift key to draw boxes to zoom. When trying to do a multiple selection with the QueryOnClick using the shift key, it zooms instead.
That control is not the one in the toolbar. It's an other one that was added in order to be able to pan/zoom/navigate while using other tools. For instance, with the Map widget, you can't navigate the map at all while using other tools.
solution
This is a backward incompatibility solution : disable the box zooming in the default navigation control of the map inside the MapPanel widget.
Are there any objections ?
Change History (3)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Priority: | major → minor |
---|
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The default Navigation control which is always active no longer has its 'box' handler activated by default to do box zooms with the shift key. This solves many handler incompatibility issues.
This is a small backward incompatibility which will solves more things than causing new issues. Plus, if we want the old behavior back, there's a new option for that in the MapPanel widget : zoomBoxNavigation.
Fixed.
A 'warning' was added in documentation of the QueryOnClick widget about this. See r1020. You can use the 'ctrlKey' instead to bypass the issue.