Revision 10925 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrAnnotation.java
FLyrAnnotation.java | ||
---|---|---|
113 | 113 |
try { |
114 | 114 |
g.setColor(Color.black); |
115 | 115 |
strategy.draw(image, g, viewPort, cancel); |
116 |
if (getISpatialIndex()==null) { |
|
116 |
if (getISpatialIndex()==null && !isEditing()) {
|
|
117 | 117 |
createSpatialIndex(); |
118 | 118 |
} |
119 | 119 |
} catch (DriverException e) { |
... | ... | |
567 | 567 |
|
568 | 568 |
public void setEditing(boolean b) throws EditionException { |
569 | 569 |
super.setEditing(b); |
570 |
setISpatialIndex(null);
|
|
570 |
deleteSpatialIndex();
|
|
571 | 571 |
} |
572 | 572 |
} |
Also available in: Unified diff