【问题标题】:OpenLayers DrawFeature undo() and redo() functionsOpenLayers DrawFeature undo() 和 redo() 函数
【发布时间】:2012-07-21 10:44:12
【问题描述】:

我需要在我的应用程序中实现undoredo 函数。我发现最简单的方法(?)是使用 openlayers undoredo 内置函数。 -> http://dev.openlayers.org/docs/files/OpenLayers/Control/DrawFeature-js.html

但我在实施它们时遇到了麻烦。谁能给我提供他们的实现示例(OpenLayers.Control.DrawFeature.undo)或提供建议,我该如何以另一种方式实现undoredo 函数?

【问题讨论】:

    标签: openlayers undo redo


    【解决方案1】:

    你看过它对应的例子吗?

    参见Undo/Redo Drawing 示例。

    【讨论】: