如何在图层中拖动群集?从群集拖动特定功能后,我想从群集中删除该功能。
var strategy = new OpenLayers.Strategy.Cluster({distance:10,threshold:2});
poiLayer = new OpenLayers.Layer.Vector("poiLayer",{strategies:[strategy],styleMap:stylemap});
map.addLayer(poiLayer);
strategy.activate();
drag = new OpenLayers.Control.DragFeature(poiLayer);
map.addControl(drag);
drag.activate();
是否可以从群集中拖动单个要素?