Closed arku closed 7 years ago
My bad. I was trying to load the script before the DOM was loaded. I moved the script to the end of body
and it worked fine.
I'll close the issue as it was a mistake from my side.
I was trying to load the DOM before the script was loaded. But I didn't come to the solution. Sometimes Script is loaded before dom although Script was written at the end. For that, you can load Script with defer.
My bad. I was trying to load the script before the DOM was loaded. I moved the script to the end of
body
and it worked fine.I have been 2 days trying delete cache for several methods! but the solution was this! Thanks mate ;-)
I followed the steps provided in the documentation but I am unable to get it working. I am getting the following error message
in the
https://maps.google.com/maps/api/js
script. From the error message, what I understand is that the script is trying to call the methodfirstChild
method on aNode
object but it'snull
.I am not sure how to solve this. Any help would be appreciated.