Switch off and restore static map flags for waypoint test