I’ve a map with a few layers from the class OpenLayers.Layer.Image. I was wondering if it is possible to enable dragging on each of this images/layers individually. Like the dragFeature, where you can drag each feature individually.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think it’s the wrong approach to accomplish this with an image layer. The layers are supposed NOT to be moved with respect to the other images/layers. I would suggest you draw the movable images as features instead. A feature is designed to be able to be dragged.
What kind of images is it, and why do you want to drag them?