localwiki/sapling — Issue #89: Consider snapping behavior
Author: philipn
Created: 2011-11-24 09:58:43+00:00
State: open

Eventually we should look at implementing an openlayers-y "snapping" while editing.

Talking to an OL dev, it looks like their current snapping behavior only snaps to already-added features. What we want is to snap to a feature as it's being drawn:

{{{

_a
]Q6
4Q6/
4QQ/
)WQ/
a/ )WQ/
Qf )WQ6
Qf )4Q6
Qf 4Q6
Qf 4Q6/
Qf 4QQ/
Qf )WQ
Qf jQP
Qf _QQP
QQ _QQ?
]Q _QQ'
]Q _QQ'
]Q jQQ'
]Q jQP'
]Q jQP
]Q_yQP
]QQQP
]QQ'
]Q'

}}}

should snap