Title: Loading the Google Maps JavaScript API without a callback is not supported
Last modified: February 22, 2023

---

# Loading the Google Maps JavaScript API without a callback is not supported

 *  Resolved [norrlandsit](https://wordpress.org/support/users/norrlandsit/)
 * (@norrlandsit)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loading-the-google-maps-javascript-api-without-a-callback-is-not-supported-3/)
 * I’m using geocoding. And while it works, there’s also an error.
 * The developer console shows:
 * Loading the Google Maps JavaScript API without a callback is not supported: [https://developers.google.com/maps/documentation/javascript/url-params#required_parameters](https://developers.google.com/maps/documentation/javascript/url-params#required_parameters)

Viewing 1 replies (of 1 total)

 *  Plugin Author [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * (@e4jvikwp)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loading-the-google-maps-javascript-api-without-a-callback-is-not-supported-3/#post-16494225)
 * Hi,
 * We are aware of this recent change introduced by Google Maps. This “callback”
   in the URL parameters is now mandatory, but the point is that on the 99% of the
   WordPress websites, this would actually fail to be called, and other, different,
   JavaScript errors would be raised. What you see in the console is actually a 
   log raised by Google, but invoking a function during a callback when this function
   is not ready yet (maybe due to lazy-loading techniques of JS assets) would mean
   generating a real JavaScript error that may harm the rest of the website.
 * Our programmers will analyse the situation better, because Vik Booking does not
   need Google Maps to invoke a callback to render the actual map. It was definitely
   better if this param was left optional by Google, and this may change again in
   a near update for Google Maps.

Viewing 1 replies (of 1 total)

The topic ‘Loading the Google Maps JavaScript API without a callback is not supported’
is closed to new replies.

 * ![](https://ps.w.org/vikbooking/assets/icon-256x256.png?rev=1855707)
 * [VikBooking Hotel Booking Engine & PMS](https://wordpress.org/plugins/vikbooking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/vikbooking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/vikbooking/)
 * [Active Topics](https://wordpress.org/support/plugin/vikbooking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vikbooking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vikbooking/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/loading-the-google-maps-javascript-api-without-a-callback-is-not-supported-3/#post-16494225)
 * Status: resolved