added a map view and template