Snap to grid when geometry adding, dragging or modifying. https://github.com/liubgithub/maptalks.snapto