Is it possible to drag and drop the OpenLayers.Layer.Image file separately

I have a map with several layers from the OpenLayers.Layer.Image class. I was wondering if you can enable drag and drop on each of these images / layers individually. Like dragFeature , where you can drag and drop each function individually.

Thank!

+3
source share
2 answers

I think this is the wrong approach to achieve this with an image layer. It is assumed that the layers should not move relative to other images / layers. I would suggest you draw moving images as functions. The function is designed for drag and drop.

What are the images, and why do you want to drag them?

+2
0

All Articles