Title: initMap fix
Last modified: May 28, 2023

---

# initMap fix

 *  [hamiedwp](https://wordpress.org/support/users/hamiedwp/)
 * (@hamiedwp)
 * [3 years ago](https://wordpress.org/support/topic/initmap-fix/)
 * Great plugin,
 * It has a little bug, I fixed it, you should fix in your future release.
 * initMap function call is not correct, so several page opening will through error
   of initMap is not a function.
 * You should remove it from js url callback, and call it from window.load event
   instead.
 * Thanks

The topic ‘initMap fix’ is closed to new replies.

 * ![](https://ps.w.org/advanced-google-maps-lite/assets/icon-256x256.jpg?rev=2727702)
 * [IS-Google Maps Lite](https://wordpress.org/plugins/advanced-google-maps-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-google-maps-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-google-maps-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-google-maps-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-google-maps-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-google-maps-lite/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [hamiedwp](https://wordpress.org/support/users/hamiedwp/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/initmap-fix/)
 * Status: not resolved