created an implemented a view to generate and render the map