So I've got my map displayed and some Features added to a Layer. All good, etc.

When I try and pan around my map, I can only pan when I left-click the mouse .. hold .. and drag the mouse ... when the mouse cursor is NOT over a feature/shape on the vector layer.

Otherwise, the panning works great.

What's the trick to say .. can pan the map at any time / anywhere the mouse cursor is?

  • 1
    did you add any control to your map for your features?
    – urcm
    Commented Nov 9, 2012 at 9:08

1 Answer 1


This was answered on the main site few years ago.


And in some respects in the OL documentation as well:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.