Sometimes, we want to fix “google is not defined” when using Google Maps V3 in Firefox remotely with JavaScript.
In this article, we’ll look at how to fix “google is not defined” when using Google Maps V3 in Firefox remotely with JavaScript.
How to fix “google is not defined” when using Google Maps V3 in Firefox remotely with JavaScript?
To fix “google is not defined” when using Google Maps V3 in Firefox remotely with JavaScript, we add the scripts for the Google Maps API.
For instance, we write
<script
src="https://maps.googleapis.com/maps/api/js?sensor=false"
type="text/javascript"
></script>
to add the Google Maps API script into our code with a script tag.
Conclusion
To fix “google is not defined” when using Google Maps V3 in Firefox remotely with JavaScript, we add the scripts for the Google Maps API.