这样是可以的:
var editControl = L.supermap.plotting.editControl();
editControl.deleteSelectedFeatures()
这样就不能删除了(点击地图会恢复删除的军标):
var editControl = L.supermap.plotting.editControl();
editControl.addTo(map);
var movingTarget = L.supermap.plotting.movingTargetLayer("标绘图层", EsMapURL.SuperMapService.plotUrl);
movingTarget.addTo(map);
editControl.deleteSelectedFeatures()
请教下,这样为什么删除不了军标,谢谢