This example demonstrates feature editing with snapping to a regular
grid. The map is configured with a OpenLayers.Layer.PointGrid
layer and a OpenLayers.Control.Snapping
agent.
See the snap-grid.js source to see how this is done.