public class EditFeatureAction
extends java.lang.Object
支持操作 编辑地物 交互的封装类,支持地物端点的拖拉,地物面的整体平移,支持在地物边缘线上增加一个节点
构造器和说明 |
---|
EditFeatureAction(MapView mapView) |
限定符和类型 | 方法和说明 |
---|---|
void |
doEditFeature(java.util.List<Point2D> pointList)
使地物处于可编辑状态,构造地物的高亮点、线、面对象的Overlay对象,并给这些对象分别设置一个处理触碰事件的监听器
|
void |
stopEditFeature()
停止或退出编辑状态,移除构成地物的高亮点线面Overlay对象,刷新地图
|
public EditFeatureAction(MapView mapView)
public void doEditFeature(java.util.List<Point2D> pointList)
使地物处于可编辑状态,构造地物的高亮点、线、面对象的Overlay对象,并给这些对象分别设置一个处理触碰事件的监听器
pointList
- 构成地物的点集合public void stopEditFeature()
停止或退出编辑状态,移除构成地物的高亮点线面Overlay对象,刷新地图