The default navigation behavior works fine to click and drag to pan the map around.

But if you have a vector layer displayed, and one of popups, hover, or tooltips enabled... if you happen to click inside one of the vector shapes, click and drag won't work.

attaching a patch to fix the problem. When we create a new OpenLayers.Control.SelectFeature, we have to manually set .handlers['feature'].stopDown and .handlers['feature'].stopUp to 'FALSE'.

Files: 
CommentFileSizeAuthor
#1 2102309-openlayers-drag-to-pan.patch1.91 KBohthehugemanatee
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 2102309-openlayers-drag-to-pan.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Comments

StatusFileSize
new1.91 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 2102309-openlayers-drag-to-pan.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

whoops, forgot to attach the patch. Patched based on 2.x head

Status:Needs review» Needs work

The last submitted patch, 2102309-openlayers-drag-to-pan.patch, failed testing.

Status:Needs work» Fixed

Thanks, good catch !

Committed.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Issue summary:View changes

it works, thanks a lot!!!