Update viewer to accept a MapConfig