Support » Plugin: Simple Google Maps Shortcode » InvalidValueError: initMap is not a function

  • Hello there. I’m having trouble getting the map to display.

    Uncaught Eb message: "initMap is not a function", name: "InvalidValueError", stack: "Error at new Eb (http://maps.google.com/maps/api/js?sensor=false&callback=initMap&key=#&ver=4.7:41:365)"

    The key in the error message is my actual key, I just used # as a placeholder. Any idea why this is happening?

    • This topic was modified 2 years, 10 months ago by  DERNERSERFT.
Viewing 2 replies - 1 through 2 (of 2 total)
  • [pw_map address="New York City" width="100%" height="200px" key="#"]

    I tried removing “&callback=initMap” from simple-google-map-short-code.php and that gets rid of the error message. However, nothing loads. When you inspect element, it only shows the script, nothing for the actual map.

    <script type="text/javascript" src="//maps.google.com/maps/api/js?sensor=false&key=#&ver=4.7"></script>

    Moderator mordauk

    (@mordauk)

    Does the same problem occur if all other plugins on your site are deactivated?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘InvalidValueError: initMap is not a function’ is closed to new replies.