From the documentation, we are trying to execute the elementary example.
There is an example at JSFiddle, the IDE, for this with all HTML, CSS and JS code.
We have tried to emulate that in our code,
Create a custom control with same HTML and CSS.
in the control editor, we have the JS code in the control initialization
Using this custom control in the app.
We are getting an error
uncaught (in promise) ReferenceError: google is not defined
at BSCOMPONENTS.Googlemaps_js.initComponent (eval at appendHandlerBarTemplateToDom
Is the initialization code incorrect?
Is this the right way to go about using google maps JS api?