Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
1  
did you add any control to your map for your features? –  Aragon Nov 9 '12 at 9:08

1 Answer 1

This was answered on the main site few years ago.

http://stackoverflow.com/questions/4122160/mouse-drag-on-kml-features-with-openlayers

And in some respects in the OL documentation as well:

http://trac.osgeo.org/openlayers/wiki/SelectFeatureControlMapDragIssues

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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