Fix errors in doAddMapMark