Adding map rendering functionality