When, in the opinion of the court, it is proper that the jurors should view the place in which the offense was charged to have been committed, or in which any other material fact occurred, it may order the jurors to be conducted in a body, in the custody of proper officers, to such place, which must be shown to them by a person appointed by the court for that purpose, and the officers must be sworn to suffer no person to speak to nor communicate with the jurors, nor to do so themselves, on any subject connected with the trial, and to return them into court without unnecessary delay, or at a specified time. The trial judge must be present and the state's attorney and counsel for the defendant may be present at the view by the jurors.
N.D.C.C. § 29-21-26