2
我使用的是OpenLayers,我已经找到拖动标记的实现,但没有关于如何返回拖动位置的文档。我已经试过这样:我怎样才能拖动一个标记,并得到lon/lat
drag = new OpenLayers.Control.DragFeature(vectors, {
autoActivate: true,
onComplete: function() {
alert('hello')
}
});
不退还其标记被拖所以我不能拖后得到其经度或纬度。