add function of editing point, line ,polygy