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.

I used the following code:

this.installDrag({layer:this.poiLayer,opt:'load',id:'poiLatlong'});
this.installDrag({layer:this.addNewPoiLayer,opt:'add',id:'poiLatlong'});

but drag is installing for only for the last layer I call. How can I apply installDrag to more than one layer?

share|improve this question
    
i had given an answer here...ModifyFeature can solve your problem... i hope it helps you... –  Aragon May 14 '12 at 11:45
add comment

1 Answer

Aragon answer was not working for me. I needed a solution so I spent a few days and found one that works: creating 2 dragable layers at the same time in OpenLayers?

I hope that help!

share|improve this answer
add comment

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.