Title: Errors adding map location to event
Last modified: March 16, 2022

---

# Errors adding map location to event

 *  [mandy@nepeta](https://wordpress.org/support/users/mandynepeta/)
 * (@mandynepeta)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/errors-adding-map-location-to-event/)
 * When I try to specify a map location as a latitude, longiture on the Add Event
   screen, I get an error:
 * > Autocomplete’s returned place contains no geometry
 * Everything works fine if I enter a place name and then move the marker. I am 
   using the format
 * > 52.091432 , -1.948959
 * I do not know whether it is related, but when I inspect browser console, the 
   page has an error:
 * > Uncaught ReferenceError: google is not defined
   >  <anonymous> [https://test.eveshamwalkfest.org.uk/wp-admin/post.php?post=5436&action=edit:1036](https://test.eveshamwalkfest.org.uk/wp-admin/post.php?post=5436&action=edit:1036)
   > post.php:1036:7
 * This points to the line
    `google.maps.event.addDomListener(window, "load", initMap);`
 * I have checked it out with Twenty Twenty-Two theme and with all except essential
   plugins disabled so I thin the Events plugin has the problem.
 * I have Google Maps set to use the API and have set a valid API key.
    Can you 
   please advise?
 * Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Md. Abdullah Al Mahim](https://wordpress.org/support/users/aamahin/)
 * (@aamahin)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/errors-adding-map-location-to-event/#post-15477859)
 * Can you please share the Event Details URL of your website?
 *  Thread Starter [mandy@nepeta](https://wordpress.org/support/users/mandynepeta/)
 * (@mandynepeta)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/errors-adding-map-location-to-event/#post-15502495)
 * Hi there.
    Sorry for the delay in my response. I have a test event set up here:
   [https://nepetashowcase.co.uk/wsh/events/something-in-evesham/](https://nepetashowcase.co.uk/wsh/events/something-in-evesham/)
 * It looks fine from the front but shows all the issues listed above. I have updated
   to the new version of the plugin and it has made no difference.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Errors adding map location to event’ is closed to new replies.

 * ![](https://ps.w.org/mage-eventpress/assets/icon-128x128.png?rev=2252722)
 * [Event Booking Manager for WooCommerce](https://wordpress.org/plugins/mage-eventpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mage-eventpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mage-eventpress/)
 * [Active Topics](https://wordpress.org/support/plugin/mage-eventpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mage-eventpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mage-eventpress/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mandy@nepeta](https://wordpress.org/support/users/mandynepeta/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/errors-adding-map-location-to-event/#post-15502495)
 * Status: not resolved