Offline. Showing the saved route and any map tiles already viewed. Search and routing need a connection.
Keep the screen on: Settings → Display & Brightness → Auto-Lock → Never.
Safari on iOS 12 can't keep the screen awake by itself, and location stops when the screen locks.