If you want to display a subfield Google map in MB Views, please create a custom function to add the API key to the function render_map() like the code above then add the function to the view editor to render the map. In the view editor, it is not supported.