Added function to render the map in a theme.