Adding preliminary code for map view.