Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从openlayers中的集群中拖动一个功能_Openlayers - Fatal编程技术网

从openlayers中的集群中拖动一个功能

从openlayers中的集群中拖动一个功能,openlayers,Openlayers,如何在层中拖动簇?从集群中拖动特定功能后,我想从集群中删除该功能 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(); dr

如何在层中拖动簇?从集群中拖动特定功能后,我想从集群中删除该功能

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();

是否可以从集群中拖动单个功能?

我尝试重新集群以获得策略。但个别特征的拖动并没有发生。感谢任何紧急帮助。有什么帮助吗?我尝试了所有可能的方法在这个问题上有任何帮助吗?这个答案将帮助你我尝试了重新分类策略。但个别特征的拖动并没有发生。感谢任何紧急帮助。有什么帮助吗?我尝试了所有可能的方法在这个问题上提供任何帮助?这个答案将帮助你