Make the editor able to create a survey object.

Fixing problem with method onMoveWaypoint parameters