This example demonstrates feature editing with snapping to a regular
grid. The map is configured with a
layer and a
OpenLayers.Control.Snapping agent. For the
best performance, the point grid layer should not made visible.
Snapping still works with layers that are not visible.
See the snap-grid.js source to see how this is done.