refactor waypoints

move it into map_setting