I think is a javscript bug
ApiNotActivatedMapError Error
The Google Maps JavaScript API is not activated on your API project. You may need to enable the Google Maps JavaScript API under APIs in the Google API Console.
See Obtaining an API key.
source: https://developers.google.com/maps/documentation/javascript/error-messages
I now enable Google Maps JavaScript API. Still don’t work.