created the view in the main openlayers directive