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? – Aragon Nov 9 '12 at 9:08

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, privacy policy and cookie policy

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