Opened 15 years ago
Closed 15 years ago
#355 closed defect (fixed)
Redline listen to the right click
Reported by: | hubu | Owned by: | hubu |
---|---|---|---|
Priority: | P2 | Milestone: | Future |
Component: | Widgets | Version: | 1.1.1 |
Severity: | Major | Keywords: | |
Cc: | madair | Browser: | All |
External ID: | 1267031 | Operating System: | All |
state: | New |
Description
- Open a Flexible weblayout in the browser from MapGuide.
- Activate the "Redline" widget
- Select "Point" as the Draw option
- Right click on the map.
result: The contextual menu is activated and the user still can digitize on the map.
Expected: The Redline widget should listen to the right-click.
Comments: The "Select Polygon" and "Measure" have the same problem
Attachments (1)
Change History (4)
by , 15 years ago
Attachment: | Fix Ticket #355.patch added |
---|
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Cc: | added |
---|
I have asked Buddy to work with Mike Adair to determine a suitable short-term solution to this problem, until such time as OpenLayers enhances their right-click handling.
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The MapWidget already has a method call 'suppressContextMenu(true|false)'. This needs to be called when any widgets that draw on the map is activated and re-enabled when the widget is de-activated.
Fixed at rev 2037
I would like someone at DM Solutions to review this code, since I'm not sure what the implications would be if these changes are made right in the OpenLayers code (as in the current patch).