Formatting

ahocevar
2013-07-09 06:50:07 -07:00
parent 9202571558
commit 2b2a517dd6
+1 -1
@@ -26,7 +26,7 @@ Initially, we can style data with a subset of CartoCSS or SLD, without exposing
## Edit Vector Data
Features can already be accessed with ol.Map#getFeatures. #850 adds event handling for added and removed features, so the renderer can keep the view up to date. The CHANGE event could also be used to keep track of feature modifications, but it imposes significant overhead to register a change listener on every single feature. So preferably, the feature modification workflow will be provided by controls that move features to a sketch layer for editing and register CHANGE listeners for these features only. After editing, the sketch features can be moved back to their original layer. This workflow can also be used for attribute modifications.
Features can already be accessed with `ol.Map#getFeatures`. #850 adds event handling for added and removed features, so the renderer can keep the view up to date. The CHANGE event could also be used to keep track of feature modifications, but it imposes significant overhead to register a change listener on every single feature. So preferably, the feature modification workflow will be provided by controls that move features to a sketch layer for editing and register CHANGE listeners for these features only. After editing, the sketch features can be moved back to their original layer. This workflow can also be used for attribute modifications.
## Persist Edits